Skip to:
Content
Pages
Categories
Search
Top
Bottom

Still can't hide tags input (twentyten)

  • I’ve found 3 different fixes here for hiding the topic tags input field, but nothing works for me.

    ____________________________

    Here is the input on the page:

    <p>

    <label for=”bbp_topic_tags”>Topic Tags:</label>

    <input type=”text” value=”” tabindex=”103″ size=”40″ name=”bbp_topic_tags” id=”bbp_topic_tags” />

    </p>

    ____________________________

    Is this the CSS file I edit?

    wp-content > plugins > bbpress > bbp-twentyten > css > bbpress.css

    ____________________________

    Here is the tags area there:

    div.bbp-breadcrumb,

    div.bbp-topic-tags {

    font-size: 12px;

    }

    #content div.bbp-breadcrumb p,

    #content div.bbp-topic-tags p {

    margin-bottom: 10px;

    }

    div.bbp-topic-tags {

    float: right;

    }

    ____________________________

    Although on the web page, as you can see, there are underscores, not hyphens.

    I’ve tried div.bbp_topic_tags {display: none;} etc. to no avail.

    Please explain clearly for this non-coder how to hide the input.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • That didn’t work, Nuldi.

    Am I even editing the right file?

    wp-content > plugins > bbpress > bbp-twentyten > css > bbpress.css

    Wish I could do it with CSS, but I ended up just deleting the inputs from the PHP files.

    Solution:

    bbpress > form-reply.php form-topic.php

    Delete this part in each of the above files:

    <?php do_action( ‘bbp_theme_before_reply_form_tags’ ); ?>

    <p>

    <label for=”bbp_topic_tags”><?php _e( ‘Tags:’, ‘bbpress’ ); ?></label>

    <input type=”text” value=”<?php bbp_form_topic_tags(); ?>” tabindex=”<?php bbp_tab_index(); ?>” size=”40″ name=”bbp_topic_tags” id=”bbp_topic_tags” <?php disabled( bbp_is_topic_spam() ); ?> />

    </p>


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Do not modify the core files that are included with bbPress.


    Lynq
    Participant

    @lynq

    Did you try just doing #bbp_topic_tags { display: none; } ?

    Check it in firebug (which I highly recommend using) and add further elements in front of it to make sure it isn’t hiding something else for example…

    #bbp_topic_tags { display: none; }

    Check it is still hidden

    p #bbp_topic_tags { display: none; }

    Check it is still hidden

    .divelement p #bbp_topic_tags { display: none; }

    Check it is still hidden

    Best way to do it if your not confident with CSS, just check each stage and if it stops being hidden, then you have specified an incorrect element in your CSS.

    Good luck!

    Thanks, Lynq (and John).

    I could have sworn I tried that.

    This time I put #bbp_topic_tags { display: none; } at the very top of the CSS, and now it works.

    And then I went into form-reply.php and form-topic.php and deleted the words “Topic tags:” and “Tags:”

    Thanks all!!!

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