Jump to content

Archived

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

Brian

ShareBar shortcode in Widget

Recommended Posts

Brian

Hello,

I would like to add a shortcode, or even html, for the PL ShareBar section to be placed in a text widget. What needs to be done to do this? The regular social shortcodes: [pinterest], [twitter], etc. don't look as good as the ShareBar section. Look forward to hearing from someone.

Cheers,

B

Share this post


Link to post
Share on other sites
Danny

Hi,

You can not add a section to an element i.e. text widget via a shortcode. Therefore, if you wish to add social networks to a text widget you will want to use a plugin if you do not like the look of the DMS shortcodes.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Brian

Hey Danny,

I do like the look of the DMS ShareBar, which is why I"m trying to add that to a text widget. Is there any snippet of code that will allow for this? 

Thanks,

B

Share this post


Link to post
Share on other sites
Danny

There is no code or snippet to add a section to a Text Widget. Why do you want to add it to a Text Widget? Why not just add the section to the location instead of using a Text Widget.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Brian

If the SideWalk section is being used, I want the ShareBar to stay below (or above) the Sidewalk during scrolling of the page.

Share this post


Link to post
Share on other sites
Danny

If you want that layout, you will need to either use the social shortcodes included in DMS Framework or use a plugin. As there is no way to call a section and place it into a shortcode that can be used in a Text widget. I think the best method is for you to use a social plugin.


Please search our forums, before posting!

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.
       
    • 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 
    • Audun MB
      By Audun MB+
      Currently my sharebar looks like this:

      Why is there a number next to LinkedIn? Is it supposed to show number of shares? 
      When I try to share anything, facebook just closes again, and the rest allows me to share "undefined undefined". 
      This might be because my site is restricted, but it seems weird?
       
       
       
×