• Hey,

    I got a real challenge now.It may be impossible,it may be very simple,i’m not a PHP guru.
    I want,if possible,in my WordPress blog,to customize the header of each post.I know that the header.php makes all the jobs for each pages,but i want to give different titles to my posts.

    I mean…i can write the post,to show it as a title,but i want the post to be shown as intended,but in the <title></title> of its header to be different from the post’s name or the general header.php config.

    Is this doable?

Viewing 9 replies - 1 through 9 (of 9 total)
  • <title> <?php wp_title(); ?></title>

    this work great for me .

    each post get a different title .

    Thread Starter vexxatu

    (@vexxatu)

    well..you didn’t understand….your code only shows the current post title.I want to show a different title than <?php wp_title(); ?>.Basically,there is no visual difference,but i want in the page code,that a different title appears than the post title.

    Example:

    I have the post:

    “how to eat wtih both hands”

    The title of the page is How to eat with both hands – Blogname(if enabled).If you right click on the page,to see the html source the title is <title>how to eat wtih both hands</title>.Well,in the source code,i want it to show a custom message.It’s this possible with wordpress?

    no except if you use frames ….

    if a title is xxxx in a page , you can’t make it something else in the code source .

    code source show you what you see on your page .

    I am positive that you are looking for this: https://www.urbangiraffe.com/plugins/headspace2

    Thread Starter vexxatu

    (@vexxatu)

    their site is down as i see..but reading the descriptions..this plugin only adds meta tags to posts..

    It adds alot more than that.It will do exactly what you asked and more.I do what you wanted often on my blog.The title of the post can be one thing and the title in the source code can be something totally different.Check this screenshot.Scroll down and see where it says Meta Data, you can add another description there and keywords if you like.It does more as well.Trust me… this is what you are looking for… hopefully ??

    Headspace

    Thread Starter vexxatu

    (@vexxatu)

    does anybody know,using this plugin how do i add titles to my posts? i can add meta data and keywords,the program has also a %%title%% options but how should i use it?

    Thread Starter vexxatu

    (@vexxatu)

    ok..after several days of playing with headspace…it can only add meta tags to posts…

    i will ask the question once again…can i have a page title different than my post title?

    “The title of the page is How to eat with both hands – Blogname(if enabled).If you right click on the page,to see the html source the title is <title>how to eat wtih both hands</title>.”

    Err, no it’s not. The source is “How to eat with both hands – Blogname(if enabled)”. Can you provide another example of what you’re trying to achieve?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to customize header for every post?’ is closed to new replies.