• Resolved tjobbe

    (@tjobbe)


    I have a problem in that the page titles differ to my opening paragraph headings so what I have done is removed the_title from appearing at the top of my pages.

    This works fine for my PAGES, but I would love to have the_title appear on my POSTS, and have them clickable to the full article where they have been trimmed off, is this possible?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi – Posts are displayed using the index.php template file. If you add the_title back into index.php that should accomplish what you want.

    If you want to display only the trimmed portion, and you are seeing the full post, while you are editing index.php, change the_content to the_excerpt.

    Thread Starter tjobbe

    (@tjobbe)

    Have searched high and low for a solution, if anyone can help, that would be great!

    Thread Starter tjobbe

    (@tjobbe)

    stvwlf – Like I said, I don’t want the titles to appear on my pages, but I do want them to appear on my posts, is this possible?

    pages use page.php to display their contents. the posts page uses index.php So if you add the_title back into index.php it should do what you wish to do.

    pages use page.php to display their contents. the posts page uses index.php So if you add the_title back into index.php it should do what you wish to do.

    Thread Starter tjobbe

    (@tjobbe)

    Thanks stvwlf, I haven’t got a page.php in my theme, so if I do what you said it should work? I’ll try it now – thanks.

    Thread Starter tjobbe

    (@tjobbe)

    You’re a star. Thanks, it works now!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add or remove titles on a whim’ is closed to new replies.