This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

post list not excluding category

  • Creator
    Topic
  • #9091
    slatronica
    Participant

    Trying to use custom query string on the Mini Post List widget. Tried usign get_post params but not working. Tried ID and name of category to exclude

    exclude=news-from-the-road&numberposts=4&orderby=rand

    Honors everything except the category exclude..Any thoughts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #9092
    Jason Bobich
    Keymaster

    Hello,

    Try taking numerical category ID and doing the query like this:

    cat=-123&numberposts=4&orderby=rand

    “123” would be the category ID being excluded here, prefaced with the minus sign. Does that work?

    #9095
    slatronica
    Participant

    Thanks for your help that worked. Very nice theme setup and config options.

    #9097
    Jason Bobich
    Keymaster

    Thanks! Glad you got it figured out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.