Remove "All" Category

New home Forums Gold Add-on Troubleshooting Remove "All" Category

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #29302

    Here is the site I am trying to edit: . I am trying to get rid of the “All” category and center the remaining categories with checkboxes after that. Is there a way to do this?


    Nevermind, I tried what you guys suggested here: and it worked. Thanks! (it would still be nice to know if there is a change that doesn’t require me to alter the php files)


    Hi there

    Thank you for getting in touch with us.

    Unfortunately the ‘All’ checkbox can only be disabled/removed in the plugin’s code at this point in time.

    This can be done by going to wp-google-maps-pro/wp-google-maps-pro_categories.php and locating a line of code on line 393 that looks like this:

    if ($show_all) { $ret_msg .= “”.__(“All”,”wp-google-maps”).””; }

    Please add the following above this line. This will remove that ‘All’ checkbox and ensure that the remaining categories are centered:

    $show_all = false;

    I hope this helps?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.