4 pointsGetting my WPMU DEV WingsI'm new here
kinetic
Member
—
5th November 2009 (2 years ago)
I'm testing the Site Generator plugin with the Nelo theme, and have some questions. First, Nelo has the default WP version generator meta tag in header.php, but then does remove_action( 'wp_head', 'wp_generator' );, which appears to block the generator plugin. If I remove that line, then it displays the text set in Site Admin->Options, but not the link.
Can anyone explain why the theme includes the remove_action or why the generator link doesn't appear?
This is in 2.8.5.2, latest versions of plugin and theme.
I'm testing the Site Generator plugin with the Nelo theme, and have some questions. First, Nelo has the default WP version generator meta tag in header.php, but then does remove_action( 'wp_head', 'wp_generator' );, which appears to block the generator plugin. If I remove that line, then it displays the text set in Site Admin->Options, but not the link.
Can anyone explain why the theme includes the remove_action or why the generator link doesn't appear?
This is in 2.8.5.2, latest versions of plugin and theme.
7430 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Erstwhile founder
—
6th November 2009 (2 years ago)
#
It doesn't block the plugin. It just removes the generator tag completely.
Basically no one seems to like the generator tag. So we created the plugin that lets you change the content. People still told us they didn't care for the generator tag. So it was removes from the themes.
Responses (3)
Erstwhile founder — 5th November 2009 (2 years ago) #
Hiya,
Most people don't care for the generator tag so it's just removed in our custom themes.
The link is used for feeds, not html pages. You won't see it in the generator tag if you view the source of your frontpage.
Thanks,
Andrew
Member — 6th November 2009 (2 years ago) #
Gotcha. But why does the theme by default block the plugin?
Erstwhile founder — 6th November 2009 (2 years ago) #
It doesn't block the plugin. It just removes the generator tag completely.
Basically no one seems to like the generator tag. So we created the plugin that lets you change the content. People still told us they didn't care for the generator tag. So it was removes from the themes.
Thanks,
Andrew
Become a member