TimThemann
Forum Replies Created
-
Forum: Plugins
In reply to: [wp-Typography] hyphenation inPerfect :-). Thanks a lot for your help – and thanks a lot for this great plugin!
Forum: Plugins
In reply to: [wp-Typography] hyphenation inActually, pages and posts do work. Only the front page is broken.
Pages and posts look pretty good:
<title>isn´t hyphenated any more and the “hyphenate headings” setting seems to do what it is supposed to do. Only titles passed to other plugins (in my case: Add Metatags) are still hyphenated.Forum: Plugins
In reply to: [wp-Typography] hyphenation inGot a whitescreen issue on the blog front page. Had to disable the plugin.
Forum: Plugins
In reply to: [wp-Typography] hyphenation inTo be exact, it comes from
apply_filters(single_post_title)which you hook in class-wp-typography.php.Forum: Plugins
In reply to: [wp-Typography] hyphenation inAdding a
debug_print_backtrace()proves that it comes fromWP_Typography->process_title.Forum: Plugins
In reply to: [wp-Typography] hyphenation inI´ve added an
echo ("<!-- PHP_Typography:process('" . $html . "') -->");right after the firstif-statement inPHP_Typography:process()and I can see the comment right before<title>in the generated HTML code.Forum: Plugins
In reply to: [wp-Typography] hyphenation inCatch Box 4.3.6 (which should be the latest and greatest version). Catch Box sets
add_theme_support( 'title-tag' ).Just tried to understand the code. As far as I can see,
WP_Typography::process_title()is registered as a filter for any type of title. As I can prove using some debug code, it is called for<title>.WP_Typography::process_title()callsWP_Typography::process(), which callsPHP_Typography::process(). WithinPHP_Typography::process(), there is nothing which stopsprocess_words()from being called for the content of<title>. Consequently, the content of<title>is hyphenated.The functionality to exclude
<h1>and<h2>in order to exclude<title>is mentioned in the readme and the changelog – looks like that has been an issue long time ago …Forum: Plugins
In reply to: [wp-Typography] hyphenation inSorry, still seeing
­sunless<h1>and<h2>are excluded …Forum: Plugins
In reply to: [wp-Typography] hyphenation inActually, it even happens with Twenty Fourteen.
Forum: Plugins
In reply to: [wp-Typography] hyphenation inTemporarily deactivated (one-by-one) any plugin hooking
the_contentin my production environment (ouch!) – no change, still­s in<title>.
Installed a test WP environment, copied over my live plugins directory and activated wp-Typography as the only plugin with defaults. Still­in<title>. Excluded<h1>andh2: no­s in<title>. The issue is pretty much stable and reproducible even in my very limited test environment. I´m confused ;-).Forum: Plugins
In reply to: [wp-Typography] hyphenation inInterestingly, the “disable hyphenation in headings” setting does not have any effect in my installation: Even if I disable hyphenation in headings from the settings,
h1,h2andtitleare still hyphenated.Testing plugin compatibility will take some time … I´ll keep you updated.
Many thanks for your support!
Forum: Plugins
In reply to: [wp-Typography] hyphenation inOK, it´s still reproducable. Had to use Chrome or IE to see the
­s in<title>. See https://die-computermaler.de/impressum/ .Forum: Plugins
In reply to: [wp-Typography] hyphenation inUnfortunately, I can not reproduce it anymore, too. On Saturday, the problem was pretty much stable (do not exclude
<h1>and<h2>, get a lot of­s in<title>– exclude <h1> and <h2>, no ­s in <title>). Turned on and off the issue a couple of times for testing, the issue was perfectly reproducable. The only plugin updated since yesterday is the “Add Meta Tags” plugin – which interferes with the<title>, too. I´ll have a look at the code changes of that plugin …Forum: Plugins
In reply to: [wp-Typography] hyphenation inWordPres 4.4.2, theme “Catch Box”. Did you look at the code I mentioned? As far as I can see, it specifically refers to the exclusion of <h1> and <h2> – which is the behavior I observed.
Forum: Plugins
In reply to: [LightPress Lightbox] rel="nobox" stopped workingOK, I managed to pinpoint the issue: It seems to be a compatibility issue with WP-Typography. If WP-Typography is active, rel=”nobox” is missing from the actual HTML code delivered to the web browser, instead, a rel=”lightbox[xxx]” is added to the link.