PATH:
home
/
thebhoeo
/
public_html
/
booksfinders.com
/
wp-content__db40bc3
/
themes
/
woodmart
/
inc
/
shortcodes
<?php if ( ! defined( 'WOODMART_THEME_DIR' ) ) { exit( 'No direct script access allowed' );} /** * ------------------------------------------------------------------------------------------------ * Content in popup * ------------------------------------------------------------------------------------------------ */ if ( ! function_exists( 'woodmart_shortcode_popup' ) ) { function woodmart_shortcode_popup( $atts, $content = '' ) { $parsed_atts = shortcode_atts( array( 'id' => 'my_popup', 'title' => 'GO', 'link' => '', 'width' => 800, 'color' => 'default', 'style' => 'default', 'shape' => 'rectangle', 'size' => 'default', 'align' => 'center', 'button_inline' => 'no', 'full_width' => 'no', 'bg_color' => '', 'bg_color_hover' => '', 'color_scheme' => 'light', 'color_scheme_hover' => 'light', 'woodmart_css_id' => '', 'css_animation' => 'none', 'el_class' => '', 'content_class' => '', 'icon_fontawesome' => '', 'icon_openiconic' => '', 'icon_typicons' => '', 'icon_entypo' => '', 'icon_linecons' => '', 'icon_monosocial' => '', 'icon_material' => '', 'icon_library' => 'fontawesome', 'icon_position' => 'right', 'wd_animation' => '', 'wd_animation_delay' => '', 'wd_animation_duration' => '', ), $atts ); extract( $parsed_atts ); ob_start(); $parsed_atts['link'] = 'url:#' . esc_attr( $id ) . '|||'; $parsed_atts['el_class'] = 'wd-open-popup ' . $el_class; woodmart_enqueue_js_library( 'magnific' ); woodmart_enqueue_js_script( 'popup-element' ); woodmart_enqueue_inline_style( 'mfp-popup' ); echo woodmart_shortcode_button( $parsed_atts, true ); $content_classes = ''; $content_classes .= woodmart_get_old_classes( ' woodmart-content-popup' ); if ( $content_class ) { $content_classes .= ' ' . $content_class; } echo '<div id="' . esc_attr( $id ) . '" class="mfp-with-anim wd-popup wd-popup-element mfp-hide' . $content_classes . '" style="max-width:' . esc_attr( $width ) . 'px;"><div class="wd-popup-inner">' . do_shortcode( $content ) . '</div></div>'; return ob_get_clean(); } }
[-] categories.php
[edit]
[-] brands.php
[edit]
[-] user-panel.php
[edit]
[-] testimonials.php
[edit]
[-] image-hotspot.php
[edit]
[-] posts-slider.php
[edit]
[-] table.php
[edit]
[-] timeline.php
[edit]
[-] product-filters.php
[edit]
[-] info-box.php
[edit]
[-] social.php
[edit]
[-] row-divider.php
[edit]
[-] title.php
[edit]
[-] images-gallery.php
[edit]
[-] responsive-text-block.php
[edit]
[-] image.php
[edit]
[-] team-member.php
[edit]
[-] accordion.php
[edit]
[-] size-guide.php
[edit]
[-] list.php
[edit]
[-] mailchimp.php
[edit]
[-] text-block.php
[edit]
[-] products-tabs.php
[edit]
[-] ajax-search.php
[edit]
[-] slider.php
[edit]
[-] menu-price.php
[edit]
[-] blog.php
[edit]
[-] popup.php
[edit]
[-] twitter.php
[edit]
[-] mega-menu.php
[edit]
[-] sidebar.php
[edit]
[-] instagram.php
[edit]
[+]
..
[-] pricing-tables.php
[edit]
[-] tabs.php
[edit]
[-] off-canvas-column-btn.php
[edit]
[-] 3d-view.php
[edit]
[-] google-map.php
[edit]
[-] html-block.php
[edit]
[-] countdown-timer.php
[edit]
[-] gallery.php
[edit]
[-] promo-banner.php
[edit]
[-] button.php
[edit]
[-] portfolio.php
[edit]
[-] products.php
[edit]
[-] extra-menu.php
[edit]
[-] open-street-map.php
[edit]
[-] counter.php
[edit]
[-] author-area.php
[edit]