• I have a video site and I use a plugin that displays a report button. I have edited it so that it only shows the report button on the pages that have no children (the videos) successfully.

    $pagekids = get_pages("child_of=".$post->ID."&exclude=166,206,230,1127");
    if ($pagekids) {}
    else {
    return $text;
    }

    My problem is, it is also showing up on my posts which I don’t want it to do. Help please!

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Exclude from posts?’ is closed to new replies.