WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change title on website (5 posts)

  1. AANC
    Member
    Posted 2 years ago #

    Hello! I need your help urgently.
    If you don't understand, tell me. I'll explain you the best I can.
    Here's the thing, I use the OneTheme theme (is awesome, but it's not in the WordPress theme list). Anyways, I want my web title changes like this (the web title is the <title> tag in the header.php for me):
    HOME (LATEST POSTS): (Blog Title) - (Blog Description).
    POSTS, PAGES, CATEGORIES, ARCHIVES...: (Post, Page, Categorie, Archive... Name) | (Blog Title)
    SEARCH RESULTS: 'Resultados:' (search) | (Blog Title)
    So that's basically what I want. If you can give me the codes to put in the header.php so the titles appears as I want I'll be very thankful.
    Something else, the favicon doesn't changes when I upload the icon where I'm supposed to upload it. The header.php code is <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" /> and when I go to the theme folder and upload the new favicon, doesn't changes in the site.
    Repeat, if you don't understand me, please answer. But please, I seriously need this.
    Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    have a look into header.php of Twenty Eleven for a way to customize the meta title;

    you can use conditional tags http://codex.wordpress.org/Conditional_Tags

    if you get stuck, please post here again.

    your favicon (is the new one a stylized 'W' ?) might be stuck in your browser cache - and everybody else might be seeing the new one (?).

  3. AANC
    Member
    Posted 2 years ago #

    Almost perfect! You saved my day!
    5 stars for you: ***** :D
    The only thing that doesn't looks how I want is the title for a post. Can you go here: http://webalazar.com/hello-world/ and check how the title looks like? Because I would like something like (Post Name) | (Blog Title).
    And the favicon thing was right too! I deleted the cache, and now I see the "stylized W" (is actually a random icon with a stylized W) ;) .. By the way, I have a cache plugin (WP Super Cache) but right now I'm not sure if it works, because I used it several ways and I didn't noticed changes where the changes supposed to be (ex: the favicon).
    Thanks a lot!!!!!

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    this is how the meta title shows for the post:
    <title>Hello world! | Web Al Azar</title>

    do you want that to be different?

  5. AANC
    Member
    Posted 2 years ago #

    Wait! Now I see the problem.
    I should use different web browsers to see the changes.
    I'm editing in Google Chrome, and I can't see the changes there (in the homepage only appears Web Al Azar and for the post appears Web Al Azar >> Hello World! but I saw the site in Firefox and now I can see the repaired meta title).
    Thanks again!
    And what can I use to see the changes automatically in the browser? WP super cache doesn't seems to work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.