Jump to content
Guido

title tag in source code

Recommended Posts

Guido    1
Guido

Hi,

 

i unchecked the option "Automatically show Page titles?" in site options because i prefer to enter the headers manualy. In the source code the name of the page or post ist still showing up as <title> tag, which is of course neccesary in the most cases.

 

Is there a way to avoid that Pagelines writes the <title> tag in the source code? I would like to use an other method to generate the title-tag and this would be producing a double title-tag.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

The <title> tag is generated like any other Wordpress theme, where the <title> tag uses what you have wrote as the Pages title. So I am not entirely sure what you're trying to achieve, can you go into greater detail as to how and why you wish to generate the title tag using this other method please?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Guido    1
Guido

ok, it´s kinda tricky... I use a seo-tool which generates the page title and some other stuff. The only double tag which the seo-tool is producing is the title tag. The seo-tool offers the option to parse out double tags but this will make the page slower. So if there would be a simple possibility inside the functions.php to avoid that WP generates the title i would prefer to use it.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

I have spoken to one of our developers and he informed me that PageLines Framework like any other theme in the Wordpress.org repository uses the_title() filter to add the title. Now what should happen is the plugin you're using should use the same filter to change it.

Therefore, I recommend you contact the developer of the Plugin. Out of curiosity, can you inform us which plugin is causing this please. I have resolved the topic, as this is related to your plugin and not PageLines. 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Guido    1
Guido

The name of the plugin is wpseo. It is a very good plugin. This plugin is of course able to change the title tag if i opt for it. wpseo also offers the option, not to check existing tags. This option is faster but can produce double tags. That was the reason why i asked how to remove the default title tag. As Paglines offers the possibility not to show the page title in the content, i was courious if there is an easy way to erase it from the source code as well.

Share this post


Link to post
Share on other sites
Guido    1
Guido

I know - thats why i asked if there is an easy way to remove it from the source as well.

The plugin is available on wpseo.de

Share this post


Link to post
Share on other sites
Simon    247
Simon

The plugin is not open source so we cannot see how it adds it's own title.

It should use the_title filter instead of having to buffer the whole page.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×