Support

Account

Home Forums Backend Issues (wp-admin) Select field not showing 'selected' choice Reply To: Select field not showing 'selected' choice

  • I’m using this function to convert the string and use the special chracters which the dropdown selector is having problems. Hope this can be fixed soon:

    function select_wsafe_font($fs) {
        if ($fs == "arial_bla") $fs = "'Arial Black', sans-serif";
        if ($fs == "arial_hel") $fs = "Arial, Helvetica, sans-serif";
        if ($fs == "centh_got") $fs = "Century Gothic, sans-serif";
        if ($fs == "couri_new") $fs = "'Courier New', Courier, monospace";
        if ($fs == "georgia") $fs = "Georgia, Serif";
        if ($fs == "impact") $fs = "Impact, Charcoal, sans-serif";
        if ($fs == "lucid_san") $fs = "'Lucida Sans Unicode', 'Lucida Grande', sans-serif";
        if ($fs == "palatino") $fs = "'Palatino Linotype', 'Book Antiqua', Palatino, serif";
        if ($fs == "tahoma") $fs = "Tahoma, Geneva, sans-serif";
        if ($fs == "times_new") $fs = "'Times New Roman', Times, serif";
        if ($fs == "trebuc_ms") $fs = "'Trebuchet MS', Helvetica, sans-serif";
        if ($fs == "verdana") $fs = "Verdana, Geneva, sans-serif";
        // Google Fonts
        echo $fs;
    } // END Selector Web Safe Font