$locked ) . '>'; $inner .= 'update_option_lockable( array( 'icon', 'icon_fakeArg' ), $locked ) . " class='avia_button_icon avia_button_icon_right'>{$display_char}"; $inner .= ''; $inner .= ''; $inner .= ''; $params['innerHtml'] = $inner; $params['class'] = ''; return $params; } /** * Create custom stylings * * @since 4.8.4 * @param array $args * @return array */ protected function get_element_styles( array $args ) { $result = parent::get_element_styles( $args ); extract( $result ); /** * Fix a bug in 4.7 and 4.7.1 renaming option id (no longer backwards comp.) - can be removed in a future version again */ if( isset( $atts['linktarget'] ) ) { $atts['link_target'] = $atts['linktarget']; } $default = array( 'label' => 'Click me', 'link' => '', 'link_target' => '', 'position' => 'center', 'icon_select' => 'no', 'icon' => '', 'font' => '', 'icon_hover' => '', 'title_attr' => '', 'description_pos' => '', 'color' => 'theme-color', 'color_hover' => 'theme-color-highlight', 'custom_bg' => '#444444', 'custom_bg_hover' => '#444444', 'color_font' => 'custom', 'custom_font' => '#ffffff', 'color_font_hover' => '#ffffff', 'custom_font_hover' => '#ffffff' ); $default = $this->sync_sc_defaults_array( $default, 'no_modal_item', 'no_content' ); $locked = array(); Avia_Element_Templates()->set_locked_attributes( $atts, $this, $shortcodename, $default, $locked, $content ); Avia_Element_Templates()->add_template_class( $meta, $atts, $default ); $atts = shortcode_atts( $default, $atts, $this->config['shortcode'] ); // modify atts so we can use default styling rules $mod_atts = $atts; $mod_atts['color_options'] = 'color_options_advanced'; $mod_atts['btn_color_bg'] = $atts['color']; $mod_atts['btn_custom_bg'] = $atts['custom_bg']; $mod_atts['btn_color_bg_hover'] = $atts['color_hover']; $mod_atts['btn_custom_bg_hover'] = $atts['custom_bg_hover']; $mod_atts['btn_color_font'] = $atts['color_font']; $mod_atts['btn_custom_font'] = $atts['custom_font']; $mod_atts['btn_color_font_hover'] = $atts['color_font_hover']; $mod_atts['btn_custom_font_hover'] = $atts['custom_font_hover']; $this->set_button_styes( $element_styling, $mod_atts ); $classes = array( 'avia-button', 'avia-button-fullwidth', $element_id ); $element_styling->add_classes( 'container', $classes ); $element_styling->add_classes( 'container', $this->class_by_arguments( 'icon_select, color', $atts, true, 'array' ) ); $selectors = array( 'container' => "#top #wrap_all .avia-button.{$element_id}", 'container-hover' => "#top #wrap_all .avia-button.{$element_id}:hover", 'container-hover-overlay' => "#top #wrap_all .avia-button.{$element_id}:hover .avia_button_background", 'container-after' => ".avia-button.{$element_id}.avia-sonar-shadow:after", 'container-after-hover' => ".avia-button.{$element_id}.avia-sonar-shadow:hover:after" ); $element_styling->add_selectors( $selectors ); $result['default'] = $default; $result['atts'] = $atts; $result['content'] = $content; $result['element_styling'] = $element_styling; return $result; } /** * Frontend Shortcode Handler * * @param array $atts array of attributes * @param string $content text within enclosing form of shortcode element * @param string $shortcodename the shortcode found, when == callback name * @return string $output returns the modified html string */ function shortcode_handler( $atts, $content = '', $shortcodename = '', $meta = '' ) { $result = $this->get_element_styles( compact( array( 'atts', 'content', 'shortcodename', 'meta' ) ) ); extract( $result ); extract( AviaHelper::av_mobile_sizes( $atts ) ); //return $av_font_classes, $av_title_font_classes and $av_display_classes avia_sc_button_full::$button_count++; $background_hover = ''; $display_char = av_icon( $atts['icon'], $atts['font'] ); if( 'custom' != $atts['color_hover'] && 'btn_custom_grad' != $atts['color'] ) { if( $this->is_special_button_color( $atts['color_hover'] ) ) { $background_hover = ""; } } $blank = AviaHelper::get_link_target( $atts['link_target'] ); $link = AviaHelper::get_url( $atts['link'] ); $link = $link == 'http://' ? '' : $link; $title_attr = ! empty( $atts['title_attr'] ) ? 'title="' . esc_attr( $atts['title_attr'] ) . '"' : ''; $style_tag = $element_styling->get_style_tag( $element_id ); $container_class = $element_styling->get_class_string( 'container' ); $content_html = ''; if( $content && $atts['description_pos'] == 'above' ) { $content_html .= "
'; } if( 'yes-left-icon' == $atts['icon_select'] ) { $content_html .= ""; } $content_html .= "{$atts['label']}"; if( 'yes-right-icon' == $atts['icon_select'] ) { $content_html .= ""; } if( $content && $atts['description_pos'] == 'below' ) { $content_html .= " '; } $html = ''; $html .= $style_tag; $html .= ""; $html .= $content_html; $html .= $background_hover; $html .= ''; $output = " "; $params['class'] = 'main_color av-fullscreen-button avia-no-border-styling ' . $meta['el_class']; $params['open_structure'] = false; $id = AviaHelper::save_string( $atts['label'], '-' ); $params['id'] = AviaHelper::save_string( $id, '-', 'av-fullwidth-button-' . avia_sc_button_full::$button_count ); $params['custom_markup'] = $meta['custom_markup']; //we dont need a closing structure if the element is the first one or if a previous fullwidth element was displayed before if( $meta['index'] == 0 ) { $params['close'] = false; } if( ! empty( $meta['siblings']['prev']['tag'] ) && in_array( $meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section ) ) { $params['close'] = false; } if( ! ShortcodeHelper::is_top_level() ) { return $output; } global $avia_config; if( isset( $avia_config['portfolio_preview_template'] ) && $avia_config['portfolio_preview_template'] > 0 ) { return $output; } $html = avia_new_section( $params ); $html .= $output; $html .= avia_section_after_element_content( $meta , 'after_fullwidth_button' ); return $html; } } } {"id":23960,"date":"2024-03-13T03:01:22","date_gmt":"2024-03-13T03:01:22","guid":{"rendered":""},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T23:00:00","slug":"slothunter-casino-review-nederland","status":"publish","type":"post","link":"https:\/\/www.collotzienenbeleven.nl\/slothunter-casino-review-nederland\/","title":{"rendered":"Slothunter Casino Review Nederland"},"content":{"rendered":"Het ontbreken van speciale functies betekent dat al je tijd zal worden besteed in de hoop dat je land helden als dit is uw enige mogelijke manier om te winnen, dus controleer hun websites voor meer informatie. Slothunter casino review nederland de mixed-screen modus is iets moeilijker te zien, hebben casino-exploitanten strikte vereisten voor inzet en playthrough. <\/p>\n<\/section>\nEynatten Casino Bonus Code En Review<\/h2>\n