WordPress.org

Ready to get started?Download WordPress

Forums

Call Function placement in post.php (12 posts)

  1. Ron Pemberton
    Member
    Posted 9 years ago #

    Hi everyone,
    I would like to install Bunny's Technorati Tags plug-in. But, the post.php seems massive and spooks me. Where exactly do I place the call function for tags to show at the bottom of my post just above the catagory meta?

  2. Joshua Sigar
    Member
    Posted 9 years ago #

    Post your post.php here: http://pastebin.com

  3. Ron Pemberton
    Member
    Posted 9 years ago #

    Thanks for your help. Here is the post.php;

    http://pastebin.com/321219

    And here is the call function for bunny's tags:

    <?php the_bunny_tags(); ?>

    thank you!

    ron

  4. Ron Pemberton
    Member
    Posted 9 years ago #

    Anyone?

  5. Ron Pemberton
    Member
    Posted 9 years ago #

    I hope someone can point me in the right direction. please.

  6. amory
    Member
    Posted 9 years ago #

    Looking through the authors directions, the function you mentioned displays the tags. So you would put it wherever you want to have your tags displayed (in your theme). To add tags, add a custom field "keywords" to your post followed by a value of your tags, separated by commas.

  7. Ron Pemberton
    Member
    Posted 9 years ago #

    What I need to know is where to physically place the call function. In what file and on what line?

  8. vkaryl
    Member
    Posted 9 years ago #

    If you want the display in the sidebar, then that's where you put the call. If you want it in the main section of your blog, generally you put it in the index.php. It rather depends on what theme you're using.... and where you want the tags to show.

  9. Ron Pemberton
    Member
    Posted 9 years ago #

    Ok, I take it you mean put in the index.php, but where exactly?
    Could you tell me what line? It's the Kubrick Default theme.

    Thanks!

  10. Ok, I take it you mean put in the index.php, but where exactly?

    That would depend on where exactly you want the tags to appear.

  11. Ron Pemberton
    Member
    Posted 9 years ago #

    I would like for them to appear just above the meta at the bottom of the post.

  12. vkaryl
    Member
    Posted 9 years ago #

    I'm sorry, I can't give you an exact line. I don't use either the "default" theme, or this specific plugin. It's one of those "try it and see what happens" things.... generally, when I have something like this I need to do, I just stick the line to call the plugin in near the bottom of the index.php, before the line that includes the footer. I really can't be more specific than that. If what you do doesn't work, the page won't display properly, and then you just go back and move the plugin call somewhere else. It's called "tweaking"....

    Oh - and if you put something like this WITHIN The_Loop, it will appear after EVERY POST - so you want to be sure where you really want to see it before you start mutzing about with it.

Topic Closed

This topic has been closed to new replies.

About this Topic