Jump to content

Archived

This topic is now archived and is closed to further replies.

carletto0282

Add sharebar to listed post

Recommended Posts

carletto0282+    4
carletto0282

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
Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
carletto0282+    4
carletto0282

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

  • Similar Content

    • arno
      By arno+
      The counter next to the icon in the Sharebar extension adds more mess than value for us. 
      Is there an easy way/code to hide the counter? (so that the icons line up closer?)
    • bnapoli
      By bnapoli+
      Is there an easy CSS fix to change the social media icons in Sharebar so they are colored, not just on hover?
    • MissT
      By MissT+
      Regarding the 'global option' mentioned by Simon in this previous post (to turn off the facebook opengraph data if you are using another plugin that provides it) ...where is this option? I don't seem to be able to find it.
      Many thanks in advance.
       
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      Is it possible, and if so, how, to change the layout of the archive pages? For example, I would like to use a smaller and more compact image size for featured images and shorten the amount of text that's displayed for each post without also changing how featured images are displayed on single post pages.
      I am talking about https://michaelkummer.com/apple/ vs How to extend the storage of your iPhone or iPad.
      Thanks
      Michael
       
    • art23130
      By art23130+
      We had a very nice shortcodes library and hooker in the previous version of the platform. But in the version 5 they are missing. 
      So are you going to improve it again in future or no they are not supported anymore? 
      and one more question, what do you suggest for sharing bar which we had in DMS2 ?
      Thanks for your effort 
×