Site logo

Archived topic

Plugin Showcase compatible with GeneratePress

1 reply · Started by Lorenzo on January 21, 2021

Viewing posts 1–2 of 2

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

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.

This archived topic is closed to new replies.