Support » Fixing WordPress » How to show Titles only in first page and catalog pages?

  • Dear,
    Can you help to solve this problem?
    My website is in Chinese, the link is here
    My theme is 2014 and WP is 3.8, both in English.

    I want to show the titles only at first page and every catalog pages. But all the instruction online are for old version WP, the code them mentioned I cannot find.
    Also, I cannot get the answer by searching here, because the search results come even from 10 years ago.

    Is there any plugin I an use? I am kind of fear to change code.

    BR
    Yao

Viewing 4 replies - 1 through 4 (of 4 total)
  • How a site outputs HTML is (at least) theme dependent. Plugins can be used to alter such output. My preferred method is a proper
    Page Template in a Child Theme.

    Please review each item at the Codex.

    Thread Starter Yide

    (@yide)

    Thanks, I will check if it is possible to change a Template, I am worry it influence the existing data. Thanks

    if you mean you just want show the title only in first latest post..

    you can use css for hide other title header post, just add this code in style.css in appereance > editor

    #content article header {
         display:none;
    }
    #content article:first-child header {
         display:block;
    }

    hope this help 🙂

    Thread Starter Yide

    (@yide)

    Thanks, I use the plugin named List Category Post and it partly solved my problem.
    I can show title only in categories pages now.
    I will find out how to set a fist page later

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to show Titles only in first page and catalog pages?’ is closed to new replies.