• Resolved bistromatic

    (@bistromatic)


    Hello,

    I have selected “Use a hidden field for the post category” of the “Hidden/Default Category” and entered a category name in the field below. I’ve also created the category in posts->categories.

    When I create a post using the USP form, the post is submitted correctly but the category field is empty!

    Please advise.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Starr

    (@specialk)

    I just re-tested the hidden category field and it seems to work normally on default WordPress. That means that for your setup, either something is interfering (like another plugin or theme) or there is misconfiguration somewhere.

    Based on your description, I am guessing that you entered the category name, instead of the category ID? If you read carefully the setting calls for an ID, not a name. So that would be the first thing to check.

    Thread Starter bistromatic

    (@bistromatic)

    Thank you for your reply! You’re correct, I entered the category name. Where do I find the category ID?

    Plugin Author Jeff Starr

    (@specialk)

    Tons of tutorials about this, for example:

    https://www.google.com/search?q=how+to+find+category+id+in+wordpress

    I hope that helps, let me know if I can provide any further infos.

    Thread Starter bistromatic

    (@bistromatic)

    Thank you!

    Just out of curiosity: why don’t you use the category name? It would make it much easier for the user.

    Plugin Author Jeff Starr

    (@specialk)

    You’re welcome!

    Will consider using category name instead of ID, thanks.

    Thread Starter bistromatic

    (@bistromatic)

    I used to be a usability guy at my last job. I’m always looking for ease of use.

    Here’s the WP function get_cat_ID( string $cat_name )

    Thanks again!

    Plugin Author Jeff Starr

    (@specialk)

    Hey looking closer at this, it’s possible to get the category ID by hovering over the category name in the plugin settings. It was there all along!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hidden/Default Category not working’ is closed to new replies.