Questions tagged [wp-title]

Display or retrieve page title for all areas of an installation or a site of a multisite or network install.

Filter by
Sorted by
Tagged with
5
votes
2answers
13k views

Changing title of a page dynamically from within a plugin

Every WordPress page can be described as having two titles: The page/post title, which is displayed within the page/post via the the_title() function call The html <title></title> tag ...
1
vote
3answers
2k views

How to set custom title of custom page template?

How to set custom title of custom page template? I try use wp_title filter but it's not working.
0
votes
1answer
80 views

Add specific word before the category page title

in my site category page (archive page), the page title in browser is like this: My site | Site Description | Category title How i can add specific word befor all of category title. like: My site | ...
2
votes
2answers
9k views

Get wp_title() from page ID into a variable

I'm pretty sure that it's not possible but can I get the result of wp_title() into a variable if I know post's ID? So, for instance I'm on a "blog" page and I want to have the title of "about" page ...
1
vote
1answer
1k views

Include category title in wp_title

I'm using this in functions.php to output my page <title>: /** * Creates a nicely formatted and more specific title element text * for output in head of document, based on current view * * @...
0
votes
2answers
789 views

Wordpress page title repeated in SOME pages

I have created a Wordpress site and titles were working just fine. Then, some time and plugins installed later, I noticed that in SOME pages I get the title repeated 2 times. Example of wrong page ...