WordPress.org

Ready to get started?Download WordPress

Forums

Category Grid View Gallery
Pulling random post instead of specified category (2 posts)

  1. Beau Vinci Violins
    Member
    Posted 5 months ago #

    I copy the desired category slug and paste it into the "category name" field in the short code generator. I click "generate short code" and then copy and paste the new short code into a new post. The resulting post pulls a bunch random pictures from random post, no of which are the specified category.

    How do I get this plugin to just pull the category I specify?

    https://wordpress.org/plugins/category-grid-view-gallery/

  2. cristieh
    Member
    Posted 4 months ago #

    I had this problem and it was because I had changed the category names but the slug remained the same. Not sure if it was specific to my theme but maybe it will help.

    Go to your list of categories in dashboard. Rather than clicking the category to get the slug choose view. See the URL. Copy the slug from there. Mine were different to the ones that were displaying in the other option.

    I also just pasted the slug into category name and left the category ID blank. I then deleted the category id from the shortcode and pasted this into my page.

    Hopefully that helps.

Reply

You must log in to post.

About this Plugin

About this Topic