How to check if last uri segment is a custom post type or taxonomy term?

To see how we can make this work, have a read through the Query Overview Codex page, particularly the What Plugins can Modify section: Modify the query specification, after variable values are saved (request filter or parse_request action; if you want to use conditional tag tests, use the parse_query or pre_get_posts action, as these run … Read more

Non-Latin Characters in permalinks

You must go about the language functions-interface. See my example for german users: http://wordpress-buch.bueltge.de/wp-content/uploads/2010/05/de_DE.phps We must also build differences on the permalinks for aour charachters in our language /* define it global */ $umlaut_chars[‘in’] = array( chr(196), chr(228), chr(214), chr(246), chr(220), chr(252), chr(223) ); $umlaut_chars[‘ecto’] = array( ‘Ä’, ‘ä’, ‘Ö’, ‘ö’, ‘Ü’, ‘ü’, ‘ß’ ); … Read more