static function admin() { wp_enqueue_style('mythemes-google-fonts', 'http://fonts.googleapis.com/css?family=Montserrat:400,700|Noto+Sans:400,700,400italic,700italic'); wp_enqueue_style('mythemes-effects', get_template_directory_uri() . '/media/css/effects.css'); wp_enqueue_style('mythemes-header', get_template_directory_uri() . '/media/css/header.css'); ?> <style> div.mythemes-header .valign-cell h1{ color: <?php echo get_header_textcolor(); ?> ; } div.mythemes-header .valign-cell p{ color: rgba(<?php echo mythemes_hex2rgb(get_header_textcolor()); ?> , 0.65 ); } div.mythemes-header .valign-cell p.buttons a.btn{ background: <?php echo myThemes::get('first-color'); ?> } div.mythemes-header .valign-cell p.buttons a.btn.second-button{ background: <?php echo myThemes::get('second-color'); ?> } </style> <?php }
if (myThemes::get('show-header-title')) { ?> <h1 style="color: #<?php echo get_header_textcolor(); ?> "><?php echo myThemes::get('header-title'); ?> </h1> <?php } /* HEADER DESCRIPTION */ if (myThemes::get('show-header-desc')) { ?> <p class="description" style="color: rgba(<?php echo mythemes_hex2rgb(get_header_textcolor()); ?> , 0.65 );"><?php echo myThemes::get('header-desc'); ?> </p> <?php } /* HEADER BUTTONS */ if (myThemes::get('show-first-button') || myThemes::get('show-second-button')) { ?> <p class="buttons"> <?php /* FIRST BUTTON */ if (myThemes::get('show-first-button')) {