Return to Support

Custom page of one category posts

Home Forums Graphene WordPress theme Support Custom page of one category posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6014
    Bloke
    Member

    I need to create a custom page that displays the posts like a category page. The top of the type of page says category archive: …. It lists each post with date, author, and a button to read more. My mobile theme loads pages and not categories. So I created a custom page with template with this code.

    query_posts('cat=10');
    while (have_posts()) : the_post();
    the_content();
    endwhile;
    ?>

    <?php get_footer(); ?>

    But it is not foratted the way I want.

    #33092
    Syahir Hakim
    Keymaster

    Formatting is all up to you. If you’re not familiar with using CSS to style a website, I’d suggest getting (paid?) help from someone who’s well-versed in it.

    #33093
    Bloke
    Member

    Yes I know CSS very well. It was more of the query and PHP format of the page. I figured it out. I copied archive.php and modified it and saved it as a template. Thanks.

    #33094
    Syahir Hakim
    Keymaster

    OK. Please mark this thread as resolved then. Thanks.

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

You must be logged in to reply to this topic.