WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Plugin Filters not being activated (4 posts)

  1. YellowSwordfish
    Member
    Posted 8 years ago #

    I have someone using one of my plugins and we have a problem. The plugin uses the 'wp_head' and 'the_content' filters. If it detects a specific 'page id' it uses wp_head to include some CSS and the_content to add extra stuff (in this case images).

    I have looked at their data and all is as it should be. They use the Tarski theme and I have tried that on my site and it works OK. The only other plugin is Ultimate Tag Warrior and as I use that it is not at fault.

    Yet somehow, the intercept at wp_head and the _content does not appear to be working. I have never come across this before.

    Does anyone have any ideas why these filters would be failing? It is a new install of 2.0.2 by the way and as I say - all data and settings appear to be just fine.

    Any help appreciated as I would very much like to get this working for him.

  2. Mark Jaquith
    WordPress Lead Dev
    Posted 8 years ago #

    Are you sure that the <?php wp_head(); ?> call is properly placed in the <head></head> section?

    Can you give a link to the plugin code? (use a pastebin like http://phpfi.com/)

  3. YellowSwordfish
    Member
    Posted 8 years ago #

    Thanks for coming back markjaquith. I'm waiting for the user to upgrade but it seems to be the Tarski theme that is at fault and yes - they left out the wp_head call. Don't know why!

    I'm pretty confident that when he upgrades his theme then things will be fine so I'll mark this as resolved.

    Thanks

  4. ionfish
    Member
    Posted 8 years ago #

    This issue was resolved in our latest release.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags