How to show page title with capitalization only as I typed in?
How to show page title with capitalization only as I typed in?
How to show page title with capitalization only as I typed in?
The video you have linked to is meant for the users of the Headway Themes. There is no option within WordPress itself to hide the title of pages. The video itself also does not show you how to hide the actual title, the option referred to is actually to hide the page from your navigation. … Read more
There is no way to cause your permalink structure to be reflected automatically in the title tag. Instead, you must create it yourself. This might get you started: (I had to make a lot of assumptions in this code.) function my_title() { $post = get_queried_object(); $locations = wp_get_object_terms( $post->ID, ‘location’ ); $mba_courses = wp_get_object_terms( $post->ID, … Read more
This is the simplest answer I could find so far: $category = get_the_category(); echo $category[0]-> cat_name;
function title_tag () { // 0. uppercase string $str = strtoupper ( $_SERVER[‘REQUEST_URI’] ); // 1. remove trailing and init slash $str = trim ( $str , “https://wordpress.stackexchange.com/” ); // 2. add search and replace chars; // two array, with same element size, // 1. element of search array will be replaced // with the … Read more
$feed = fetch_feed($feedurl); $channel = $feed->channel; $blog_title = $channel[“title”]; Note – I haven’t tested this, am relying on my (faulty) memory.
don’t use echo in filter functions – use return: function widget_new_title($title) { return word_limiter($title,20); } add_filter(‘widget_title’,’widget_new_title’);
You’re using two different SEO plugins: Yoast and All in One. Not a good idea. One of them is doubling up the title tag on single post pages.
Sure, if you want it by ID (which might or might not be good idea, depending on how likely ID will stay same for a long time – no migrations, etc) that would be something like: if( !is_page(135) ) { // code goes here } See Conditional Tags > Page in Codex for more. Alternative … Read more
//data stores the ajax response var matches = data.match(/<title>(.*?)<\/title>/); var pageTitle = matches[1]; document.title = pageTitle;