WordPress.org

Ready to get started?Download WordPress

Forums

HTML tags in posts (1 post)

  1. justy
    Member
    Posted 7 years ago #

    I've hacked admin-functions.php so that when the user makes a new post, there's some text already there for them. Eg:

    From:

    To:

    and so on...

    I've done this by setting $post_content to the text.

    $post_content = 'From:<br>To:';

    I'd like to embolden some of the lines. I've read in other posts that only certain tags are allowed, eg strong, em, etc. However, under certain conditions (Safari on a Mac) the tags appear literally. Is this normal?

    Is there a workaround?

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags