Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modify "New Post" Form

  • @ryanssealey

    Participant

    Site: http://dubiousdata.net/forums/forum/news
    WP Version: 3.8
    bbPress Version: 2.5.2

    I would like to modify the new post form that displays below the current topics in a forum. I was trying to do it with only CSS, but I have run into a problem.

    I want to remove the “Topic Tags” field below the body area. I initially tried with the following CSS:

    label[for=bbp_topic_tags],
    input[id=bbp_topic_tags] {
    display: none;
    }

    This removed the form and label themselves, but there is a <p> </p> tag around these with no Class or other identifier, leaving a noticeable space.

    What is the best way to accomplish this or modify the form?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @netweb

    Keymaster

    bbPress might not have many settings but it does have this one 😉

    https://codex.bbpress.org/forum-settings/#forum-features

    Topic Tags
    This will disable topic tags site wide and will no longer show topic tags associated with each topic or the topic tag input form.

    @ryanssealey

    Participant

    I can’t believe I missed that. Thanks for pointing it out!

    I was hoping to learn a way to manipulate those <p> tags anyway so I could make the whole form for admin users more compact (like the topic type and topic status fields). So if you happen to know of a way, please let me know.

    Thanks much either way!

    @netweb

    Keymaster

    You could add some custom code with a filter before and after the tags section and apply some custom CSS rules using:

    bbp_theme_before_topic_form_tags & bbp_theme_after_topic_form_tags

    Or make a copy of form-topic.php in your themes /bbpress folder and edit the template to exactly how you would like it.

    https://codex.bbpress.org/theme-compatibility/

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