We'll create fresh WordPress site with Octavius Rocks installed. You have 20 minutes to test the plugin after that site we'll be deleted.
The octavius service is made for live tracking and analysing how well your teasers and links are klicked. It’s optimized to work with our Grid plugin.
To get your octavius attributes you can use this two options:
do_action( ‘render_octavius_teaser_attributes’, ‘VIEWMODE’ );
apply_filters( ‘get_octavius_teaser_attributes’, ‘VIEWMODE’ );
This will get the pagetype, content_id and content_type will be generated automatically. If you like, you can overwrite the viewmode.
With this options, you can use the attributes more flexible and set the values on your own. Please pass an array with one or more of the following properties:
viewmode, content_type, pagetype, content_id, region
add_action( ‘render_octavius_attributes’, array( ‘region’ => ‘head’, … ) );
add_filter( ‘get_octavius_attributes’, array( ‘region’ => ‘head’, … ) );