Replies: 0
In the header is two logos : Legal office & Security business
This rule works to spoof logo lettering on one page and one logo for the other pages the logo is underlined.
<span class=”logo_helper”></span>
“>
<?php if (1==get_post_meta($post->ID, ‘buisness_security’, true)) { ?>
<span style=”color:#333;”>Underlined logo</span>
<?php } else { ?>
“id=”logo” data-height-percentage=”<?php echo esc_attr( et_get_option( ‘logo_height’, ’54’ ) ); ?>” />
(created by adding custom fields)
The question of why it is impossible to create the same thing for the first logo of the Law office? Tell me how to implement it ? (create an arbitrary field, in the editor, insert the code okazyval the name of your custom field not working, the whole site disappears)
<span class=”logo_helper”></span>
“>
<?php if (1==get_post_meta($post->ID, ‘uridicheskaya_pomosh’, true)) { ?>
<span style=”color:#333;”>Underlined logo</span>
<?php } else { ?>
“id=”logo” data-height-percentage=”<?php echo esc_attr( et_get_option( ‘logo_height’, ’54’ ) ); ?>” />