Excluding featured post from another loop
I’m using your plugin to show a featured post at the top of a page. It’s great, thanks!
I need to exclude the post chosen in your widget from another loop below.
I tried getting the post id using get_the_ID in your plugin page and I can echo to ID, but I can’t seem to retrieve it on the actual page where the widget is …
I need the ID so I can use it in post__not_in in my other loop.
Any ideas how best to approach this?
Thanks in advance for your help.
- The topic ‘Excluding featured post from another loop’ is closed to new replies.