Viewing 7 replies - 1 through 7 (of 7 total)
  • Here‘s a workaround.

    Thread Starter Tamagochi

    (@supertamagochi)

    Hi,

    Thanks a lot Electric Feet, but is there a way to do it without a plugin??, the thing is to set a categorie link instead of a post or page, I think it would be easier than we think

    Best Regards

    You can create pages to display posts of one category and then display that page.

    <?php
    /*
    Template Name: AnyCategory /*Give it the category name */
    */

    get_header();

    do_action( ‘__fp_block’ );

    do_action( ‘__breadcrumb’ );
    ?>
    <div class=”container” role=”main”>

    <div class=”row”>

    <?php query_posts(‘cat=3’); ?> /*Put the Category ID here */

    <?php
    do_action( ‘__sidebar’ , ‘left’ );

    do_action( ‘__loop’ );

    do_action( ‘__sidebar’ , ‘right’ );
    ?>

    </div><!–#row –>

    </div><!– #container –>
    <?php

    get_footer();
    ?>

    Thread Starter Tamagochi

    (@supertamagochi)

    Hi

    Thanks for your help. but you mean create pages in php, not in the WP structure, and the theme just len me select internal pages, isn’t it?.

    Best Regards

    I explain why this is difficult here. A plugin is a good workaround.

    Thread Starter Tamagochi

    (@supertamagochi)

    Thanks for your answer, the thing is I have too much plugins right now, and I don’t know if one more could work fine. I’ll give it a try.

    Deetech,

    I’m curious about your suggestion.
    Once I make that page template how do I get it to show up as one of my featured pages choices?
    Is it as simple as making a blank page with that as the template?

    Thanks in advance,

    jmw

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘use categories as featured pages’ is closed to new replies.