Viewing 3 replies - 1 through 3 (of 3 total)
  • I think this will work:

    global $wp_query;
    $hide_posts = (current_user_can('administrator')) ? 0 : 1;
    query_posts(
    	array_merge(
    		$wp_query->query,
    		array('caller_get_posts' => $hide_posts),
    	)
    );
    Thread Starter general_salt

    (@general_salt)

    That is to hide Stickies in loop right? I should have explained myself better. I was wondering if it was possible to remove the sticky option in the admin section.

    Sorry, I misunderstood. I don’t know of any way to hide the admin option.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sticky Posts just for admin’ is closed to new replies.