Wordpress Discussion
Wordpress Discussion
Out of context: Reply #4
- Started
- Last post
- 164 Responses
- ArmandoEstrada0
Not sure why you have this:
$exclude = $GLOBALS['current_id'];
I would:
$this_post = $post->ID;
then:
'post__not_in' => array($this_post)
maybe?