Support » Plugins and Hacks » Plugin Filters not being activated

  • Resolved YellowSwordfish

    (@yellowswordfish)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Mark Jaquith

    (@markjaquith)

    WordPress Lead Dev

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

    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

    This issue was resolved in our latest release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Filters not being activated’ is closed to new replies.