• 0
Sign in to follow this  
Followers 0

DMS 2 Add sharebar to listed post


Question

Posted · Report post

Hi guys,

 

I see that listed post (i.e. blog page) has karma icon under the author avatar.

Just wanna ask if there is a way to add also other social icons?

Perhaps not under the avatar but under the post text/excerpt.

 

I've tryed to edit section.php adding a line such as "add_shortcode..." calling for "get_shares" function but this got me a syntax error.

I'd really love your built-in sharebar look and I prefer tu use this instead of official icons called by shortcodes.

 

Hope you can help

Thanks

Best regards

Carlo

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

Hi Carlo,

 

I recommend whatever changes you have made to the section.php file, we do not recommend nor support changes to the core files, this can actually void all support.

 

In regards to adding social icons beneath your posts excerpts, you will need to use a hook and then add the icons, your self. You can find more information about hooks here.

 

http://docs.pagelines.com/advanced/hooks

 

I will also make a not of your idea and add it to our feature requests.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Danny,

 

thanks for your suggestion but using hooks is not was I was looking for since I think shortcodes will be more useful composing a custom layout.

Hope this feature request will soon be satisfied ;)

 

Thanks again

Carlo

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  
Followers 0