WP Social Bookmarking Plugin

Discussion in 'Blogging' started by Fisker, Sep 24, 2007.

  1. #1
    I ran into a problem recently with this plugin. Installed it and activated it but now I am suppose to add this (<? if (function_exists('social_bookmark')) { social_bookmark(); } ?> ) code to the post loop As it will not work in the sidebar.

    So where exactly should i add it..? Which file?

    Thanks.
     
    Fisker, Sep 24, 2007 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    look for this in your index.php file:

    <?php if (have_posts()) : while (have_posts()) : the_post();
    Code (markup):
    Depending on the location you want the plugin output to show up will determine where you put the plugin code. I'd suggest immediately after this line in the loop:

    <?php the_content(); ?>
    Code (markup):
     
    mizaks, Sep 24, 2007 IP
  3. Fisker

    Fisker Well-Known Member

    Messages:
    1,857
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Thanks for help. Got it done. Now its working. Here it is
     
    Fisker, Sep 24, 2007 IP
  4. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Happy to help.

    You should add a line break between your post content and the "continue reading" link too.
     
    mizaks, Sep 24, 2007 IP
  5. Handsofmodder

    Handsofmodder Peon

    Messages:
    177
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    get Gregious if possible
     
    Handsofmodder, Sep 24, 2007 IP
  6. Fisker

    Fisker Well-Known Member

    Messages:
    1,857
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    175
    #6
    yeah now that you said it.. it makes sense. Will follow it in future.. Thanks.
     
    Fisker, Sep 25, 2007 IP