• Hello,

    I have a custom archive page with a custom menu. Both are dynamically filled with posts. Here’s the code of the menu: https://pastebin.com/MfHKt8AF

    Since activating your plugin and adding 2 sticky posts, the menu contains a duplicate entry named “PPS Rijnstraat 8”. This duplicate entry is visible on the last page of the archive.

    Why does activating your plugin add a duplicate entry to my menu? I’ve checked the posts there’s only one project named “PPS Rijnstraat 8”. There’s no other code change that could explain this behaviour.

    I hope you can take a look with me so we can figure this out.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Markus Wiesenhofer

    (@markusfroehlich)

    Hello marcoevich,
    you can use the “ignore_sticky_posts” Parameter in your args.

    Best regards
    Markus

    Thread Starter Marcoevich

    (@marcoevich)

    Hey Markus,

    Thanks for your reply and keeping this plugin supported. It is appreciated!

    I have just tried this and unfortunately it does indeed ignore sticky posts. The 2 first posts on my page are sticky, and should stay that way. Unfortunately, the project PPS Rijnstraat 8 is duplicated on the second page. When I use this parameter in the args, this problem goes away, but it also removes the sticky posts that should stay in place.

    Do you know how to overcome this problem?

    Thanks!

    Rick

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sticky posts are duplicated in Menu’ is closed to new replies.