WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WordPress Admin Bar] Feature Request: Hide bar for comments popup (3 posts)

  1. spencersokol
    Member
    Posted 4 years ago #

    I use comments in a popup window because I'm a dork. Anyway, i thought it would be cool to add a feature to not show the admin on that page.

    I just added this bit to the plugin after the media frame check:

    // Don't do anything within the comments popup
    	if ( isset($_REQUEST['comments_popup']))
    		return;

    I was wondering if there was a way, without modifying the plugin, to turn off the admin bar for specific pages. Something like $WPAdminBar->Disable() before wp_head or wherever the hook is set.

    I know I'm way in the minority here, so... no biggie.

  2. Fixed in v3.1.8. :)

  3. spencersokol
    Member
    Posted 4 years ago #

    Awesome, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic