WordPress.org

Ready to get started?Download WordPress

Forums

WP Biographia
[resolved] Template Tags on Single pages (3 posts)

  1. kettlewell
    Member
    Posted 1 year ago #

    Hello -

    I'm trying to insert wpb_the_biography_box() through single.php and I'm disabling all the automatic insertions through your plugins interface.

    The problem is that this combination is causing a loop, running the server out of memory.

    I'm wondering if there's an assumption being made that at least one automatic insertion will be made (maybe not), and that I'm needing to disable the auto insertion features via a remove_action...

    Thoughts?

    I'm needing finer control over where in the post the biography lands, and template tags are ideal...

    http://wordpress.org/extend/plugins/wp-biographia/

  2. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    I've not seen this happen before. Can you share your theme's single.php file and I'll see if I can replicate this?

    Have you also tried the usual disabling of other plugins and reverting to a stock WordPress theme (such as TwentyTen) to see whether this is related to interaction with another plugin or your theme?

    I'm wondering if there's an assumption being made that at least one automatic insertion will be made (maybe not), and that I'm needing to disable the auto insertion features via a remove_action...

    ... there's no assumption like this being made; the plugin hooks to the the_content filter which will be fired once per post returned by the query that the WordPress Loop does, dependent on the template being used.

    You shouldn't need to remove any filters or actions, providing you've configured the plugin's settings to not emit the Biography Box for the template where you're using the plugin's template tags, otherwise you may end up with duplicated Biography Boxes.

    -Gary

  3. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    Not heard back from you in over 2 weeks so I'm making the assumption that you've fixed this. I'm marking this as resolved; feel free to reopen if the problem hasn't gone away.

    -Gary

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.