Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 12 posts - 1 through 12 (of 12 total)

Link a category to a page

Home Forums Misc. General Forums Link a category to a page

  • #12500

    rachael.s

    subscriber

    I’ll be starting a “project” on my blog and I’d like it to have its own page so it’s accessible.

    Is there a way to link a category to a page, so that I can introduce my project (on the page) and every blog post I make in this category shows up together? Hope this makes sense.

    Or, is there a way to highlight categories with their own menu bar?

    I’m new at this!

    :o)

    Thanks,

    Rachael

    #17710

    rachael.s

    subscriber

    Never mind. I figured it out. I made a custom menu and added the category for that particular blog project. Yay!

    #17711

    rachael.s

    subscriber

    Hi again.

    Actually, I’d STILL like to link my category to a page if it’s possible; I’d like a main page to explain the project with a link to the blog category.

    Thanks AGAIN!

    Rachael

    #17712

    Towfiq I.

    administrator

    so you want to display posts from a certain category inside a page?

    #17713

    rachael.s

    subscriber

    Yes. Thank you.

    #17714

    Towfiq I.

    administrator

    why dont you add the category link to your menu?

    #17715

    rachael.s

    subscriber

    I did. It works well. Looks good. It shows up looking a lot like a page. I’d just like a way to introduce and explain the project. I’d like the summary to be above all the posts from the category.

    Thanks.

    Love the theme, by the way. Well done.

    #17716

    Towfiq I.

    administrator

    do you want to display a category description?

    #17717

    rachael.s

    subscriber

    Yes! I’d like it to show up when someone goes to the category from my custom menu. I’d need the description to be at least a page long, though, so I thought if I could link the category to the page it would be perfect.

    #17718

    Towfiq I.

    administrator

    Go to Appearance> Editor and select “category.php” and add these lines:

    <h2><?php single_cat_title(); ?></h2>
    <p><?php echo category_description(); ?></p>

    After this line:

    <?php get_header(); ?>

    #17719

    rachael.s

    subscriber

    Thanks. I did that. Now what? Should the category description show up automatically when a categorized post is selected? Is there something else I need to do?

    Thanks.

    #17720

    Towfiq I.

    administrator

    you will need to add category descriptions from

    Posts> Categories

    then, when you click the category page you will see it.