• Hello!
    I dont get this. I want my post titles to not show. I also want the post title to be <h3>, and then write a new title tagged <h2> in my post, so that my post order is: (invisible <h3> post titel/image/fake post title <h2>/text).

    I put <h3> around the call for title in my index file. Then I set .post h3 to disply: none; and then I have added <h2> to the first line in may post and set .post h2 how I want it to look.

    But both the “invisible” post title and my fake post title shows. And in my source file it sets <h2> around the post title, not <h3> as it says in the index file.

    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • A link to your site would help, most post titles have a class name, in ‘Twenty ten’ it is “entry title” so at the end of the style.css, you would add:

    .entry-title {
        display:none;
    }

    You likely have a similar class in your theme, post-title or something, open up index.php or page.php and have a look, search for the_title and look for the class it is wrapped in.

    You might have some code in functions.php returning the style in a variable, link to your website or paste the index.php to http://wordpress.pastebin.com and paste the link in a reply to this topic.

    HTH

    David

    Thread Starter Odenberg

    (@murmelin)

    Hello! Thank you for taking time to help me.

    Here is a link to my website.

    I want to make the first headline invisible to make the image the first thing in the post. Then I want a headline below the image and for SEO reasons, I want the “fake headline” to be <h2>.

    So, I put a <h3> tag around the call for title in my index file, but when I look in my source-file there are <h2>tags around it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change post title to’ is closed to new replies.