WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Template Tags on Single pages

[Resolved] Template Tags on Single pages

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vicchi

    @vicchi

    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

    Plugin Author vicchi

    @vicchi

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Template Tags on Single pages’ is closed to new replies.