Support » Plugins » [Plugin: Social Bookmarks] Anyway to make plug in not render a title tag?

  • I like the plugin very much, I am using it without the AJAX interface. My only complaint is that I’m having trouble styling it. It creates a wrapper div that is way to big. I made the plug-in not render a display title by entering &nbsp but I’m still not satisfied with the output. Examining my source code this is what I get:

    <div class="social_bookmark">
    <a><strong><em> </em></strong></a>
    <br />
    <div class="d">
    <br />
    <br />
    <!-- Social Bookmarks END -->

    I would like to make the plug in not render the first A tag and all of the break tags. Is there anyway to do so. I tried to do it in CSS by setting display:none on a.social_bookmark but that did nothing.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • The only way to absolutely remove all the tags is to roll up your sleeves and do some PHP editing. However, it’s really quite simple. Go to the plugin’s folder and open social_view_public.php. As you scroll down, you will see the function that actually renders the code:

    function render_plugin()

    Now, in this function, you’ll see some php that looks like this:

    $html .="html markup here"

    You’ll notice that the html markup of the function corresponds to your source code. Now you can edit and tweak the classes and remove any unwanted breaks.

    I believe that if you can’t directly access the folder where the plugin’s files are, you can go to the plugins page of the admin panel and find a link to edit the plugin.


Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Social Bookmarks] Anyway to make plug in not render a title tag?’ is closed to new replies.