Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (
- $cmsmasters_option['printpress' . '_footer_type'] == 'default' &&
- $cmsmasters_option['printpress' . '_footer_logo']
- ) {
- printpress_footer_logo($cmsmasters_option);
- }
- if (
- (
- $cmsmasters_option['printpress' . '_footer_type'] == 'default' &&
- $cmsmasters_option['printpress' . '_footer_html'] !== ''
- ) || (
- $cmsmasters_option['printpress' . '_footer_type'] == 'small' &&
- $cmsmasters_option['printpress' . '_footer_additional_content'] == 'text' &&
- $cmsmasters_option['printpress' . '_footer_html'] !== ''
- )
- ) {
- echo '<div class="footer_custom_html_wrap">' .
- '<div class="footer_custom_html">' .
- do_shortcode(wp_kses(stripslashes($cmsmasters_option['printpress' . '_footer_html']), 'post')) .
- '</div>' .
- '</div>';
- }
- if (
- has_nav_menu('footer') &&
- (
- (
- $cmsmasters_option['printpress' . '_footer_type'] == 'default' &&
- $cmsmasters_option['printpress' . '_footer_nav']
- ) || (
- $cmsmasters_option['printpress' . '_footer_type'] == 'small' &&
- $cmsmasters_option['printpress' . '_footer_additional_content'] == 'nav'
- )
- )
- ) {
- echo '<div class="footer_nav_wrap">' .
- '<nav>';
- wp_nav_menu(array(
- 'theme_location' => 'footer',
- 'menu_id' => 'footer_nav',
- 'menu_class' => 'footer_nav'
- ));
- echo '</nav>' .
- '</div>';
- }
- if (
- isset($cmsmasters_option['printpress' . '_social_icons']) &&
- (
- (
- $cmsmasters_option['printpress' . '_footer_type'] == 'default' &&
- $cmsmasters_option['printpress' . '_footer_social']
- ) || (
- $cmsmasters_option['printpress' . '_footer_type'] == 'small' &&
- $cmsmasters_option['printpress' . '_footer_additional_content'] == 'social'
- )
- )
- ) {
- printpress_social_icons();
- }
- ?>
- <span class="footer_copyright copyright">
- <?php
- if (function_exists('the_privacy_policy_link')) {
- the_privacy_policy_link('', ' / ');
- }
- echo esc_html(stripslashes($cmsmasters_option['printpress' . '_footer_copyright']));
- ?>
- </span>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement