Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Support request] standard archive output

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support standard archive output

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9637
    sparkle
    Participant

    how do i use my list setup as the standard archive output? i’m using generatepresspro as my theme base and i have a child theme.

    #9665
    Dee
    Participant

    I used a archive.php in my child theme, and replaced everything from while and endwhile with this:

     						$cat = get_category( get_query_var( 'cat' ) );
    	
    						$cat_slug = $cat->slug;
    						$list = get_page_by_title( 'Simple', 'OBJECT', 'wp_show_posts' );
    						wpsp_display( $list->ID, 'tax_term="' . $cat_slug . '"' );

    ‘Simple’ is the name of your list from WP Show Posts

    #9723
    Tom
    Keymaster
    #9887
    sparkle
    Participant

    thank you both. jumping in!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.