Support » Plugin: wp-Typography » [Plugin: wp-Typography] This plugin still processes title tag?

  • I love this plugin, yes :).

    I have read your FAQ and I found this:
    Why does fil­ter­ing by HTML ele­ment, class or id not pre­vent processing?
    wp-​​Typography does not have access to HTML stored in your theme files. It only has access to the con­tent passed to it (i.e. post Title and Con­tent); it is unable to deter­mine the greater con­tex­tual aware­ness…

    But I use wp_title to generate my page’s title, is there any thing I can do to prevent wp-typography from processing <title></title>? I am using: <title>wp_title($args);</title>

    Please advise. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you hardcode content into your theme, wp-Typography is unable to access or modify that content. But when the content is accessed from the database, the WordPress functions apply certain filters to that content. wp-Typography works by hooking filters onto these functions.

    wp-Typography does not explicitly hook to the wp_title() function, but the wp_title() function apparently (though I have not verified) pulls in all filters used by the the_title() function (which wp-Typography does target). If you do not like the behavior of WordPress in this instance, there is a workaround.

    wp_title() accepts a second parameter that allows you to get the results (rather than echo them). This allows you to modify the results using any PHP function you wish, before you manually echo it. See for the documentation regarding this parameter.

    Thank you!

    The new version has also fixed this issue, excellent work!

    You are quite welcome.

    I have version 2.0.2 installed on WP 3.0.3 with the Hybrid-Framework by Justin Tadlock. My title-tags, although listed as not being processed, are still processed (see here, eg.)… Any ideas? Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: wp-Typography] This plugin still processes title tag?’ is closed to new replies.