• Hi,

    I have this Contact post which shows up whenver the Home page is loaded. How can I fix it so that it won’t show up at the Home page? It has nothing to do with exclude parameter of php wp_list_pages() because I’ve tried it and didn’t help.

    Any help is appreciated. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, can you be more clear on this?

    1. Do you create the Contact as a Post or as a Page?

    2. Does this Contact appear along with other posts, or there’s nothing else but itself?

    Thread Starter misty9

    (@misty9)

    Hi,

    1. I have created the Contact as a Post
    2. The Contact post appears above the default “Hello World” post which is the default Home page.

    Just the following part shows up on the Home page, not the form part.

    “Contact Author
    Use the following form to contact author via email. Your email will be read and author will try to reply as much as possible.”

    I see.
    I believe you need to create the Contact as a Page. As a Post it will be included with the other blog posts, but as a Page it will not. Read more: https://codex.www.ads-software.com/Pages

    Thread Starter misty9

    (@misty9)

    Thanks for your effort, Hafiz.

    I was testing the exactly the same theme in two sub domains. The contact page is a post and it doesn’t show up in the Home page in one of the sub-domains. I must have messed up something along the way.

    Will try to figure out what the cause of it.

    By the way, I’ve checked several other themes, their contact page is a post and no issue appearing on the Home page at all.

    Thread Starter misty9

    (@misty9)

    Still haven’t found a solution yet. But, I’ve found out that the same theme works in Word Press 2.2, but not working in Word Press 2.2.2.

    The following code makes a difference:

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    – The working blog would have only one PAGE called MyTestPage:
    <title>skybluedot.com » MyPortF</title>

    – The problematic blog would show the Hello World POST and the Contact POST when click on Home menu item.

    Hafiz is correct, a Contact page belongs as a Page in WordPress, not a Post. It is intended that all posts show up on your home view. Pages are non-chronological content that will not be displayed in blog views.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why does Contact post shows up whenver loading the Home page?’ is closed to new replies.