Support » Fixing WordPress » [Plugin: Posthaste] Selecting default category

  • Hi. Instead of letting the drop down menu for the Category selection to display ‘Category_’, how can I change that to another text, say for instance, probably, ‘Select Category’; or better still, set to display the default category when posting from the Posthaste form. Anyone? Many thanks in advance ya… cheers


Viewing 3 replies - 1 through 3 (of 3 total)
  • To just change the default text, you can modify line 181, though standard disclaimers about modifying plugin code directly apply (updates will overwrite it, etc.)

    As for your “better still” request, you can look at my comment in line 182 to see that I too would rather have the default category selected by default, but I couldn’t figure out how to get at it! It’s been awhile though, so I’ll go take a stab at it again & report back if I succeed. Anyone else know?

    Ok, that was actually really easy. 🙂 Just go to line 182 and replace it with the following:

    'selected' => get_option('default_category'),

    I’ll include this in the next version of the plugin. Thanks for reminding me I needed to add this.

    You can just download the plugin with these changes from github if you don’t want to modify the code yourself:

    I’ve got a few other things I’d like to do before releasing an official update on though.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Posthaste] Selecting default category’ is closed to new replies.