I need to enable comments and sharing buttons (via addthis) on my portfolio items.
I’m using the “ajax portfolio” mode.
You mean you want a social media plugin on your portfolio? You can use plugins such as http://wordpress.org/extend/plugins/wp-fb-like/.
Thanks for your response but that is not exactly my problem.
I want to show comments and sharing buttons from this plugin: http://wordpress.org/extend/plugins/addthis/ for every single portfolio custom post type in the “ajax porftolio” (option selected in theme settings) view.
The view is this: http://www.kriesi.at/themes/coherence/template-files/portfolio-4-columns/, where every single porfolio item is viewed by clicking on its featured image oin the grid.
You may need to add the php call for that plugin into the ajax portfolio function. To do this, open up the functions.php file located in your theme files. Search for:
echo "<div class='inner_slide'>";
This is the function for creating the ajax portfolio slide. You’ll want to place the plugins code for inserting the social icons right after:
the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>');
So right after line 55 but still inside the entry content div.
The topic ‘Comments and sharing buttons on portfolio items’ is closed to new replies.