Jump to content
Sign in to follow this  
ledan09

move social icons to bottom of posts

Recommended Posts

ledan09

Hello, I am using PlatformPro and what I want is to replicate the social icons at the end of every post of this site: http://danielhaddad.org/ I attempted to copy the code from template.branding.php and paste it to template.postloop.php below the tags section but no luck. Please let me know what I missed or what I did wrong. Hope to hear from you. Thanks!

Share this post


Link to post
Share on other sites
cmunns

You should already have a section that will add social icons to the end of posts. Make sure that it's active in the single post content area template of the Template Setup (it's called Content Sharing TOol)

Share this post


Link to post
Share on other sites
ledan09

Hello cmunns, Thanks for the reply, but what I want is for it to display below after every loop post in the site Homepage.

Share this post


Link to post
Share on other sites
cmunns

You may have to use hooks for this or did you even want to use a tweet this/ share this button?

Share this post


Link to post
Share on other sites
ledan09

Can you show me the proper way of using the hooks? All I did was copied the code below to template.postloop.php: <div class="branding_wrap"> <div class="icons" style="bottom: <?php echo intval(pagelines_option('icon_pos_bottom'));?>px; right: <?php echo pagelines_option('icon_pos_right');?>px;"> <?php if(VPRO):?> <?php pagelines_register_hook( 'pagelines_branding_icons_start', 'theloop' );?> <?php if(pagelines_option('twitterlink')):?> " class="twitterlink">twitterlink <?php endif;?> <?php if(pagelines_option('facebooklink')):?> " class="facebooklink">facebooklink <?php endif;?> <?php if(pagelines_option('linkedinlink')):?> " class="linkedinlink"> <?php endif;?> <?php if(pagelines_option('youtubelink')):?> " class="youtubelink"> <?php endif;?> <?php pagelines_register_hook( 'pagelines_branding_icons_end', 'theloop' );?> <?php endif;?> </div> </div>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×