The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
199 views

Browser title script ignoring is_page /else conditional [closed]

I've used this code to stipulate different separators for different pages in my clients site: <title> <?php if(is_page('Portfolio')){ wp_title( 'of', true, 'right' ); echo ...
0
votes
2answers
408 views

Showing RSS feed via fetch_feed. How to show the site title of the feed?

Question is simple. Can i get the title and main url of the site from where the posts are loading? Actually i want to linked to the main site. The url can be found by wordpress function esc_url(); ...
0
votes
2answers
804 views

Wrap the_title_attribute in a H2 within a Conditional Tag?

I have the following that works fine.. elseif( get_post_type($post->ID) == 'press' ){the_title_attribute();} However, i need the aforementioned title to be wrapped with a h2 tag. Tried this but ...
2
votes
1answer
1k views

wp_title() handling of author page

Why doesn't wp_title() display the author's name on an author archive as it does for a category or date archive? How can I hack this functionality? header.php calls: <title><?php wp_title ( ...
0
votes
1answer
428 views

ASCII titles with Yoast SEO plugin

I'm finding that SEOmoz is showing page titles with ASCII when indexing my customer's site http://bulldogfencespokane.com. I'm concerned that this is how search engines will index the site. I'd love ...
0
votes
1answer
161 views

title tag function

I am using a function to display the URL on title tag, I coded this function which works properly but I would like to customize it more further. function title_tag() { $a = $_SERVER['REQUEST_URI']; ...
5
votes
5answers
5k views

How can I add title attributes to next and previous post link functions?

For some reason a title attribute is not appended to next_post_link and prev_post_link calls in WordPress. How can I add one?
0
votes
2answers
672 views

Output Title of Post's Current Category

How do I output the current category title for each specific post? <?php query_posts('category_name=group&posts_per_page=10'); ?> <?php if (have_posts()) : ...
1
vote
3answers
2k views

How to display post title & excerpt when mouse hovers on an image?

I am bit busy with developing one fashion website, currently (http://test-domain.zakirsajib.co.uk/), where I have images come from posts and when mouse will hover on any image, the corresponding post ...
3
votes
3answers
6k views

How do I get a post (page or CPT) ID from a title or slug?

I've scoured the Codex, failed to get get_page_by_title() to work and am quite surprised that there doesn't seem to be a standard WP function for this task. I need to get the ID of any given post/ ...
0
votes
1answer
550 views

How can I modify RSS item titles to be either the title or a custom meta field?

I'd like to optionally replace some RSS item titles with a headline meta field I've added to certain post types. I have the post types showing up in the feed using: function myfeed_request($qv) { ...
0
votes
2answers
105 views

permalinks on title tag

Is it possible to have my custom permalink structure on title tag of my blog? my current permalink structure is this /%postname%/%location%/%mba_courses%/ where my location and mba_courses are custom ...
0
votes
3answers
1k views

Hide a page title in Wordpress 3.0

I can't find the option to hide the page title. Is there some other plugin required to get this functionality? If you look in this video video you can see the option to set the page title. I don't ...
1
vote
1answer
639 views

Lose “Blog Archive” from page title

Right now the title of a post page on my blog reads like this... Blog Name >> Blog Archive >> Post Title I don't see the need for "Blog Archive" to be in there and would like to remove it. I've ...
0
votes
2answers
106 views

Anyway to specify what should appear in <title> in .php file?

Is there anyway I can set what text should appear in the tags before get_header() is called in my .php files that are inside my theme's directory?
6
votes
2answers
2k views

How to prevent apostrophes and quotes from appearing in permalinks?

I'm using custom permalinks "/%category%/%postname%/". Whenever a post title contains quotes or apostrophes they appear in the URL. Can someone tell me how prevent them from appearing in the slug? ...
1
vote
1answer
264 views

HeadSpace2 double title on homepage

I started using HeadSpace2, a meta plugin for WordPress, and it works great so far. I even managed to get the Google description that I wanted with it. Let's call my website for "HomePage", and the ...