[Support request] Sticky post in categories

Home Forums Support [Support request] Sticky post in categories

Home Forums Support Sticky post in categories

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2044361
    Marc-Antoine

    Hi there

    I’m looking to make sticky post in categories, not just on the homepage.

    Is it possible with GP ?

    thanks 🙂

    #2044380
    Elvin
    Staff
    Customer Support

    Hi there,

    Sticky posts doesn’t work on taxonomy archive pages in general w/ the default WordPress function.

    The workaround would be:

    To try filtering it with PHP.
    https://gist.github.com/willmot/1417986/d0251b2cd2c869ff35fc0903244326e17fcbd5d4

    Or create a child theme and build your own archive page w/ custom loop.

    Or get a plugin that does it for you. (similar to the filter)

    A wise man once said:
    "Have you cleared your cache?"

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.