Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($page_url == $suggested_url) {
- $page_titleraw = the_title_attribute(array('echo'=>0));
- $chars = array("‘", "’", "“", "”");
- $replacewith = array("'", "'", "\"", "\"");
- $page_title = str_replace($chars, $replacewith, $page_titleraw );
- } else {
- $page_titleraw = get_bloginfo('name');
- $chars = array("‘", "’", "“", "“");
- $replacewith = array("'", "'", "\"", "\"");
- $page_title = str_replace($chars, $replacewith, $page_titleraw );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement