[Support request] Plugin Showcase compatible with GeneratePress

Home Forums Support [Support request] Plugin Showcase compatible with GeneratePress

Home Forums Support Plugin Showcase compatible with GeneratePress

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

    Hello, I am looking for a plugin to show my web design work on a GRID type page and that from the image takes the visitor to a detail view of each work done. It must be compatible with GeneratePress.
    If you know of any, please indicate them.
    Thanks

    #1628116
    David
    Staff
    Customer Support

    Hi there,

    you could create a Post Category specifically for your ‘works’ – then create a separate post for each of them. Then use the WP Show Posts plugin to display that list on your works landing page

    https://en-gb.wordpress.org/plugins/wp-show-posts/

    You can then exclude those posts from displaying in your Blog with a PHP Snippet:

    function exclude_category( $query ) {
        if ( $query->is_home() && $query->is_main_query() ) {
            $query->set( 'cat', '-10' );
        }
    }
    add_action( 'pre_get_posts', 'exclude_category' );

    Just change the 10 to match the Category ID.

    Alternatively WPSP can display Pages ( or any CPT ) but without a taxonomy you would have to specify each Page ID in the WPSP list.

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