Forums

sticky post not working in my theme (3 posts)

  1. mrwolfy
    Member
    Posted 2 years ago #

    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]

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  3. mrwolfy
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.