WordPress.org

Ready to get started?Download WordPress

Forums

Want to get rid of categories and post page (6 posts)

  1. Tokatter
    Member
    Posted 3 years ago #

    I have web page with only static pages, no blog, no posts.
    Under the heading on my home page, there is a category bar, and when that is clicked, a post page (with a default Hello World message) comes up. I don't want this post page.
    How do I get rid of the category bar (which I have named Pottery and Design, since I couldn't get rid of it), or at least make it non-clickable so the post page doesn't show up?

    I am a newbie.

    Thanks!

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

    posibly in header.php of your theme - look for some code with wp_list_categories() and delete it.

    name of your theme (only useful if you are using a free theme) ?

    link to your site?

  3. Tokatter
    Member
    Posted 3 years ago #

    Hi alchymyth,
    Below is what I found in the header.php. What part of this should I delete?
    My theme is Photabulous, but my site isn't public yet. I can send you the temporary URL, but then you'd need my password, right? Is it necessary in order to help me?

    Thanks!

    <div id="wrapper">

    <h1 id="title">/"><?php bloginfo('name'); ?></h1>

    <ul id="categories">
    <?php wp_list_categories('title_li&depth=1'); ?>

  4. Tokatter
    Member
    Posted 3 years ago #

    Can someone help?

  5. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    this is nearly it:

    <ul id="categories">
    <?php wp_list_categories('title_li&depth=1'); ?>

    delete this, and also the </ul> that should be directly after it.

    unfortunately your code snippet is a bit short.

  6. Tokatter
    Member
    Posted 3 years ago #

    Thank you, alchymyth, that worked! The was at the very bottom. I guess I hadn't scrolled down far enough.

Topic Closed

This topic has been closed to new replies.

About this Topic