WordPress.org

Ready to get started?Download WordPress

Forums

Options Framework
Options Framework: Typography issues (5 posts)

  1. theresavs
    Member
    Posted 2 years ago #

    I'm having a problem outputting the font correctly. It shows up as the sanitized version, but I've added some web safe fonts in the array that aren't showing up correctly.

    Example:
    font shows up like this:
    {font: normal 12px lucida}

    I need it show be like this:
    {font: normal 12px ‘Lucida Sans Unicode’, ‘Lucida Grande’, sans-serif;}

    how can I get it to output correctly when the plugin sanitizes it for the database?

    http://wordpress.org/extend/plugins/options-framework/

  2. Devin Price
    Member
    Plugin Author

    Posted 2 years ago #

    I think if you pre-escape the characters you'll be fine. Try using " instead of quotes.

  3. Devin Price
    Member
    Plugin Author

    Posted 2 years ago #

    Ah, let me use code to output this:

    Try using " instead of quotes.
  4. Devin Price
    Member
    Plugin Author

    Posted 2 years ago #

    Hmmm, you'll need to remove the spaces:
    & # 34 ; (otherwise the forums output it as the quote character)

  5. theresavs
    Member
    Posted 2 years ago #

    I believe I tried that and it didn't work. Also, I would still like it to output the entire font family.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic