The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Admin Bar Backend Search
[resolved] Works great (3 posts)

  1. This works exactly as advertised! If I come up with any suggestions, I'll be sure to let you know!


  2. plittlefield
    Posted 4 years ago #

    Great plugin! How can I change the first (default) option to be Pages instead of Posts?

  3. Dominik Schilling (ocean90)
    4.6 Release Lead
    Plugin Author

    Posted 4 years ago #

    function ds_switch_post_page( $types ) {
    	$tmp           = $types['post'];
    	$types['post'] = $types['page'];
    	$types['page'] = $tmp;
    	return $types;
    add_filter( 'ab_backend_search_types', 'ds_switch_post_page' );

    See http://wpgrafie.de/wp-plugins/admin-bar-backend-search/en/#comment-1096

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Bar Backend Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic