Support » Plugin: Category Grid View Gallery » Pulling random post instead of specified category

  • 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/

Viewing 1 replies (of 1 total)
  • cristieh

    (@cristieh)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Pulling random post instead of specified category’ is closed to new replies.