How can i custome page archive

Community Forums Forums General Discussion How can i custome page archive

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Susan 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #74644

    jaa3864
    Member
    Post count: 7

    Hi,

    I want to have custome page archive , in page archive i have this code :

    function genesis_page_archive_content() { ?>

    <h4><?php _e( ‘Category’, ‘genesis’ ); ?></h4>
    <div class=”one-half first”>

      <?php wp_list_categories( ‘exclude=77,82,54,62,1,65,11,24&title_li=<h2>’ . __(‘ ‘) . ‘</h2>’ ); ?>

    </div>
    <div class=”one-half”>

      <?php wp_list_categories( ‘exclude=77,82,54,62,1,65,36,42,47&title_li=<h2>’ . __(‘ ‘) . ‘</h2>’ ); ?>

    </div>

    <h4><?php _e( ‘Recent posts:’, ‘genesis’ ); ?></h4>

      <?php wp_get_archives( ‘type=postbypost&limit=50′ ); ?>

    <?php
    }

    This is my custome page archive : http://charmspa.vn/dich-vu

    WIth this :

      <?php wp_list_categories( ‘exclude=77,82,54,62,1,65,11,24&title_li=<h2>’ . __(‘ ‘) . ‘</h2>’ ); ?>

    Page archive only will display some category , don’t display all categories , i don’t know is it right , and do you have orther better way ?

    and with this :

    <h4><?php _e( ‘Recent posts:’, ‘genesis’ ); ?></h4>

      <?php wp_get_archives( ‘type=postbypost&limit=50′ ); ?>

    Page archive will show all posts on my site , if i want it only show all posts of one category , or 2, 3 specific categories , how can i do that .

    Please guide me .
    Thanks .

    #91168

    Susan
    Moderator
    Post count: 9583

    Since you posted this a while ago, I hope you were able to get a resolution to your issue. If not, please report back here, and I will try to assist, or escalate as appropriate.

    Thanks!


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

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

You must be logged in to reply to this topic.