WordPress.org

Forums

TT Guest Post Submit
[resolved] setting the post category (3 posts)

  1. Jobai
    Member
    Posted 2 years ago #

    Hello,
    I really like your Plug-in but I am missing the feature to set the category for the post by myself and not letting the user chose it.

    Could you give me some advice how to change the code, so the posts will all be in one category I have chosen?

    Thank you very much.

    https://wordpress.org/plugins/tt-guest-post-submit/

  2. Jobai
    Member
    Posted 2 years ago #

    Never mind I found a Solution by myself.
    For those who are Interested I included the "Include" parameter into the wp dropdown categories function. It will then look like this:

    . wp_dropdown_categories('include=1&name=catdrp&taxonomy=category&hide_empty=0&echo=0') .

  3. Rashed Latif
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the late reply. But its good that you already figured out how to add that functionality.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TT Guest Post Submit
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic