public function global_page_header() { global $oxy_theme_options; if (isset($oxy_theme_options['bbpress_header_show_header']) && $oxy_theme_options['bbpress_header_show_header'] === 'show') { // use custom title $title = $this->get_page_header_title(); $heading = oxy_call_shortcode_with_theme_options('oxy_section_heading', array('sub_header', 'header_type', 'sub_header_size', 'header_size', 'header_weight', 'header_align', 'header_condensed', 'header_underline', 'header_underline_size', 'heading_type', 'extra_classes', 'margin_top', 'margin_bottom', 'scroll_animation', 'scroll_animation_delay'), $title, $oxy_theme_options, 'bbpress_header_', array('heading_type' => 'bbpress')); // create section using theme options echo oxy_call_shortcode_with_theme_options('oxy_shortcode_section', array('swatch', 'text_shadow', 'inner_shadow', 'width', 'class', 'id', 'overlay_colour', 'overlay_opacity', 'overlay_grid', 'background_video_mp4', 'background_video_webm', 'background_image', 'background_image_size', 'background_image_repeat', 'background_image_attachment', 'background_position_vertical', 'height', 'transparency'), $heading, $oxy_theme_options, 'bbpress_header_'); } }
* * @copyright (c) 2015 Oxygenna.com * @license **LICENSE** * @version 1.17.0 * @author Oxygenna.com */ $options = get_option(THEME_SHORT . '-options'); $template_margin = $options['template_margin']; ob_start(); ?> <div class="col-md-12 element-top-<?php echo esc_attr($template_margin); ?> element-bottom-<?php echo esc_attr($template_margin); ?> "> <div class="masonry blog-masonry use-masonry isotope no-transition" data-padding="<?php echo esc_attr(oxy_get_option('blog_masonry_item_padding')); ?> " data-col-xs="1" data-col-sm="2" data-col-md="4" data-col-lg="4"> <?php include locate_template('partials/blog/loops/masonry.php'); ?> </div> </div> <?php $masonry = ob_get_contents(); ob_end_clean(); echo oxy_call_shortcode_with_theme_options('oxy_shortcode_section', array('text_shadow', 'inner_shadow', 'width', 'class', 'id', 'overlay_colour', 'overlay_opacity', 'overlay_grid', 'background_video_mp4', 'background_video_webm', 'background_image', 'background_image_size', 'background_image_repeat', 'background_image_attachment', 'background_position_vertical', 'background_image_parallax', 'background_image_parallax_start', 'background_image_parallax_end', 'height', 'transparency', 'vertical_alignment'), $masonry, $options, 'masonry_section_');