Пример #1
0
 function om_theme_custom_styling_inline_css()
 {
     $css = om_theme_get_styling();
     echo '<style>' . om_esc_css($css) . '</style>';
 }
Пример #2
0
 function om_page_css($classes)
 {
     global $_OM_PAGE_CSS;
     if ($_OM_PAGE_CSS != '') {
         echo '<style>' . om_esc_css($_OM_PAGE_CSS) . '</style>';
     }
 }
Пример #3
0
 function om_custom_css_block()
 {
     $custom_css = get_option(OM_THEME_PREFIX . 'code_custom_css');
     if ($custom_css) {
         echo '<style>' . om_esc_css($custom_css) . '</style>';
     }
 }