Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove "Allowed markup" text on post page


  • chengdu living
    Participant

    @chengdu-living

    On the post page, it says

    Allowed markup: BBcode a blockquote code em strong ul ol li img font strike center u hr cite.
    You can also put code in between backtick characters.

    How can I remove this text? I checked bb-post.php but couldn’t figure it out.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

  • chrishajer
    Participant

    @chrishajer

    You just want the text removed so it doesn’t show, even if people can still use it? If so, just edit your template files post-form.php and edit-form.php and remove the line that says:

    <p><?php _e(‘Allowed markup:’); ?> <?php allowed_markup(); ?>.
    <?php _e(‘Put code in between backticks.’); ?></p>

    If you actually want to change that or prevent the use of those tags, then you need to add a filter.


    chengdu living
    Participant

    @chengdu-living

    Worked great, thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.