Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #181513

    I have several grid pages being used, and am using the Shareaholic plugin… which appears at the bottom of all other pages and posts, except for the portfolio grid pages. On those it appears at the top. like…

    http://donjohnston.com/reading/

    Is there some way I can adjust where the template drops the portfolio, so the social links will be at the bottom like all other pages?

    Thanks guys!

    #181945

    Hey mgma!

    Sure, open up /wp-content/themes/replete/template-portfolio.php and replace

    
    				<?php
    				//display the default content of the portfolio
    				if(isset($post->ID))
    				{
    					the_post();
    					$slider = new avia_slideshow(get_the_ID());
    					if($slider->slidecount) echo $slider->display();
    					
    					echo "<div class='post-entry post-entry-portfolio-first not-sortable'>";
    					the_content();
    					echo "</div>";
    
    				}
    				
    				
    				/* Run the loop to output the posts.
    				* If you want to overload this in a child theme then include a file
    				* called loop-portfolio.php and that will be used instead.
    				*/
    				
    				get_template_part( 'includes/loop', 'portfolio' );
    				
    				?>
    

    with

    
    				<?php
    				/* Run the loop to output the posts.
    				* If you want to overload this in a child theme then include a file
    				* called loop-portfolio.php and that will be used instead.
    				*/
    				
    				get_template_part( 'includes/loop', 'portfolio' );
    				
    				//display the default content of the portfolio
    				if(isset($post->ID))
    				{
    					the_post();
    					$slider = new avia_slideshow(get_the_ID());
    					if($slider->slidecount) echo $slider->display();
    					
    					echo "<div class='post-entry post-entry-portfolio-first not-sortable'>";
    					the_content();
    					echo "</div>";
    
    				}
    				
    				?>
    

    Best regards,
    Peter

    #182333

    Thanks Peter… but that just placed one of the posrtfolioposts at the bottom of the page, and the social buttons are now gone. Other ideas?

    #183382

    Hi!

    If that plugin has a php snippet to output the share buttons you can just put them onto the page Peter had you edit directly. The docs for the plugin will tell you if the plugin has that available or not.

    Cheers!
    Devin

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.