• Resolved Mr Robville

    (@mr-robville)


    Hi, I’ve placed the following code on one of my page:
    [thumbnailgrid post_type=’portfolio’ aligngrid=”center” order=’RAND’ category=’8′ posts_per_page =’4′ showcaption=FALSE]

    Despite I’ve added the “category=’8′” bit, the plugin shows all posts regardless of what category they are in.

    I’ve tried using “cat=’8′” instead, but no luck.

    Also the random order doesn’t seem to work, but that’s another issue.

    https://ww.wp.xz.cn/plugins/thumbnail-grid/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Mr Robville

    (@mr-robville)

    I managed to find a workaround by abandoning the category system and using tags instead. Adding the code

    tag='tagslug'

    This seems to work. I’ll mark the topic as resolved though this is more of a workaround instead of a fix.

    Plugin Author A. Jones

    (@nomadcoder)

    Hi Mr. Robville, Sorry for the late reply. Please feel free to email me at [email protected] if you have an urgent issue because I don’t check the forums here often.

    Your portfolio post type may actually have a custom taxonomy for the category in which case category or cat will not work. I was wondering if you would mind letting me know which plugin you are using, even if it’s jetpack. That way I can figure it out so that you don’t have to hack.

    I have this same problem, but when I use tag works.

    Plugin Author A. Jones

    (@nomadcoder)

    I don’t have enough information to resolve this.

    I need to know what post type you are using in order to understand what is happening. If it’s portfolio, which plugin are you using that is providing the portfolio?

    Also it helps to provide a link to an example of the issue along with the specific shortcode that you are using so that I can try to figure out what is going on.

    The most common mistake that people make is using the wrong category id.

    thanks!
    Adrian

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Specific category not working’ is closed to new replies.