Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
public_html
/
brueggemann
/
wp-content
/
themes
/
wanderland
/
includes
/
File Content:
mkdf-loading-spinners.php
<?php if ( ! function_exists( 'wanderland_mikado_loading_spinners' ) ) { function wanderland_mikado_loading_spinners() { $id = wanderland_mikado_get_page_id(); $spinner_type = wanderland_mikado_get_meta_field_intersect( 'smooth_pt_spinner_type', $id ); $spinner_html = ''; if ( ! empty( $spinner_type ) ) { switch ( $spinner_type ) { case 'wanderland_spinner': $spinner_html = wanderland_mikado_loading_spinner_wanderland_spinner(); break; case 'rotate_circles': $spinner_html = wanderland_mikado_loading_spinner_rotate_circles(); break; case 'pulse': $spinner_html = wanderland_mikado_loading_spinner_pulse(); break; case 'double_pulse': $spinner_html = wanderland_mikado_loading_spinner_double_pulse(); break; case 'cube': $spinner_html = wanderland_mikado_loading_spinner_cube(); break; case 'rotating_cubes': $spinner_html = wanderland_mikado_loading_spinner_rotating_cubes(); break; case 'stripes': $spinner_html = wanderland_mikado_loading_spinner_stripes(); break; case 'wave': $spinner_html = wanderland_mikado_loading_spinner_wave(); break; case 'two_rotating_circles': $spinner_html = wanderland_mikado_loading_spinner_two_rotating_circles(); break; case 'five_rotating_circles': $spinner_html = wanderland_mikado_loading_spinner_five_rotating_circles(); break; case 'atom': $spinner_html = wanderland_mikado_loading_spinner_atom(); break; case 'clock': $spinner_html = wanderland_mikado_loading_spinner_clock(); break; case 'mitosis': $spinner_html = wanderland_mikado_loading_spinner_mitosis(); break; case 'lines': $spinner_html = wanderland_mikado_loading_spinner_lines(); break; case 'fussion': $spinner_html = wanderland_mikado_loading_spinner_fussion(); break; case 'wave_circles': $spinner_html = wanderland_mikado_loading_spinner_wave_circles(); break; case 'pulse_circles': $spinner_html = wanderland_mikado_loading_spinner_pulse_circles(); break; default: $spinner_html = wanderland_mikado_loading_spinner_pulse(); } } echo wp_kses( $spinner_html, array( 'div' => array( 'class' => true, 'style' => true, 'id' => true ), 'svg' => array( 'x' => true, 'y' => true, 'width' => true, 'height' => true, 'viewBox' => true, 'enable-background' => true, 'xmlns' => true, 'xmlns:xlink' => true, 'xml:space' => true ), 'g' => array( 'class' => true ), 'circle' => array( 'class' => true, 'cx' => true, 'cy' => true, 'r' => true, ), 'path' => array( 'class' => true, 'd' => true ), ) ); } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_wanderland_spinner' ) ) { function wanderland_mikado_loading_spinner_wanderland_spinner() { $html = ''; $html .= '<div class="mkdf-wanderland-spinner">'; $html .= '<svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" xml:space="preserve"><g class="mkdf-preloader-svg-circle"><path class="st0" d="M63 80c0 .4 0 .9.1 1.3 0-.4-.1-.8-.1-1.3zM78.2 63.1c-.4 0-.7.1-1.1.1.4 0 .8 0 1.1-.1zM63.1 81.8c0 .3.1.7.1 1 0-.4 0-.7-.1-1zM79.9 63c-.4 0-.9 0-1.3.1.4 0 .9-.1 1.3-.1zM96.9 78.2c0-.3-.1-.7-.1-1 0 .4 0 .7.1 1zM80 97c.5 0 .9 0 1.3-.1-.4 0-.8.1-1.3.1zM97 80c0-.5 0-.9-.1-1.3 0 .4.1.8.1 1.3zM80 65.3c-8.1 0-14.7 6.6-14.7 14.7S71.9 94.7 80 94.7 94.7 88.1 94.7 80 88.1 65.3 80 65.3zm0 27.6c-7.1 0-13-5.8-13-13 0-7.1 5.8-13 13-13 7.1 0 13 5.8 13 13s-5.9 13-13 13z"></path><path class="st0" d="M80.6 73.3c-4.2-.4-7.7 3.1-7.3 7.3.3 3.2 2.9 5.8 6.1 6.1 4.2.4 7.7-3.1 7.3-7.3-.3-3.2-2.9-5.8-6.1-6.1zM81.8 96.9c.3 0 .7-.1 1-.1-.4 0-.7 0-1 .1z"></path><path class="st1" d="M96.9 78.2v.4c0 .4.1.9.1 1.3h24.1l-24.6 3.7c0 .1-.1.2-.1.3v.1l26.8-4.2-26.8-4.2c.1.3.2.7.2 1 0 .1 0 .3.1.4.1.6.1.9.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2.9-.5 5.6-1.8 7.8-3.7l8 5.8-5.8-8c1.4-1.9 2.6-4.2 3.3-6.7zM80 94.7c-8.1 0-14.7-6.6-14.7-14.7S71.9 65.3 80 65.3 94.7 71.9 94.7 80 88.1 94.7 80 94.7z"></path></g><circle class="st3" cx="36.5" cy="36.5" r="2.5"></circle><circle class="st3" cx="123.7" cy="36.5" r="2.5"></circle><circle class="st3" cx="36.5" cy="123.5" r="2.5"></circle><circle class="st3" cx="123.7" cy="123.5" r="2.5"></circle><path d="M92.4 1.8c.3.3.4.6.4 1 0 .5-.1.9-.4 1.3-.3.4-.7.6-1.2.6-.4 0-.6-.1-.8-.3-.2-.2-.2-.5-.2-.7s.1-.6.2-.9c.1-.3.3-.6.6-.8h-.1c-.9 0-1.6.5-2.2 1.4-.8 1.2-1.6 3.3-2.5 6.3-.9 3-1.8 7.1-2.9 12.3h-.6L76.5 4.5C75.6 9 74.8 12.8 74 16c-.8 3.1-1.5 5.1-2.3 6.1-.4.5-.8.9-1.3 1.2-.4.3-1 .5-1.6.5-1.1 0-1.6-.5-1.6-1.4 0-.5.1-.9.4-1.3.3-.4.7-.6 1.2-.6.4 0 .6.1.8.3.2.2.2.5.2.7s-.1.6-.2.9c-.2.3-.4.6-.6.8h.1c.9 0 1.7-.5 2.2-1.4.7-1.1 1.4-3 2.1-5.7.7-2.7 1.5-6.3 2.3-10.6.1-.5.2-.9.2-1.2 0-.4-.1-.7-.4-.9-.3-.1-.8-.2-1.6-.3l.1-.5c.6.1 1.4.1 2.4.1.8 0 1.6 0 2.2-.1l5.1 14.9c.8-3.5 1.5-6.4 2.3-9 .7-2.5 1.5-4.4 2.3-5.5.7-1 1.7-1.6 2.8-1.6.6 0 1 .1 1.3.4zM86.4 143.6h-.5c.1-.5.2-1 .2-1.5 0-1.1-.3-1.9-.9-2.6-.6-.7-1.6-1-2.9-1-1.1 0-2 .3-2.7.9s-1 1.4-1 2.6c0 .9.3 1.7.8 2.4s1.4 1.6 2.5 2.6c.8.7 1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.1 2.7-.4.7-.3 1.2-.8 1.7-1.4.4-.7.9-1.6 1.4-2.9h.6c-.2.5-.4 1.2-.6 1.9-.3 1-.5 2.2-.7 3.5-1.2-.1-3.3-.1-6.2-.1-3.5 0-6.1 0-7.8.1l.1-.5c.6 0 1.1-.1 1.4-.2.3-.1.6-.3.8-.6.2-.3.4-.8.6-1.5l3.6-13.4c.2-.6.2-1 .2-1.3 0-.4-.1-.6-.4-.8-.3-.1-.7-.2-1.4-.2l.1-.5c1.8.1 4.4.1 7.8.1 2.3-.1 4.1-.1 5.2-.2zM26.8 70.4l-.1.5c-1.1.2-1.9 1-2.6 2.3L16 89.6h-.4l-1.9-12.3-7.3 12.3h-.5l-2.1-17c-.1-1.1-.6-1.7-1.5-1.7l.1-.5c.7.1 1.6.1 2.7.1 1.3 0 2.3 0 2.9-.1l-.1.5c-.6 0-1 .2-1.2.4-.2.2-.4.6-.4 1.2 0 .1 0 .3.1.7l1.5 12.9 5.6-9.6-.5-3.9c-.2-1.1-.6-1.7-1.2-1.7l.1-.5c.6.1 1.4.1 2.4.1 1.5 0 2.7 0 3.5-.1l-.1.5c-.8 0-1.4.1-1.7.3-.3.2-.5.5-.5 1.1 0 .3 0 .5.1.9l1.9 12.3 5.3-10.7c.6-1.2.9-2.1.9-2.6 0-.4-.2-.8-.5-.9-.3-.2-.9-.3-1.6-.3l.1-.5c1 .1 2 .1 3.1.1.8-.1 1.5-.2 2-.2z"></path></svg>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_rotate_circles' ) ) { function wanderland_mikado_loading_spinner_rotate_circles() { $html = ''; $html .= '<div class="mkdf-rotate-circles">'; $html .= '<div></div>'; $html .= '<div></div>'; $html .= '<div></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_pulse' ) ) { function wanderland_mikado_loading_spinner_pulse() { $html = '<div class="pulse"></div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_double_pulse' ) ) { function wanderland_mikado_loading_spinner_double_pulse() { $html = ''; $html .= '<div class="double_pulse">'; $html .= '<div class="double-bounce1"></div>'; $html .= '<div class="double-bounce2"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_cube' ) ) { function wanderland_mikado_loading_spinner_cube() { $html = '<div class="cube"></div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_rotating_cubes' ) ) { function wanderland_mikado_loading_spinner_rotating_cubes() { $html = ''; $html .= '<div class="rotating_cubes">'; $html .= '<div class="cube1"></div>'; $html .= '<div class="cube2"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_stripes' ) ) { function wanderland_mikado_loading_spinner_stripes() { $html = ''; $html .= '<div class="stripes">'; $html .= '<div class="rect1"></div>'; $html .= '<div class="rect2"></div>'; $html .= '<div class="rect3"></div>'; $html .= '<div class="rect4"></div>'; $html .= '<div class="rect5"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_wave' ) ) { function wanderland_mikado_loading_spinner_wave() { $html = ''; $html .= '<div class="wave">'; $html .= '<div class="bounce1"></div>'; $html .= '<div class="bounce2"></div>'; $html .= '<div class="bounce3"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_two_rotating_circles' ) ) { function wanderland_mikado_loading_spinner_two_rotating_circles() { $html = ''; $html .= '<div class="two_rotating_circles">'; $html .= '<div class="dot1"></div>'; $html .= '<div class="dot2"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_five_rotating_circles' ) ) { function wanderland_mikado_loading_spinner_five_rotating_circles() { $html = ''; $html .= '<div class="five_rotating_circles">'; $html .= '<div class="spinner-container container1">'; $html .= '<div class="circle1"></div>'; $html .= '<div class="circle2"></div>'; $html .= '<div class="circle3"></div>'; $html .= '<div class="circle4"></div>'; $html .= '</div>'; $html .= '<div class="spinner-container container2">'; $html .= '<div class="circle1"></div>'; $html .= '<div class="circle2"></div>'; $html .= '<div class="circle3"></div>'; $html .= '<div class="circle4"></div>'; $html .= '</div>'; $html .= '<div class="spinner-container container3">'; $html .= '<div class="circle1"></div>'; $html .= '<div class="circle2"></div>'; $html .= '<div class="circle3"></div>'; $html .= '<div class="circle4"></div>'; $html .= '</div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_atom' ) ) { function wanderland_mikado_loading_spinner_atom() { $html = ''; $html .= '<div class="atom">'; $html .= '<div class="ball ball-1"></div>'; $html .= '<div class="ball ball-2"></div>'; $html .= '<div class="ball ball-3"></div>'; $html .= '<div class="ball ball-4"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_clock' ) ) { function wanderland_mikado_loading_spinner_clock() { $html = ''; $html .= '<div class="clock">'; $html .= '<div class="ball ball-1"></div>'; $html .= '<div class="ball ball-2"></div>'; $html .= '<div class="ball ball-3"></div>'; $html .= '<div class="ball ball-4"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_mitosis' ) ) { function wanderland_mikado_loading_spinner_mitosis() { $html = ''; $html .= '<div class="mitosis">'; $html .= '<div class="ball ball-1"></div>'; $html .= '<div class="ball ball-2"></div>'; $html .= '<div class="ball ball-3"></div>'; $html .= '<div class="ball ball-4"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_lines' ) ) { function wanderland_mikado_loading_spinner_lines() { $html = ''; $html .= '<div class="lines">'; $html .= '<div class="line1"></div>'; $html .= '<div class="line2"></div>'; $html .= '<div class="line3"></div>'; $html .= '<div class="line4"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_fussion' ) ) { function wanderland_mikado_loading_spinner_fussion() { $html = ''; $html .= '<div class="fussion">'; $html .= '<div class="ball ball-1"></div>'; $html .= '<div class="ball ball-2"></div>'; $html .= '<div class="ball ball-3"></div>'; $html .= '<div class="ball ball-4"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_wave_circles' ) ) { function wanderland_mikado_loading_spinner_wave_circles() { $html = ''; $html .= '<div class="wave_circles">'; $html .= '<div class="ball ball-1"></div>'; $html .= '<div class="ball ball-2"></div>'; $html .= '<div class="ball ball-3"></div>'; $html .= '<div class="ball ball-4"></div>'; $html .= '</div>'; return $html; } } if ( ! function_exists( 'wanderland_mikado_loading_spinner_pulse_circles' ) ) { function wanderland_mikado_loading_spinner_pulse_circles() { $html = ''; $html .= '<div class="pulse_circles">'; $html .= '<div class="ball ball-1"></div>'; $html .= '<div class="ball ball-2"></div>'; $html .= '<div class="ball ball-3"></div>'; $html .= '<div class="ball ball-4"></div>'; $html .= '</div>'; return $html; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
nav-menu
---
0755
plugins
---
0755
mkdf-body-class-functions.php
6403 bytes
0644
mkdf-loading-spinners.php
14455 bytes
0644
N4ST4R_ID | Naxtarrr