Submit
Path:
~
/
home
/
getwphos
/
public_html
/
kingpanel
/
wp-content
/
plugins
/
pixelwars-core
/
themes
/
global
/
File Content:
widget-animated-search.php
<?php class pixelwars_core_Widget__Animated_Search extends WP_Widget { public function __construct() { parent::__construct( 'pixelwars_core_widget__animated_search', esc_html__('(Pixelwars) Animated Search', 'pixelwars-core'), array( 'description' => esc_html__('Animated search module.', 'pixelwars-core'), 'customize_selective_refresh' => true ) ); } public function form($instance) { $title = ""; if (isset($instance['title'])) { $title = $instance['title']; } else { $title = ""; } ?> <p> <label for="<?php echo esc_attr($this->get_field_id('title')); ?>"><?php esc_html_e('Title', 'pixelwars-core'); ?></label> <input type="text" class="widefat" id="<?php echo esc_attr($this->get_field_id('title')); ?>" name="<?php echo esc_attr($this->get_field_name('title')); ?>" value="<?php echo esc_attr($title); ?>"> </p> <?php } public function update($new_instance, $old_instance) { $instance = array(); $instance['title'] = strip_tags($new_instance['title']); return $instance; } public function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); echo $before_widget; if (! empty($title)) { echo $before_title . $title . $after_title; } ?> <div class="pw-search"> <form class="search-form" role="search" method="get" action="<?php echo esc_url(home_url('/')); ?>"> <input type="search" class="search-field" name="s" autocomplete="off" placeholder=" "> <!-- .search-field --> <div> <svg> <use xlink:href="#path"></use> </svg> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 28" id="path"> <path d="M32.9418651,-20.6880772 C37.9418651,-20.6880772 40.9418651,-16.6880772 40.9418651,-12.6880772 C40.9418651,-8.68807717 37.9418651,-4.68807717 32.9418651,-4.68807717 C27.9418651,-4.68807717 24.9418651,-8.68807717 24.9418651,-12.6880772 C24.9418651,-16.6880772 27.9418651,-20.6880772 32.9418651,-20.6880772 L32.9418651,-29.870624 C32.9418651,-30.3676803 33.3448089,-30.770624 33.8418651,-30.770624 C34.08056,-30.770624 34.3094785,-30.6758029 34.4782612,-30.5070201 L141.371843,76.386562" transform="translate(83.156854, 22.171573) rotate(-225.000000) translate(-83.156854, -22.171573)"></path> </symbol> </svg> </div> </form> <!-- .search-form --> </div> <!-- .pw-search --> <?php echo $after_widget; } } add_action('widgets_init', function() { register_widget('pixelwars_core_Widget__Animated_Search'); }); ?>
Submit
FILE
FOLDER
Name
Size
Permission
Action
css
---
0755
img
---
0755
js
---
0755
shortcode-generator
---
0755
dashboard-admin-notice.php
1067 bytes
0644
dashboard-welcome-panel.php
4841 bytes
0644
dashboard-widget.php
2449 bytes
0644
enqueue-styles-scripts.php
1853 bytes
0644
fonts.php
67526 bytes
0644
image-sizes.php
493 bytes
0644
image_max_dimensions.php
814 bytes
0644
index.php
29 bytes
0644
meta-box-featured-media.php
5757 bytes
0644
meta-box-page-settings.php
32173 bytes
0644
meta-box-post-header-style.php
117 bytes
0644
post-type-portfolio-2.php
2685 bytes
0644
post-type-portfolio.php
2809 bytes
0644
posts-columns.php
1188 bytes
0644
pre-get-posts.php
614 bytes
0644
related-posts.php
5234 bytes
0644
send-mail.php
2324 bytes
0644
share-links-2.php
4977 bytes
0644
share-links.php
4969 bytes
0644
widget-about-me.php
6338 bytes
0644
widget-animated-search.php
2742 bytes
0644
widget-button.php
9236 bytes
0644
widget-icon-box.php
10279 bytes
0644
widget-intro.php
12915 bytes
0644
widget-link-box.php
9289 bytes
0644
widget-main-slider.php
41872 bytes
0644
widget-social-media-icon.php
12302 bytes
0644
N4ST4R_ID | Naxtarrr