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

learn more… | top users | synonyms

0
votes
1answer
53 views

How to modify title tag in a plugin?

I would like to add a meta value to the title <title> tag in a custom post typed page. So there would be meta value before normal post title. I have a custom field created that contains the ...
0
votes
0answers
46 views

Custom WP TItle from custom template with dynamic URL structure

I am new to custom WP development, but I have made a custom plugin. With a custom rewrite I have made the following URL structure: /profile/[company_name]/ I have made a new post Profile with a ...
0
votes
0answers
29 views

Avoid Duplicate Attachment By Numbering Duplicate post title Wordpress

Hello friends i am running an wallpaper site with WordPress, There are i have more than 2 thousand images recently i get duplicate attachment title issue in webmaster. So i want to numbering duplicate ...
0
votes
1answer
34 views

Split post title for styling

I need to split up post title and want customize both strings, For example post title is This x That I need to display this title as This xThat. Is there any way to display like that?
0
votes
1answer
41 views

wordpress filtering out caps in wp_title? (UpperCase is changed to Uppercase)

Have been working with WP for years, but never noticed this until today: I have just launched a new site for a customer, and they write their name like this: "ClientName" (with one letter capitalized ...
0
votes
1answer
32 views

What could be causing the category to be appearing as the post title in the title tag?

As the title of the questions states, I have this site where in the title tags, the category is appearing as the post title, which is killing my client's SEO, of course. I've disabled all plugins that ...
0
votes
1answer
50 views

Modify page title and subtitle with a plugin

How can I build a plugin which will modify a title (header) of the page? I built one generic page which uses shortcodes to display relevant information based on url parameters, but I can't use ...
0
votes
1answer
55 views

Add PHP code after title in single post pages?

I tried to add PHP code after the post title in single post pages by adding a filter to functions.php, but this did not work: function theme_slug_filter_the_content( $content ) { $custom_content ...
0
votes
0answers
12 views

After Yoast SEO installed: Meta-title is shown as title on page

I installed the Yoast SEO plugin and began to correct my meta titles. But the meta title is also shown on the page, as a normal title for the users to see, which is normally not the case. I can't ...
0
votes
1answer
39 views

my site show this symbol (::) between site title and tagline

i have a web site with a problem in a tag "<title>" , i see between site title and tagline this character (::) in home page and only one (:) in other page, in my header.php theme i have this : ...
0
votes
2answers
83 views

Site name not showing in browser bar, only url

Sorry for this question, but I can't work out why my site name isn't showing in the browser window even though I have wp_title() in the <head>. All I have done is used CSS to indent the text ...
0
votes
1answer
818 views

How to change the seperator in the title

Change title separator. I'm working with the underscores starter theme. I want to make a small change to the title. Change the separator from "Post title | site name" to "Post title - site name" ...
0
votes
1answer
103 views

The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output

I am submitting my theme to WordPress.org. To make it compatible with WordPress 4.1 and greater, I replaced wptitle() tag with add_theme_support( 'title-tag' ) but now the error has changed to ...
0
votes
1answer
48 views

Display tab title as 'blog tagline | blog title'

I am currently displaying my title liek this <?php wp_title( '|', true, 'right' ); ?> it works fine for every page besides home page where tab currently says Blog title | Blog tagline is there a ...
0
votes
1answer
209 views

double page title [duplicate]

I have my page title on the home 'My siteMy site'. and other pages as 'Page title | My siteMy site'. I have checked in the header.php file for my theme and it look okay <title><?php ...
0
votes
0answers
73 views

Creating a Custom Title on a Custom Page Template

Most of our news site is made of WordPress Pages and Posts. Then we have several custom pages that format information from a non-WordPress database. exs. Calendar of Events, Local Nightlife Venues. ...
0
votes
1answer
339 views

Modifying WP_Title For Custom Post Type

Trying to modify the output of the WP_Title through a custom post type with a filter. I've had no issues doing it to the_title but I assume as the wp_title function is called through the header it's ...
0
votes
1answer
392 views

Replace text in the Title

In a string displayed by <?php the_title(); ?> I have to replace all & characters with and. Here is the code I've tried without success: <?php $wptitle = the_title(); $wptitle = ...
0
votes
1answer
360 views

How to modify a title tag in genesis?

I need to modify the outputted <title></title> tag of a few specific templates, and it has to be done in php so I can dynamically generate content for it. I've been playing around with ...
0
votes
1answer
200 views

error in wp_title on year archive - undefined index 00

In the year archive page in the title tag i get Notice: Undefined index: 00 in wp-includes\locale.php on line 271 In the header.php i use: <title><?php wp_title('|', true, 'right'); ...
0
votes
0answers
35 views

The title of an attachment is not working

I use this function to assign the title of every page: function my_title() { switch ( true ) { // [...] case (is_attachment()): wp_title(''); // This doesn't work ...
1
vote
1answer
321 views

Page title not showing up

I have this in my header.php file -> <title><?php is_front_page() ? bloginfo('description') : wp_title(''); ?> - <?php bloginfo('name'); ?></title> This shows title in my ...
0
votes
2answers
746 views

Displaying Page Title on index.php

I have my posts page set as index.php, and on there I have my main heading (as I do on all pages). I'm having trouble displaying the page's heading however. The page is called 'Blog' in WordPress, ...
0
votes
1answer
31 views

How to add WordPress Settings in sidebar widgets

Is it possible to insert the Site Title in a widget text box? I tried <?php wp_title(); ?> but nothing displayed.
-1
votes
3answers
136 views

Show page name in browser

I am developing my first WP theme and would like to know how to display page name for every page/post instead of just "mysiteaddress.com" How can I set that all my posts and pages show the tittle by ...
0
votes
2answers
99 views

Need help with page title (Static front page)

I need some help with the code to put inside the <title> to generate the following: Static front page: Should just be the bloginfo('name') All other pages: Should be wp_title() | ...
0
votes
2answers
885 views

Set title of page using custom page template

Most of the related questions are still unanswered or have very little information. I have a custom theme for my website and use WordPress SEO for titles. All the article pages work fine, except for ...
0
votes
2answers
51 views

Keep Title and Description always

I want to keep the title and description of wordpress blog like this: Title | Description (showed in a tab of navigator). And I don't want to change his name while I am surfing the site. I think that ...
0
votes
2answers
85 views

Hide page name in wordpress page title

In my pages title I got for example "home-my title' and 'Books Archieves- my title', I want to drop those prefixes so I have only on page (home) 'My title' and on archive(category) 'Books- my ...
0
votes
0answers
111 views

template_redirect and title

I pass a template_redirect in wordpress as hook but I want to have a personnalized title for this page and I miss to do that. Has someone any idea ? add_action( 'template_redirect', 'virtual_pages' ...
0
votes
0answers
27 views

Unable to get result on str_replace

Can anyone please tell me whats wrong with my code below, I can echo out the authorname but I'm not able to get the authorname on str_replace. This is for replacing the browser tab title. Thanks. ...
0
votes
1answer
93 views

How to show page title in blog post of wordpress site

I want to show the page title in single post page of wordpress theme. I tried to use <?php echo get_the_title() ?> but it returns the post title, not the page title. basically I want to show my ...
-1
votes
2answers
157 views

Title displaying multiple times

I'm facing a problem where my title is being displayed multiple times. Using the following code the page title 'News' is displayed 10 times, the same number as the number of posts I've elected to ...
0
votes
2answers
25 views

Automated Footer information

Working on a theme and I'd like the copyright and title texts on the footer to be automated. It works but the tittle switches to the current page instead of the website's main title when you switch ...
0
votes
1answer
283 views

How do I get rid of the vertical bar in the url

I was wondering how to get rid from the vertical bar in the browser url, see image. I thought it was wp_title and set it too false like: <?php wp_title(false); ?> but doesn't work. How can I ...
2
votes
3answers
986 views

Change the output of wp_title()

I use wp_title to generate some kind of breadcrumb and it works well, but in there I have the title of the site, and I want to delete that. It looks like this: Taxonomy1: City | Title of the site. I ...
-1
votes
1answer
76 views

Filtering wp_title() in WordPress

I am using this in header file of my site. <title><?php wp_title( '|', true, 'right' ); ?></title> But it is displays '|' at the end of title on all the pages of site like this ...
0
votes
1answer
2k views

Remove Site Name from wp_title WITHOUT removing from <title> attribute

I'm using wp_title() in the body of my theme to print out the page title name at the top of the page, way before the content. This unfortunately also prints out the site name, which is redundant in ...
0
votes
1answer
490 views

Order by title - but now built in wordpress func, sort the_title

I've got a pretty simple WP installation, where I use qtranslate plugin to keep site in two languages. The problem is, I need to sort posts by title, and as probably you know (as you use qtranslate), ...
0
votes
2answers
3k 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 ...
0
votes
1answer
61 views

When trying to set title, not sure how to edit it for different pages

I have this function: function suffusion_set_title() { global $suf_seo_enabled, $suf_seo_title_style, $suf_seo_title_separator, $suf_seo_show_subtitle, $suf_seo_show_page_num, $paged, ...
0
votes
3answers
67 views

After I set the title, it over-wrote all the titles for the individual pages

A few days ago I set the title tag for my home page by doing this: Settings => General but it turned out that this didn't just change the title of the home page. It actually changed the title of ...
1
vote
1answer
529 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
1answer
790 views

How to customize a title by passing query string?

I have a profile page, it is a template. Every time when I click one of a doctor, the profile page will show the specific doctor info by passing a query string. Something like profile?doctorName=abc. ...
0
votes
1answer
369 views

Change Bookmark Name without Changing TITLE Tag

Is it possible to change the name of the bookmarked page when a user adds my page as a bookmark without changing the title tag?
0
votes
1answer
511 views

Page Title repeating

I am a newbie in WordPress and our website page titles are repeating. That is the first problem. The second problem appears to be that there is a space missing between the repetition. I have attached ...
-3
votes
2answers
2k views

How to change twentytwelve child theme site title separator

I am using a child theme with WordPress twentytwelve. I'm confused as to what function I can use in the child theme's functions.php to just change the site title separator, from its default vertical ...
0
votes
1answer
237 views

Title image is missing ( but is not the WP 3.5 issue )

I use Wp 3.4.2 and Featured Image. After I feel the Title, Alternate Text and publish the post, html code looks like this: <img width="214" height="300" title="" alt="Test" class="frame ...
1
vote
1answer
44 views

Why is a category/ tag name prefixed to title of every page?

Recently, I've noticed there is a category/ tag name "Contests" added to the title of all of my pages. I've checked the "Tagline" under "Settings" >> "General" of course, it hasn't changed. This is ...
0
votes
1answer
128 views

How do I replace title with my plugin?

I am developing a plugin for WordPress 3.5. My blog's default title is "Test". Here is some code of my plugin: add_filter('wp_title', 'my_replace_title'); function my_replace_title(){ return ...