• mrwolfy

    (@mrwolfy)


    For some reason sticky posts are not working with my custom theme. If I use the default theme, posts stick to the top of the list. With my theme “Sticky” seems to be ignored. Does anybody have any idea why this would be?

    below is the code I am using for my blog page. It is from “a page of posts” code. Perhaps this is no longer the “front page”??
    [Moderated: Code moderated as per Forum Rules]

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Your theme may be using a custom query that ignores sticky posts. You could drop a copy of the relevant template file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

    Thread Starter mrwolfy

    (@mrwolfy)

    Fixed! I just used the code from the default, and kept my cusom styling, it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sticky post not working in my theme’ is closed to new replies.