Changeset 3250371
- Timestamp:
- 03/04/2025 12:02:11 PM (12 months ago)
- Location:
- fancy-fiter
- Files:
-
- 144 added
- 3 deleted
- 36 edited
-
assets/banner-1544x500.png (added)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-256x256.gif (added)
-
assets/icon-256x256.png (deleted)
-
tags/2.0.2 (added)
-
tags/2.0.2/README.txt (added)
-
tags/2.0.2/assets (added)
-
tags/2.0.2/assets/admin (added)
-
tags/2.0.2/assets/admin/img (added)
-
tags/2.0.2/assets/admin/img/1-min.jpg (added)
-
tags/2.0.2/assets/admin/img/2-min.jpg (added)
-
tags/2.0.2/assets/admin/img/3-min.jpg (added)
-
tags/2.0.2/assets/admin/img/4.jpg (added)
-
tags/2.0.2/assets/admin/img/button.jpg (added)
-
tags/2.0.2/assets/admin/img/coll-style.jpg (added)
-
tags/2.0.2/assets/admin/img/docs.svg (added)
-
tags/2.0.2/assets/admin/img/docsimage.jpg (added)
-
tags/2.0.2/assets/admin/img/missing.jpg (added)
-
tags/2.0.2/assets/admin/img/play.png (added)
-
tags/2.0.2/assets/admin/img/prev.jpg (added)
-
tags/2.0.2/assets/admin/img/product.jpg (added)
-
tags/2.0.2/assets/admin/img/question.svg (added)
-
tags/2.0.2/assets/admin/img/review.svg (added)
-
tags/2.0.2/assets/admin/img/start.svg (added)
-
tags/2.0.2/assets/admin/img/startedmin.png (added)
-
tags/2.0.2/assets/admin/img/support.svg (added)
-
tags/2.0.2/assets/admin/img/tutorial.svg (added)
-
tags/2.0.2/assets/css (added)
-
tags/2.0.2/assets/css/fancy-filter.css (added)
-
tags/2.0.2/assets/css/fancyfilter-admin.css (added)
-
tags/2.0.2/assets/css/prism.css (added)
-
tags/2.0.2/assets/css/select2.min.css (added)
-
tags/2.0.2/assets/img (added)
-
tags/2.0.2/assets/img/2cl-min.png (added)
-
tags/2.0.2/assets/img/3cl-min.png (added)
-
tags/2.0.2/assets/img/4cl-min.png (added)
-
tags/2.0.2/assets/img/close.png (added)
-
tags/2.0.2/assets/img/fancyloaders.svg (added)
-
tags/2.0.2/assets/img/gif (added)
-
tags/2.0.2/assets/img/gif/10-min.gif (added)
-
tags/2.0.2/assets/img/gif/11-min.gif (added)
-
tags/2.0.2/assets/img/gif/2-min.gif (added)
-
tags/2.0.2/assets/img/gif/3-min.gif (added)
-
tags/2.0.2/assets/img/gif/4-min.gif (added)
-
tags/2.0.2/assets/img/gif/5-min.gif (added)
-
tags/2.0.2/assets/img/gif/6-min.gif (added)
-
tags/2.0.2/assets/img/gif/7-min.gif (added)
-
tags/2.0.2/assets/img/gif/8-min.gif (added)
-
tags/2.0.2/assets/img/gif/9-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-1-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-10-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-102.gif (added)
-
tags/2.0.2/assets/img/gif/btn-11-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-13.gif (added)
-
tags/2.0.2/assets/img/gif/btn-2.gif (added)
-
tags/2.0.2/assets/img/gif/btn-3-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-4-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-5-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-6-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-7-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-8-min.gif (added)
-
tags/2.0.2/assets/img/gif/btn-9-min.gif (added)
-
tags/2.0.2/assets/img/gif/ef-1.gif (added)
-
tags/2.0.2/assets/img/gif/ef-2.gif (added)
-
tags/2.0.2/assets/img/gif/ef-3.gif (added)
-
tags/2.0.2/assets/img/gif/ef-4.gif (added)
-
tags/2.0.2/assets/img/gif/ef-5.gif (added)
-
tags/2.0.2/assets/img/gif/gallery.gif (added)
-
tags/2.0.2/assets/img/gif/video.gif (added)
-
tags/2.0.2/assets/img/loading.gif (added)
-
tags/2.0.2/assets/img/lohof-55x52.png (added)
-
tags/2.0.2/assets/img/next.png (added)
-
tags/2.0.2/assets/img/placeholder.png (added)
-
tags/2.0.2/assets/img/prev.png (added)
-
tags/2.0.2/assets/js (added)
-
tags/2.0.2/assets/js/admin-script.js (added)
-
tags/2.0.2/assets/js/fancy-filter.js (added)
-
tags/2.0.2/assets/js/isotope.pkgd.min.js (added)
-
tags/2.0.2/assets/js/jquery.magnific-popup.min.js (added)
-
tags/2.0.2/assets/js/lightbox.min.js (added)
-
tags/2.0.2/assets/js/select2.min.js (added)
-
tags/2.0.2/assets/js/wp-color-picker-alpha.js (added)
-
tags/2.0.2/fancy-filter.php (added)
-
tags/2.0.2/includes (added)
-
tags/2.0.2/includes/Class (added)
-
tags/2.0.2/includes/Class/class-fancifilter-howto-use.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter-activator.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter-admin.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter-deactivator.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter-loader.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter_blog_shortcode.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter_morefilter.php (added)
-
tags/2.0.2/includes/Class/class-fancyfilter_permalink.php (added)
-
tags/2.0.2/includes/Class/class_fancyfilter-setting.php (added)
-
tags/2.0.2/includes/Class/class_fancyfilter_rows.php (added)
-
tags/2.0.2/includes/Class/class_fancyfilter_shortcode.php (added)
-
tags/2.0.2/includes/Class/class_fancyfilterproduct_shortcode.php (added)
-
tags/2.0.2/includes/extra (added)
-
tags/2.0.2/includes/extra/FancyProductData.php (added)
-
tags/2.0.2/includes/extra/OptionDataPortfolio.php (added)
-
tags/2.0.2/includes/extra/PortfolioCssdata.php (added)
-
tags/2.0.2/includes/extra/PortfolioQueryDAta.php (added)
-
tags/2.0.2/includes/helper (added)
-
tags/2.0.2/includes/helper/fancyfilter-helper-function.php (added)
-
tags/2.0.2/includes/helper/features.php (added)
-
tags/2.0.2/includes/helper/settingapi.php (added)
-
tags/2.0.2/includes/index.php (added)
-
tags/2.0.2/index.php (added)
-
tags/2.0.2/languages (added)
-
tags/2.0.2/languages/fancy-fiter.pot (added)
-
tags/2.0.2/metaData (added)
-
tags/2.0.2/metaData/FancyMetaExtra (added)
-
tags/2.0.2/metaData/FancyMetaExtra/BlogData.php (added)
-
tags/2.0.2/metaData/FancyMetaExtra/PortfolioData.php (added)
-
tags/2.0.2/metaData/FancyMetaExtra/ProductData.php (added)
-
tags/2.0.2/metaData/class-fancy-dmeolinkdata.php (added)
-
tags/2.0.2/metaData/class-fancy_BlogMeatada.php (added)
-
tags/2.0.2/metaData/class-fancy_portfolio_Metada.php (added)
-
tags/2.0.2/metaData/class-fancy_previewlink.php (added)
-
tags/2.0.2/metaData/class-fancy_productMetadata.php (added)
-
tags/2.0.2/partials (added)
-
tags/2.0.2/partials/FancyButtnSetting.php (added)
-
tags/2.0.2/partials/FancyExtra.php (added)
-
tags/2.0.2/partials/FancyItemWrapper.php (added)
-
tags/2.0.2/partials/FancyLinkPartial.php (added)
-
tags/2.0.2/uninstall.php (added)
-
tags/2.0.2/vendor (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/.phpcs.xml (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/LICENSE (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/README.md (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/assets (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/assets/installer.css (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/assets/installer.js (added)
-
tags/2.0.2/vendor/wordpress-plugin-installer-main/class-connekt-plugin-installer.php (added)
-
trunk/README.txt (modified) (5 diffs)
-
trunk/assets/css/fancyfilter-admin.css (modified) (1 diff)
-
trunk/fancy-filter.php (modified) (3 diffs)
-
trunk/includes/Class/class-fancifilter-howto-use.php (modified) (8 diffs)
-
trunk/includes/Class/class-fancyfilter-activator.php (modified) (3 diffs)
-
trunk/includes/Class/class-fancyfilter-admin.php (modified) (8 diffs)
-
trunk/includes/Class/class-fancyfilter-deactivator.php (modified) (2 diffs)
-
trunk/includes/Class/class-fancyfilter-i18n.php (deleted)
-
trunk/includes/Class/class-fancyfilter-loader.php (modified) (8 diffs)
-
trunk/includes/Class/class-fancyfilter.php (modified) (13 diffs)
-
trunk/includes/Class/class-fancyfilter_blog_shortcode.php (modified) (4 diffs)
-
trunk/includes/Class/class-fancyfilter_morefilter.php (modified) (7 diffs)
-
trunk/includes/Class/class-fancyfilter_permalink.php (modified) (1 diff)
-
trunk/includes/Class/class_fancyfilter-setting.php (modified) (9 diffs)
-
trunk/includes/Class/class_fancyfilter_rows.php (modified) (3 diffs)
-
trunk/includes/Class/class_fancyfilter_shortcode.php (modified) (3 diffs)
-
trunk/includes/Class/class_fancyfilterproduct_shortcode.php (modified) (5 diffs)
-
trunk/includes/extra/FancyProductData.php (modified) (5 diffs)
-
trunk/includes/extra/OptionDataPortfolio.php (modified) (4 diffs)
-
trunk/includes/extra/PortfolioCssdata.php (modified) (4 diffs)
-
trunk/includes/extra/PortfolioQueryDAta.php (modified) (2 diffs)
-
trunk/includes/helper/fancyfilter-helper-function.php (modified) (1 diff)
-
trunk/includes/helper/features.php (modified) (9 diffs)
-
trunk/languages/fancy-filter.pot (deleted)
-
trunk/languages/fancy-fiter.pot (added)
-
trunk/metaData/FancyMetaExtra/BlogData.php (modified) (5 diffs)
-
trunk/metaData/FancyMetaExtra/PortfolioData.php (modified) (5 diffs)
-
trunk/metaData/FancyMetaExtra/ProductData.php (modified) (6 diffs)
-
trunk/metaData/class-fancy-dmeolinkdata.php (modified) (3 diffs)
-
trunk/metaData/class-fancy_BlogMeatada.php (modified) (1 diff)
-
trunk/metaData/class-fancy_portfolio_Metada.php (modified) (1 diff)
-
trunk/metaData/class-fancy_previewlink.php (modified) (2 diffs)
-
trunk/metaData/class-fancy_productMetadata.php (modified) (2 diffs)
-
trunk/partials/FancyButtnSetting.php (modified) (5 diffs)
-
trunk/partials/FancyExtra.php (modified) (8 diffs)
-
trunk/partials/FancyItemWrapper.php (modified) (19 diffs)
-
trunk/partials/FancyLinkPartial.php (modified) (3 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/vendor (added)
-
trunk/vendor/wordpress-plugin-installer-main (added)
-
trunk/vendor/wordpress-plugin-installer-main/.phpcs.xml (added)
-
trunk/vendor/wordpress-plugin-installer-main/LICENSE (added)
-
trunk/vendor/wordpress-plugin-installer-main/README.md (added)
-
trunk/vendor/wordpress-plugin-installer-main/assets (added)
-
trunk/vendor/wordpress-plugin-installer-main/assets/installer.css (added)
-
trunk/vendor/wordpress-plugin-installer-main/assets/installer.js (added)
-
trunk/vendor/wordpress-plugin-installer-main/class-connekt-plugin-installer.php (added)
Legend:
- Unmodified
- Added
- Removed
-
fancy-fiter/trunk/README.txt
r3145687 r3250371 1 === Category Based Filter Showcase - Fancy Filter === 2 Plugin Name: Category Based Filter Showcase - Fancy Filter 1 === Fancy Filters - Masonry Grid Showcase for 2 portfolio, posts, and product items === 3 Plugin Name: Fancy Filters - Masonry Grid Showcase for 4 portfolio, posts, and product items 3 5 Contributors: sharabindu 4 6 Donate link: https://sharabindu.com/donation/ 5 7 Tags: portfolio,isotope, product,gallery,showcase 6 Requires at least: 4.6.0 or higher7 Tested up to: 6. 6.18 Requires at least: 5.0.0 or higher 9 Tested up to: 6.7.2 8 10 Requires PHP: 5.2 9 Stable tag: 2.0. 110 Version: 2.0. 111 Text Domain: fancy-fi lter11 Stable tag: 2.0.2 12 Version: 2.0.2 13 Text Domain: fancy-fiter 12 14 Domain Path: /languages 13 15 License: GPLv2 or later 14 16 License URI: https://www.gnu.org/licenses/gpl-2.0.html 15 17 16 With this plugin you can create filter showcases for beautiful portfolios, posts and product items 17 18 Display your portfolio, posts, and product items in a grid with filterable 18 19 == Description == 19 20 21 Display your portfolio, posts, and product items in a grid with filterable. This is a category based filter showcase plugin. With this plugin, you can create grids with filterable showcases for portfolio items, post items, and product items. It uses Isotope and Masnoroy technology to create filtering gallery showcases. 20 22 21 This is a category based filter showcases plugin. you can create filter showcases for beautiful portfolios, posts and product items. This plugin provides powerful isotope portfolio Gallery with beautiful animated filtering with masonry.23 You can create unlimited shortcodes to create filterable gallery showcases. You can customize the design and content of each shortcode showcase. You can use these shortcodes to create multiple filter showcases on each page. 22 24 23 Its most powerful feature is that you can create unlimited shortcodes. If you want, you can create shortcodes with different categories and use multiple filters per page 24 25 Fancy Filter includes amazing features, attractive layout design, amazing button styles, popup images and over 40+ control settings that help the user to easily customize. 26 27 > [Demo](https://fancyfilter.pinkaddons.xyz/) | [Docs](https://fancyfilter.pinkaddons.xyz/docs/introduction/)| [Premium Version](https://sharabindu.com/plugins/fancy-filter/) 25 Fancy Filters has many features, attractive layout design, beautiful button styles, popup features and more than 40+ settings that help you customize easily. 28 26 29 27 28 29 > [View Demo](https://fancyfilter.pinkaddons.xyz/) | [Docs](https://fancyfilter.pinkaddons.xyz/docs/introduction/)| [Get Premium Version](https://sharabindu.com/plugins/fancy-filter/) 30 30 31 31 = Features = 32 32 33 33 34 * Fancy PortfolioFilter Showcase [fancyfilter_portfolio]35 * Blog Post Filter Showcase [fancyfilter_blog]36 * WooCOmmerce Product Filter Showcase [fancyfilter_product]34 * Portfolios Filter Showcase [fancyfilter_portfolio] 35 * Blog Posts Filter Showcase [fancyfilter_blog] 36 * WooCOmmerce Products Filter Showcase [fancyfilter_product] 37 37 * Unlimited Shortcode Created 38 38 * Use custom permalink changeable for fancy portfolio. [readmore](https://fancyfilter.pinkaddons.xyz/docs/chanage-the-fancy-permalink/) … … 43 43 * Fully responsive design 44 44 * Super customized addon 45 * All browsers supported 46 * Clean coding, validate W3C 47 * Well documented 48 45 * All Type fo Themes and browsers supported 49 46 50 47 51 48 = Extra Features for Premium = 52 49 53 * 10+ unique designs 54 * 12+ Cool Button designs 55 * Popup content with image gallery 56 * Popup video for the item 57 * Shortcode content Supported as popup 58 * video content Supported as popup 59 * Raw Html content Supported as popup 60 * Preview & Download Link Metabox Supported 50 * 10+ Extra Layout designs 51 * 12+ Extra Button designs 52 * Content elements Supported for the item Popup 53 * video elements Supported for the item Popup 54 * Shortcode elements Supported for the item Popup 55 * Raw Html content Supported for the item Popup 56 * Can add Two Custom Link (Preview / Download) for the Portfolio item 61 57 62 58 [Get Premium Version](https://sharabindu.com/plugins/fancy-filter/) 63 59 64 65 <iframe width="560" height="315" src="https://www.youtube.com/embed/exsHC2xlcUM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> 60 ###Preview Of Fancy Filter 61 [youtube https://youtu.be/exsHC2xlcUM] 66 62 67 63 == Installation == … … 74 70 == Frequently Asked Questions == 75 71 72 = what is category wise filter wordpress? = 73 A category-based filter in WordPress is a way to display post items, product items, portfolio items from specific categories. 74 75 = benefits of showcase in website = 76 A showcase on a website provides several benefits, including: 77 *Increasing brand visibility, 78 *Attracting potential customers with eye-catching content, 79 *Highlighting important products or services, 80 *Boosting SEO 81 82 = How Showcase Helps Boost SEO = 83 84 Showcase content with relevant keywords can improve your website's search engine rankings, and drive organic traffic. 85 86 76 87 = Can I create multiple filters per page? = 77 Yes, you can have multiple filters with different categories per page88 Yes, you can use multiple filters showcase on a page. 78 89 79 90 = How to change default permalink for fancy filters = … … 83 94 = Will it work all themes = 84 95 85 yes, it will works on All t hemes.96 yes, it will works on All types of themes. 86 97 87 98 == Screenshots == … … 93 104 94 105 106 == Credits == 107 108 This plugin includes a modified version of the [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/) by Dmitry Semenov, [Isotope PACKAGED](https://isotope.metafizzy.co) by Metafizzy, which is licensed under the MIT license. 95 109 96 110 == Changelog == 111 112 = 2.0.2 = 113 - Update: Compatibility Update 97 114 98 115 = 2.0.1 = -
fancy-fiter/trunk/assets/css/fancyfilter-admin.css
r3145687 r3250371 120 120 } 121 121 122 div#fancy_filter_type h2 {123 color: #e30606;124 }125 122 126 123 option.prodataver,option.btnpto { -
fancy-fiter/trunk/fancy-filter.php
r3145687 r3250371 1 1 <?php 2 2 /** 3 * Plugin Name: Fancy Filters - Category Based Showcase3 * Plugin Name: Fancy Filters - Category Based Filter Showcase 4 4 * Plugin URI: https://wordpress.org/plugins/fancy-fiter/ 5 5 * Description: A category based filter that creates amazing portfolio, post, and Product filters 6 * Version: 2.0. 16 * Version: 2.0.2 7 7 * Author: Sharabindu 8 8 * Author URI: https://sharabindu.com/plugins/fancy-filter/ 9 9 * License: GPL-2.0+ 10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 11 * Text Domain: fancy-fi lter11 * Text Domain: fancy-fiter 12 12 * Domain Path: /languages 13 13 */ … … 39 39 /** 40 40 * Currently plugin version. 41 * Start at version 2.0. 1and use SemVer - https://semver.org41 * Start at version 2.0.2 and use SemVer - https://semver.org 42 42 * Rename this for your plugin and update it as you release new versions. 43 43 */ 44 define( 'FANCYFILTER_VERSION', '2.0. 1' );44 define( 'FANCYFILTER_VERSION', '2.0.2' ); 45 45 46 46 /** … … 105 105 * not affect the page life cycle. 106 106 * 107 * @since 2.0. 1107 * @since 2.0.2 108 108 */ 109 109 function fancyfilter_run() { -
fancy-fiter/trunk/includes/Class/class-fancifilter-howto-use.php
r3145687 r3250371 6 6 * 7 7 * @link https://sharabindu.com 8 * @since 2.0. 18 * @since 2.0.2 9 9 * 10 10 * @package fancy-filter … … 43 43 { 44 44 45 add_submenu_page('edit.php?post_type=fancyfilter', __('How It Works', 'fancy-fi lter') , __('How It Works <span class="dashicons dashicons-controls-forward"></span>', 'fancy-filter') , 'manage_options', 'how_it_works', array( $this, 'how_to_use'));45 add_submenu_page('edit.php?post_type=fancyfilter', __('How It Works', 'fancy-fiter') , __('How It Works <span class="dashicons dashicons-controls-forward"></span>', 'fancy-fiter') , 'manage_options', 'how_it_works', array( $this, 'how_to_use')); 46 46 47 47 … … 60 60 <ul> 61 61 62 <li class="fancyfilter_tabs_li" style="background: url(<?php echo FANCYFILTER_URL. '/assets/admin/img/docsimage.jpg' ?>)">62 <li class="fancyfilter_tabs_li" style="background: url(<?php echo esc_url( FANCYFILTER_URL) . '/assets/admin/img/docsimage.jpg' ?>)"> 63 63 <ul class="fancyfilter_tabs"> 64 64 <li> 65 <p> <?php echo esc_html__('Step: 1', 'fancy-fi lter') ?><span class="dashicons dashicons-controls-forward"></span> <?php echo esc_html__('Create Category and add to post(post,product,fancy)', 'fancy-filter') ?> </p>65 <p> <?php echo esc_html__('Step: 1', 'fancy-fiter') ?><span class="dashicons dashicons-controls-forward"></span> <?php echo esc_html__('Create Category and add to post(post,product,fancy)', 'fancy-fiter') ?> </p> 66 66 </li> 67 67 <li> 68 <p> <?php echo esc_html__('Step: 2', 'fancy-fi lter') ?><span class="dashicons dashicons-controls-forward"></span> <?php echo esc_html__('Go to the Settings and set the setting options ', 'fancy-filter') ?> </p>68 <p> <?php echo esc_html__('Step: 2', 'fancy-fiter') ?><span class="dashicons dashicons-controls-forward"></span> <?php echo esc_html__('Go to the Settings and set the setting options ', 'fancy-fiter') ?> </p> 69 69 </li> 70 70 <li> 71 <p> <?php echo esc_html__('Step: 3', 'fancy-fi lter') ?><span class="dashicons dashicons-controls-forward"></span> <?php echo esc_html__('Copy the shortcode from the Item Settings tab and paste it in the desired location', 'fancy-filter') ?> </p>71 <p> <?php echo esc_html__('Step: 3', 'fancy-fiter') ?><span class="dashicons dashicons-controls-forward"></span> <?php echo esc_html__('Copy the shortcode from the Item Settings tab and paste it in the desired location', 'fancy-fiter') ?> </p> 72 72 </li> 73 73 </ul></li> 74 74 <li class="yoobar-feature_6"> 75 <img class='yoo_dcs_img' src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/docs.svg' ?>">76 <h3 class="yoobar-feature-title"> <?php echo esc_html__('How to Use', 'fancy-fi lter') ?></h3>77 <p class="feature-title18"> <?php echo esc_html__('We have created full-proof documentation for you. It will help you to understand how our plugin works.', 'fancy-fi lter') ?></p>75 <img class='yoo_dcs_img' src=" <?php echo esc_url(FANCYFILTER_URL) . '/assets/admin/img/docs.svg' ?>"> 76 <h3 class="yoobar-feature-title"> <?php echo esc_html__('How to Use', 'fancy-fiter') ?></h3> 77 <p class="feature-title18"> <?php echo esc_html__('We have created full-proof documentation for you. It will help you to understand how our plugin works.', 'fancy-fiter') ?></p> 78 78 <div> 79 <a class="ydocsbutn" href="https://fancyfilter.pinkaddons.xyz/docs/introduction/" target="_blank"><?php echo esc_html__('Documentation', 'fancy-fi lter') ?></a>79 <a class="ydocsbutn" href="https://fancyfilter.pinkaddons.xyz/docs/introduction/" target="_blank"><?php echo esc_html__('Documentation', 'fancy-fiter') ?></a> 80 80 </div> 81 81 </li> … … 87 87 <ul> 88 88 <li class="yoobar-feature_6 fswr"> 89 <img class='yoo_dcs_img' src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/question.svg' ?>">89 <img class='yoo_dcs_img' src=" <?php echo esc_url(FANCYFILTER_URL) . '/assets/admin/img/question.svg' ?>"> 90 90 91 <h3 class="yoobar-feature-title"><?php echo esc_html__('FAQ', 'fancy-fi lter') ?></h3>92 <p class="feature-title18"><?php echo esc_html__('Frequently Asked Questions', 'fancy-fi lter') ?></p>91 <h3 class="yoobar-feature-title"><?php echo esc_html__('FAQ', 'fancy-fiter') ?></h3> 92 <p class="feature-title18"><?php echo esc_html__('Frequently Asked Questions', 'fancy-fiter') ?></p> 93 93 94 94 <div class="yoofaqdes"> 95 <h4><?php echo esc_html__('Will this plugin work on all themes?', 'fancy-fi lter') ?></h4>96 <p><?php echo esc_html__('Yes, it will work on all kinds of themes. Use it to bring colorful moments to your site. And don’t forget to check out our premium features.', 'fancy-fi lter') ?></p>95 <h4><?php echo esc_html__('Will this plugin work on all themes?', 'fancy-fiter') ?></h4> 96 <p><?php echo esc_html__('Yes, it will work on all kinds of themes. Use it to bring colorful moments to your site. And don’t forget to check out our premium features.', 'fancy-fiter') ?></p> 97 97 </div> 98 98 <div class="yoofaqdes"> 99 <h4><?php echo esc_html__('Is there any support available for the free users?', 'fancy-fi lter') ?></h4>100 <p><?php echo esc_html__('Both the free and pro versions bring great support from us. However Pro users will get priority support.', 'fancy-fi lter') ?></p>99 <h4><?php echo esc_html__('Is there any support available for the free users?', 'fancy-fiter') ?></h4> 100 <p><?php echo esc_html__('Both the free and pro versions bring great support from us. However Pro users will get priority support.', 'fancy-fiter') ?></p> 101 101 </div> 102 102 … … 108 108 <ul> 109 109 <li class="yoobar-feature_6"> 110 <img class='yoo_dcs_img' src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/start.svg' ?>">111 <h3 class="yoobar-feature-title"><?php echo esc_html__('Getting Started', 'fancy-fi lter') ?></h3>112 <p class="feature-title18"><?php echo esc_html__('Getting started with Fancy Filter is very easy, just click the button below and create the first Portfolio on your site', 'fancy-fi lter') ?></p>110 <img class='yoo_dcs_img' src=" <?php echo esc_url( FANCYFILTER_URL ). '/assets/admin/img/start.svg' ?>"> 111 <h3 class="yoobar-feature-title"><?php echo esc_html__('Getting Started', 'fancy-fiter') ?></h3> 112 <p class="feature-title18"><?php echo esc_html__('Getting started with Fancy Filter is very easy, just click the button below and create the first Portfolio on your site', 'fancy-fiter') ?></p> 113 113 <div> 114 <a class="ydocsbutn" href="<?php echo admin_url('post-new.php?post_type=fancyfilter') ?> "><?php echo esc_html__('Add A New Portfolio', 'fancy-filter') ?></a>114 <a class="ydocsbutn" href="<?php echo esc_url(admin_url('post-new.php?post_type=fancyfilter')); ?> "><?php echo esc_html__('Add A New Portfolio', 'fancy-fiter') ?></a> 115 115 </div> 116 116 </li> 117 117 118 <li><img src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/startedmin.png' ?>"></li>118 <li><img src=" <?php echo esc_url( FANCYFILTER_URL) . '/assets/admin/img/startedmin.png' ?>"></li> 119 119 </ul> 120 120 … … 123 123 <ul> 124 124 <li class="yoobar-feature_6 fswr" style="text-align: center;"> 125 <img class='yoo_dcs_img' src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/support.svg' ?>">125 <img class='yoo_dcs_img' src=" <?php echo esc_url( FANCYFILTER_URL) . '/assets/admin/img/support.svg' ?>"> 126 126 127 <h3 class="yoobar-feature-title"><?php echo esc_html__('Support', 'fancy-fi lter') ?></h3>128 <p class="feature-title18"><?php echo esc_html__('Feeling like consulting an expert? Get our live chat support. We are always ready to help you.', 'fancy-fi lter') ?></p>127 <h3 class="yoobar-feature-title"><?php echo esc_html__('Support', 'fancy-fiter') ?></h3> 128 <p class="feature-title18"><?php echo esc_html__('Feeling like consulting an expert? Get our live chat support. We are always ready to help you.', 'fancy-fiter') ?></p> 129 129 130 130 <div> 131 <a class="ydocsbutn" href="https://wordpress.org/support/plugin/fancy-fiter/" target="_blank"><?php echo esc_html__('Get Support', 'fancy-fi lter') ?></a>131 <a class="ydocsbutn" href="https://wordpress.org/support/plugin/fancy-fiter/" target="_blank"><?php echo esc_html__('Get Support', 'fancy-fiter') ?></a> 132 132 </div> 133 133 … … 141 141 <li class="yoobar-feature_6"> 142 142 143 <h3 class="yoobar-feature-title"><?php echo esc_html__('Missing Any Features', 'fancy-fi lter') ?></h3>144 <p style="width:90%"><?php echo esc_html__('Do you need any features that we don\'t have in our plugin? Let us know Feel free to do a request from here', 'fancy-fi lter') ?></p>145 <a class="ydocsbutn" href="https:// fancyfilter.pinkaddons.xyz/missing-any-features/" target="_blank" style="background: #e2498a"><?php echo esc_html__('Request Feature', 'fancy-filter') ?></a>143 <h3 class="yoobar-feature-title"><?php echo esc_html__('Missing Any Features', 'fancy-fiter') ?></h3> 144 <p style="width:90%"><?php echo esc_html__('Do you need any features that we don\'t have in our plugin? Let us know Feel free to do a request from here', 'fancy-fiter') ?></p> 145 <a class="ydocsbutn" href="https://sharabindu.com/what-features-want-to-see/" target="_blank" style="background: #e2498a"><?php echo esc_html__('Request Feature', 'fancy-fiter') ?></a> 146 146 </li> 147 <li><img src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/missing.jpg' ?>"></li>147 <li><img src=" <?php echo esc_url( FANCYFILTER_URL) . '/assets/admin/img/missing.jpg' ?>"></li> 148 148 149 149 </ul> … … 155 155 <ul> 156 156 157 <li><img src=" <?php echo FANCYFILTER_URL. '/assets/admin/img/review.svg' ?>"></li>157 <li><img src=" <?php echo esc_url( FANCYFILTER_URL) . '/assets/admin/img/review.svg' ?>"></li> 158 158 <li class="yoobar-feature_67"> 159 159 160 <h3 class="yoobar-feature-title"><?php echo esc_html__('Happy with Our Plugin?', 'fancy-fi lter') ?></h3>161 <p class="feature-title18"><?php echo esc_html__('We are really grateful that you have chosen our plugin. If you like our plugin, please share your happiness by giving us a 5star rating in WordPress Org. It will delight us and will not take more than 2 minutes.', 'fancy-fi lter') ?></p>162 <a class="ydocsbutn" href="https://wordpress.org/plugins/fancy-fiter/#reviews" target="_blank"><?php echo esc_html__('Give us 5*', 'fancy-fi lter') ?></a>160 <h3 class="yoobar-feature-title"><?php echo esc_html__('Happy with Our Plugin?', 'fancy-fiter') ?></h3> 161 <p class="feature-title18"><?php echo esc_html__('We are really grateful that you have chosen our plugin. If you like our plugin, please share your happiness by giving us a 5star rating in WordPress Org. It will delight us and will not take more than 2 minutes.', 'fancy-fiter') ?></p> 162 <a class="ydocsbutn" href="https://wordpress.org/plugins/fancy-fiter/#reviews" target="_blank"><?php echo esc_html__('Give us 5*', 'fancy-fiter') ?></a> 163 163 </li> 164 164 </ul> -
fancy-fiter/trunk/includes/Class/class-fancyfilter-activator.php
r3145687 r3250371 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 2.0. 17 * @since 2.0.2 8 8 * 9 9 * @package fancyfilter filter plugin … … 16 16 * This class defines all code necessary to run during the plugin's activation. 17 17 * 18 * @since 2.0. 118 * @since 2.0.2 19 19 * @package fancyfilter filter plugin 20 20 * @subpackage fancyfilter filter plugin/includes … … 28 28 * Long Description. 29 29 * 30 * @since 2.0. 130 * @since 2.0.2 31 31 */ 32 32 public static function fancyfilter_activate() { -
fancy-fiter/trunk/includes/Class/class-fancyfilter-admin.php
r3145687 r3250371 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 2.0. 17 * @since 2.0.2 8 8 * 9 9 * @package fancyfilter … … 26 26 * The ID of this plugin. 27 27 * 28 * @since 2.0. 128 * @since 2.0.2 29 29 * @access private 30 30 * @var string $plugin_name The ID of this plugin. … … 35 35 * The version of this plugin. 36 36 * 37 * @since 2.0. 137 * @since 2.0.2 38 38 * @access private 39 39 * @var string $version The current version of this plugin. … … 44 44 * Initialize the class and set its properties. 45 45 * 46 * @since 2.0. 146 * @since 2.0.2 47 47 * @param string $plugin_name The name of this plugin. 48 48 * @param string $version The version of this plugin. … … 67 67 68 68 $labels = [ 69 "name" => esc_html__( "Fancy Filter", "fancy-fi lter" ),70 "singular_name" => esc_html__( "Fancy Filter", "fancy-fi lter" ),71 "menu_name" => esc_html__( "Fancy Filter", "fancy-fi lter" ),72 "all_items" => esc_html__( "All Portfolios", "fancy-fi lter" ),73 "add_new" => esc_html__( "Add New Portfolio", "fancy-fi lter" ),74 "add_new_item" => esc_html__( "Add New Portfolio", "fancy-fi lter" ),75 "edit_item" => esc_html__( "Edit Item", "fancy-fi lter" ),76 "new_item" => esc_html__( "New Item", "fancy-fi lter" ),77 "view_item" => esc_html__( "View Item", "fancy-fi lter" ),78 "view_items" => esc_html__( "View All Items", "fancy-fi lter" ),79 "search_items" => esc_html__( "Search Item", "fancy-fi lter" ),80 "not_found" => esc_html__( "Not Found Item", "fancy-fi lter" ),81 "not_found_in_trash" => esc_html__( "Not found in Trash", "fancy-fi lter" ),82 "parent" => esc_html__( "Parent", "fancy-fi lter" ),83 "featured_image" => esc_html__( "Portfolio Image", "fancy-fi lter" ),84 "set_featured_image" => esc_html__( "Set Portfolio Image", "fancy-fi lter" ),85 "remove_featured_image" => esc_html__( "Remove Portfolio Image", "fancy-fi lter" ),86 "use_featured_image" => esc_html__( "Use Portfolio Image", "fancy-fi lter" ),87 "archives" => esc_html__( "Portfolio Archive", "fancy-fi lter" ),88 "parent_item_colon" => esc_html__( "Parent", "fancy-fi lter" ),69 "name" => esc_html__( "Fancy Filter", "fancy-fiter" ), 70 "singular_name" => esc_html__( "Fancy Filter", "fancy-fiter" ), 71 "menu_name" => esc_html__( "Fancy Filter", "fancy-fiter" ), 72 "all_items" => esc_html__( "All Portfolios", "fancy-fiter" ), 73 "add_new" => esc_html__( "Add New Portfolio", "fancy-fiter" ), 74 "add_new_item" => esc_html__( "Add New Portfolio", "fancy-fiter" ), 75 "edit_item" => esc_html__( "Edit Item", "fancy-fiter" ), 76 "new_item" => esc_html__( "New Item", "fancy-fiter" ), 77 "view_item" => esc_html__( "View Item", "fancy-fiter" ), 78 "view_items" => esc_html__( "View All Items", "fancy-fiter" ), 79 "search_items" => esc_html__( "Search Item", "fancy-fiter" ), 80 "not_found" => esc_html__( "Not Found Item", "fancy-fiter" ), 81 "not_found_in_trash" => esc_html__( "Not found in Trash", "fancy-fiter" ), 82 "parent" => esc_html__( "Parent", "fancy-fiter" ), 83 "featured_image" => esc_html__( "Portfolio Image", "fancy-fiter" ), 84 "set_featured_image" => esc_html__( "Set Portfolio Image", "fancy-fiter" ), 85 "remove_featured_image" => esc_html__( "Remove Portfolio Image", "fancy-fiter" ), 86 "use_featured_image" => esc_html__( "Use Portfolio Image", "fancy-fiter" ), 87 "archives" => esc_html__( "Portfolio Archive", "fancy-fiter" ), 88 "parent_item_colon" => esc_html__( "Parent", "fancy-fiter" ), 89 89 ]; 90 90 91 91 $args = [ 92 "label" => esc_html__( "Fancy Filter", "fancy-fi lter" ),92 "label" => esc_html__( "Fancy Filter", "fancy-fiter" ), 93 93 "labels" => $labels, 94 94 "description" => "Fancy Filter is a Portfolio Filter Plugin", … … 124 124 125 125 $labels = [ 126 "name" => esc_html__( "Portfolio Category", "fancy-fi lter" ),127 "singular_name" => esc_html__( "Portfolio Category", "fancy-fi lter" ),128 "menu_name" => esc_html__( "Portfolio Category", "fancy-fi lter" ),129 "all_items" => esc_html__( "All Categories", "fancy-fi lter" ),130 "edit_item" => esc_html__( "Edit Categories", "fancy-fi lter" ),131 "view_item" => esc_html__( "View Categories", "fancy-fi lter" ),132 "update_item" => esc_html__( "Update Category", "fancy-fi lter" ),133 "add_new_item" => esc_html__( "Add New Category", "fancy-fi lter" ),134 "parent_item" => esc_html__( "Parent Category", "fancy-fi lter" ),135 "search_items" => esc_html__( "Search Category", "fancy-fi lter" ),136 "popular_items" => esc_html__( "Popular Category", "fancy-fi lter" ),137 "add_or_remove_items" => esc_html__( "Add or Remove Category", "fancy-fi lter" ),126 "name" => esc_html__( "Portfolio Category", "fancy-fiter" ), 127 "singular_name" => esc_html__( "Portfolio Category", "fancy-fiter" ), 128 "menu_name" => esc_html__( "Portfolio Category", "fancy-fiter" ), 129 "all_items" => esc_html__( "All Categories", "fancy-fiter" ), 130 "edit_item" => esc_html__( "Edit Categories", "fancy-fiter" ), 131 "view_item" => esc_html__( "View Categories", "fancy-fiter" ), 132 "update_item" => esc_html__( "Update Category", "fancy-fiter" ), 133 "add_new_item" => esc_html__( "Add New Category", "fancy-fiter" ), 134 "parent_item" => esc_html__( "Parent Category", "fancy-fiter" ), 135 "search_items" => esc_html__( "Search Category", "fancy-fiter" ), 136 "popular_items" => esc_html__( "Popular Category", "fancy-fiter" ), 137 "add_or_remove_items" => esc_html__( "Add or Remove Category", "fancy-fiter" ), 138 138 ]; 139 139 140 140 $args = [ 141 "label" => esc_html__( "Portfolio Category", "fancy-fi lter" ),141 "label" => esc_html__( "Portfolio Category", "fancy-fiter" ), 142 142 "labels" => $labels, 143 143 "public" => true, … … 167 167 $row_meta = array( 168 168 169 'livechat' => '<a href="' . esc_url( 'https://wordpress.org/support/plugin/fancy-fiter/' ) . '" target="_blank">' . esc_html__( 'Support', 'fancy-fi lter' ) . '</a>'169 'livechat' => '<a href="' . esc_url( 'https://wordpress.org/support/plugin/fancy-fiter/' ) . '" target="_blank">' . esc_html__( 'Support', 'fancy-fiter' ) . '</a>' 170 170 171 171 ); … … 182 182 183 183 return array_merge(array( 184 '<a href="' . admin_url('edit.php?post_type=fancyfilter&page=fancyfilter_settings') . '">' . __('Settings', 'fancy-fi lter') . '</a>',185 '<a class="yhow_yse" href="' . admin_url('edit.php?post_type=fancyfilter&page=how_it_works') . '">' . __('How It Works', 'fancy-fi lter') . '</a>',184 '<a href="' . admin_url('edit.php?post_type=fancyfilter&page=fancyfilter_settings') . '">' . __('Settings', 'fancy-fiter') . '</a>', 185 '<a class="yhow_yse" href="' . admin_url('edit.php?post_type=fancyfilter&page=how_it_works') . '">' . __('How It Works', 'fancy-fiter') . '</a>', 186 186 ) , $links); 187 187 -
fancy-fiter/trunk/includes/Class/class-fancyfilter-deactivator.php
r3145687 r3250371 7 7 * This class defines all code necessary to run during the plugin's deactivation. 8 8 * 9 * @since 2.0. 19 * @since 2.0.2 10 10 * @package fancyfilter filter plugin 11 11 * @author Sharabindu <[email protected]> … … 18 18 * Long Description. 19 19 * 20 * @since 2.0. 120 * @since 2.0.2 21 21 */ 22 22 public static function fancyfilter_deactivate() { -
fancy-fiter/trunk/includes/Class/class-fancyfilter-loader.php
r3145687 r3250371 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 2.0. 17 * @since 2.0.2 8 8 * 9 9 * @package fancyfilter filter plugin … … 27 27 * The array of actions registered with WordPress. 28 28 * 29 * @since 2.0. 129 * @since 2.0.2 30 30 * @access protected 31 31 * @var array $actions The actions registered with WordPress to fire when the plugin loads. … … 36 36 * The array of filters registered with WordPress. 37 37 * 38 * @since 2.0. 138 * @since 2.0.2 39 39 * @access protected 40 40 * @var array $filters The filters registered with WordPress to fire when the plugin loads. … … 45 45 * Initialize the collections used to maintain the actions and filters. 46 46 * 47 * @since 2.0. 147 * @since 2.0.2 48 48 */ 49 49 public function __construct() { … … 57 57 * Add a new action to the collection to be registered with WordPress. 58 58 * 59 * @since 2.0. 159 * @since 2.0.2 60 60 * @param string $hook The name of the WordPress action that is being registered. 61 61 * @param object $component A reference to the instance of the object on which the action is defined. … … 71 71 * Add a new filter to the collection to be registered with WordPress. 72 72 * 73 * @since 2.0. 173 * @since 2.0.2 74 74 * @param string $hook The name of the WordPress filter that is being registered. 75 75 * @param object $component A reference to the instance of the object on which the filter is defined. … … 86 86 * collection. 87 87 * 88 * @since 2.0. 188 * @since 2.0.2 89 89 * @access private 90 90 * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). … … 113 113 * Register the filters and actions with WordPress. 114 114 * 115 * @since 2.0. 1115 * @since 2.0.2 116 116 */ 117 117 public function run() { -
fancy-fiter/trunk/includes/Class/class-fancyfilter.php
r3145687 r3250371 8 8 * 9 9 * @link https://sharabindu.com 10 * @since 2.0. 110 * @since 2.0.2 11 11 * 12 12 * @package fancyfilter filter plugin … … 20 20 * the plugin. 21 21 * 22 * @since 2.0. 122 * @since 2.0.2 23 23 * @access protected 24 24 * @var fancyfilter_Loader $loader Maintains and registers all hooks for the plugin. … … 29 29 * The unique identifier of this plugin. 30 30 * 31 * @since 2.0. 131 * @since 2.0.2 32 32 * @access protected 33 33 * @var string $plugin_name The string used to uniquely identify this plugin. … … 38 38 * The current version of the plugin. 39 39 * 40 * @since 2.0. 140 * @since 2.0.2 41 41 * @access protected 42 42 * @var string $version The current version of the plugin. … … 51 51 * the public-facing side of the site. 52 52 * 53 * @since 2.0. 153 * @since 2.0.2 54 54 */ 55 55 public function __construct() { … … 57 57 $this->version = FANCYFILTER_VERSION; 58 58 } else { 59 $this->version = '2.0. 1';59 $this->version = '2.0.2'; 60 60 } 61 61 $this->plugin_name = 'fancy-filter-pro'; 62 62 63 63 $this->fancyfilter_load_dependencies(); 64 $this->set_locale();65 64 $this->fancyfilter_admin_hooks(); 66 65 … … 81 80 * with WordPress. 82 81 * 83 * @since 2.0. 182 * @since 2.0.2 84 83 * @access private 85 84 */ … … 100 99 require_once FANCYFILTER_PATH. 'metaData/class-fancy_previewlink.php'; 101 100 require_once FANCYFILTER_PATH. 'includes/Class/class-fancyfilter-admin.php'; 102 require_once FANCYFILTER_PATH. 'includes/Class/class-fancyfilter-i18n.php';103 101 104 102 require_once FANCYFILTER_PATH. '/includes/helper/fancyfilter-helper-function.php'; … … 126 124 * of the plugin. 127 125 * 128 * @since 2.0. 1126 * @since 2.0.2 129 127 * @access private 130 128 */ … … 141 139 } 142 140 143 /**144 * Define the locale for this plugin for internationalization.145 *146 * Uses the Qrc_composer_i18n class in order to set the domain and to register the hook147 * with WordPress.148 *149 * @since 1.0.150 * @access private151 */152 private function set_locale() {153 141 154 $plugin_i18n = new fancy_filter_i18n();155 156 $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );157 158 }159 142 /** 160 143 * Run the loader to execute all of the hooks with WordPress. 161 144 * 162 * @since 2.0. 1145 * @since 2.0.2 163 146 */ 164 147 public function fancyfilter_get_run() { … … 170 153 * WordPress and to define internationalization functionality. 171 154 * 172 * @since 2.0. 1155 * @since 2.0.2 173 156 * @return string The name of the plugin. 174 157 */ … … 180 163 * The reference to the class that orchestrates the hooks with the plugin. 181 164 * 182 * @since 2.0. 1165 * @since 2.0.2 183 166 * @return fancyfilter_Loader Orchestrates the hooks of the plugin. 184 167 */ … … 190 173 * Retrieve the version number of the plugin. 191 174 * 192 * @since 2.0. 1175 * @since 2.0.2 193 176 * @return string The version number of the plugin. 194 177 */ -
fancy-fiter/trunk/includes/Class/class-fancyfilter_blog_shortcode.php
r3145687 r3250371 36 36 wp_register_script( 'lightbox', FANCYFILTER_URL . 'assets/js/lightbox.min.js',array('jquery'),FANCYFILTER_VERSION,true ); 37 37 38 wp_register_script( 'fancy-fi lter', FANCYFILTER_URL . 'assets/js/fancy-filter.js',array('jquery','isotope.pkgd.min','lightbox'),FANCYFILTER_VERSION ,true ,10 );38 wp_register_script( 'fancy-fiter', FANCYFILTER_URL . 'assets/js/fancy-filter.js',array('jquery','isotope.pkgd.min','lightbox'),FANCYFILTER_VERSION ,true ,10 ); 39 39 40 40 } … … 52 52 wp_enqueue_script('isotope.pkgd.min'); 53 53 wp_enqueue_script('lightbox'); 54 wp_enqueue_script('fancy-fi lter');54 wp_enqueue_script('fancy-fiter'); 55 55 ob_start(); 56 56 … … 93 93 if($button == 'btnsyle-1' || $button == 'btnsyle-2' ){ 94 94 ?> 95 <li class=" <?php echo esc_attr($button_class); ?>" data-filter=".<?php echo $fancyfilter_pro_term->term_id ?>" style="margin-left:15px"> <?php echo $fancyfilter_pro_term->name;?></li>95 <li class=" <?php echo esc_attr($button_class); ?>" data-filter=".<?php echo esc_attr($fancyfilter_pro_term->term_id); ?>" style="margin-left:15px"> <?php echo esc_html($fancyfilter_pro_term->name);?></li> 96 96 <?php } 97 97 … … 177 177 178 178 echo '<div class="fancyfilter_readmore" > 179 <a href="'. $el_readmore_url.'">'.$el_readmore_txt.'<i class="eicon-long-arrow-right hidden-log"></i></a>179 <a href="'.esc_url($el_readmore_url).'">'.esc_html($el_readmore_txt).'<i class="eicon-long-arrow-right hidden-log"></i></a> 180 180 </div>'; 181 181 } -
fancy-fiter/trunk/includes/Class/class-fancyfilter_morefilter.php
r3145687 r3250371 5 5 * 6 6 * @link https://sharabindu.com 7 * @since 2.0. 17 * @since 2.0.2 8 8 * 9 9 * @package fancyfilter_pro … … 45 45 function rw_post_updated_messages( $messages ) { 46 46 47 $nonce = wp_create_nonce( 'fancyfilter-nonce' ); 48 if ( ! wp_verify_nonce( $nonce, 'fancyfilter-nonce' ) ) return; 49 47 50 $post = get_post(); 48 51 $post_type = get_post_type( $post ); … … 51 54 $messages['morefilter'] = array( 52 55 0 => '', // Unused. Messages start at index 1. 53 1 => __( 'Shortcode updated.' ),54 2 => __( 'Shortcodeupdated.' ),55 3 => __( 'Shortcode deleted.'),56 4 => __( 'Shortcode updated.' ),56 1 => esc_html( 'Shortcode updated.' ), 57 2 => esc_html( 'Shortcodeupdated.' ), 58 3 => esc_html( 'Shortcode deleted.'), 59 4 => esc_html( 'Shortcode updated.' ), 57 60 /* translators: %s: date and time of the revision */ 58 5 => isset( $_GET['revision'] ) ? sprintf( __( 'Shortcode restored to revision from %s' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,59 6 => __( 'Shortcode published.' ),60 7 => __( 'Shortcode saved.' ),61 8 => __( 'Shortcode submitted.' ),61 5 => isset( $_GET['revision'] ) ? sprintf( esc_html( 'Shortcode restored to revision from %s' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, 62 6 => esc_html( 'Shortcode published.' ), 63 7 => esc_html( 'Shortcode saved.' ), 64 8 => esc_html( 'Shortcode submitted.' ), 62 65 9 => sprintf( 63 __( 'Shortcode scheduled for: <strong>%1$s</strong>.' ),66 esc_html( 'Shortcode scheduled for: <strong>%1$s</strong>.' ), 64 67 // translators: Publish box date format, see http://php.net/date 65 date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) )68 date_i18n( esc_html( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ) 66 69 ), 67 10 => __( 'Shortcode draft updated.' )70 10 => esc_html( 'Shortcode draft updated.' ) 68 71 ); 69 72 … … 86 89 87 90 $labels = [ 88 "name" => esc_html__( "Create More Filter", "fancy-filter" ),89 "singular_name" => esc_html__( "Create More Filter", "fancy-filter" ),90 "menu_name" => esc_html__( "Create More Filter", "fancy-filter" ),91 "all_items" => esc_html__( " Shortcode", "fancy-filter" ),92 "add_new" => esc_html__( "Add New Shortcode", "fancy-fi lter" ),93 "add_new_item" => esc_html__( "Add New Shortcode", "fancy-fi lter" ),94 "edit_item" => esc_html__( "Edit Shortcode", "fancy-fi lter" ),95 "new_item" => esc_html__( "New Shortcode", "fancy-fi lter" ),96 "view_item" => esc_html__( "View Shortcode", "fancy-fi lter" ),97 "view_items" => esc_html__( "View All Shortcode", "fancy-fi lter" ),98 "search_items" => esc_html__( "Search Shortcode", "fancy-fi lter" ),99 "not_found" => esc_html__( "Not Found Shortcode", "fancy-fi lter" ),100 "not_found_in_trash" => esc_html__( "Not found in Trash", "fancy-fi lter" ),101 "parent" => esc_html__( "Parent", "fancy-fi lter" ),102 "featured_image" => esc_html__( "Portfolio Image", "fancy-fi lter" ),103 "set_featured_image" => esc_html__( "Set Portfolio Image", "fancy-fi lter" ),104 "remove_featured_image" => esc_html__( "Remove Portfolio Image", "fancy-fi lter" ),105 "use_featured_image" => esc_html__( "Use Portfolio Image", "fancy-fi lter" ),106 "archives" => esc_html__( "Portfolio Archive", "fancy-fi lter" ),107 "parent_item_colon" => esc_html__( "Parent", "fancy-fi lter" ),91 "name" => esc_html__( "Create Shortcode", "fancy-fiter" ), 92 "singular_name" => esc_html__( "Create Shortcode", "fancy-fiter" ), 93 "menu_name" => esc_html__( "Create Shortcode", "fancy-fiter" ), 94 "all_items" => esc_html__( "All shortcodes", "fancy-fiter" ), 95 "add_new" => esc_html__( "Add New Shortcode", "fancy-fiter" ), 96 "add_new_item" => esc_html__( "Add New Shortcode", "fancy-fiter" ), 97 "edit_item" => esc_html__( "Edit Shortcode", "fancy-fiter" ), 98 "new_item" => esc_html__( "New Shortcode", "fancy-fiter" ), 99 "view_item" => esc_html__( "View Shortcode", "fancy-fiter" ), 100 "view_items" => esc_html__( "View All Shortcode", "fancy-fiter" ), 101 "search_items" => esc_html__( "Search Shortcode", "fancy-fiter" ), 102 "not_found" => esc_html__( "Not Found Shortcode", "fancy-fiter" ), 103 "not_found_in_trash" => esc_html__( "Not found in Trash", "fancy-fiter" ), 104 "parent" => esc_html__( "Parent", "fancy-fiter" ), 105 "featured_image" => esc_html__( "Portfolio Image", "fancy-fiter" ), 106 "set_featured_image" => esc_html__( "Set Portfolio Image", "fancy-fiter" ), 107 "remove_featured_image" => esc_html__( "Remove Portfolio Image", "fancy-fiter" ), 108 "use_featured_image" => esc_html__( "Use Portfolio Image", "fancy-fiter" ), 109 "archives" => esc_html__( "Portfolio Archive", "fancy-fiter" ), 110 "parent_item_colon" => esc_html__( "Parent", "fancy-fiter" ), 108 111 ]; 109 112 … … 111 114 112 115 $args = [ 113 "label" => esc_html__( "Fancy Filter", "fancy-fi lter" ),116 "label" => esc_html__( "Fancy Filter", "fancy-fiter" ), 114 117 "labels" => $labels, 115 118 "description" => "Fancy Filter is a Portfolio Filter Plugin", … … 121 124 "rest_base" => "", 122 125 "rest_controller_class" => "WP_REST_Posts_Controller", 123 "has_archive" => false,126 "has_archive" => true, 124 127 "show_in_nav_menus" => true, 125 128 "delete_with_user" => false, … … 129 132 "hierarchical" => true, 130 133 "menu_icon" => "dashicons-grid-view", 131 "rewrite" => false,134 "rewrite" => true, 132 135 'show_in_menu' => 'edit.php?post_type=fancyfilter', 133 136 "query_var" => true, -
fancy-fiter/trunk/includes/Class/class-fancyfilter_permalink.php
r2631339 r3250371 29 29 function fancy_cpt_load_permalinks() 30 30 { 31 $nonce = wp_create_nonce( 'fancyfilter-nonce' ); 32 if ( ! wp_verify_nonce( $nonce, 'fancyfilter-nonce' ) ) return; 33 31 34 if( isset( $_POST['fancy_cpt_base'] ) ) 32 35 { 33 update_option( 'fancy_cpt_base', sanitize_title_with_dashes( $_POST['fancy_cpt_base']) );36 update_option( 'fancy_cpt_base', sanitize_title_with_dashes( wp_unslash($_POST['fancy_cpt_base'] )) ); 34 37 } 35 38 36 39 // Add a settings field to the permalink page 37 add_settings_field( 'fancy_cpt_base', __( 'Fancy Filter Custom Permalink' ), array($this ,'fancy_cpt_field_callback'), 'permalink', 'optional', array('class' => 'fancyfiklteraaddon') );40 add_settings_field( 'fancy_cpt_base', esc_html( 'Fancy Filter Custom Permalink' ), array($this ,'fancy_cpt_field_callback'), 'permalink', 'optional', array('class' => 'fancyfiklteraaddon') ); 38 41 39 42 } -
fancy-fiter/trunk/includes/Class/class_fancyfilter-setting.php
r3145687 r3250371 6 6 * 7 7 * @link https://sharabindu.com 8 * @since 2.0. 18 * @since 2.0.2 9 9 * 10 10 * @package fancy-filter … … 35 35 )); 36 36 37 37 include_once FANCYFILTER_PATH . 'vendor/wordpress-plugin-installer-main/class-connekt-plugin-installer.php'; 38 38 39 39 } … … 41 41 { 42 42 43 if ((isset($_GET['page']) && strpos($_GET['page'], FANCY_FILTER_WORKS) !== false) || (isset($_GET['page']) && strpos($_GET['page'], FANCY_FILTER_PLUGIN_ID) !== false) || 'morefilter' == get_post_type() ){ 44 43 44 45 $nonce = wp_create_nonce( 'fancyfilter-nonce' ); 46 if ( ! wp_verify_nonce( $nonce, 'fancyfilter-nonce' ) ) return; 47 $screen = get_current_screen(); 48 if ( sanitize_title(isset($_GET['page'])) && strpos((sanitize_title(wp_unslash($_GET['page']))), FANCY_FILTER_WORKS) !== false || sanitize_title(isset($_GET['page'])) && strpos((sanitize_title(wp_unslash($_GET['page']))), FANCY_FILTER_PLUGIN_ID) !== false || 'morefilter' == $screen->post_type) { 49 45 50 wp_enqueue_style('wp-color-picker'); 46 51 … … 89 94 { 90 95 91 add_submenu_page('edit.php?post_type=fancyfilter', __('Settings', ' menu-test') , __('Settings', 'menu-test') , 'manage_options', 'fancyfilter_settings', array(96 add_submenu_page('edit.php?post_type=fancyfilter', __('Settings', 'fancy-fiter') , __('Settings', 'fancy-fiter') , 'manage_options', 'fancyfilter_settings', array( 92 97 $this, 93 98 'fancyfilter_settings' … … 98 103 function fancyfilter_settings() 99 104 { 105 106 $nonce = wp_create_nonce( 'fancyfilter-nonce' ); 107 if ( ! wp_verify_nonce( $nonce, 'fancyfilter-nonce' ) ) return; 100 108 settings_errors(); 101 109 $options = get_option('fancyfilter_options'); 102 $active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'setting';103 110 $fancyfilter_image_url = FANCYFILTER_URL . '/assets/img/gif/' 104 111 ?> … … 109 116 110 117 <li> 111 <img src=" <?php echo FANCYFILTER_URL. '/assets/img/lohof-55x52.png' ?>" alt="fancyfilter logo">118 <img src=" <?php echo esc_url(FANCYFILTER_URL). '/assets/img/lohof-55x52.png' ?>" alt="fancyfilter logo"> 112 119 </li> <li> 113 <h3><?php echo esc_html('Fancy Filter', 'fancy-fi lter') . '<sup>'.FANCYFILTER_VERSION.'</sup>';?> </h3>114 <small><?php echo esc_html('Creating beautiful masonry filters , increasing website traffic and sales', 'fancy-filter') ?></small>120 <h3><?php echo esc_html('Fancy Filter', 'fancy-fiter') . '<sup>'.esc_html(FANCYFILTER_VERSION).'</sup>';?> </h3> 121 <small><?php echo esc_html('Creating beautiful masonry filters', 'fancy-fiter') ?></small> 115 122 </li> 116 123 </ul> 117 124 <ul class="fancyfilter_nav_bar"> 118 <li><a href="https://wordpress.org/support/plugin/fancy-fiter/" target="_blank"><?php echo esc_html('Support', 'fancy-fi lter') ?></a></li>119 <li><a href="https://fancyfilter.pinkaddons.xyz/" target="_blank"><?php echo esc_html('Pro demo', 'fancy-fi lter') ?></a></li>120 121 <li><a href="https://sharabindu.com/plugins/fancy-filter/" target="_blank"><?php echo esc_html('Get Premimum', 'fancy-fi lter') ?></a></li>122 123 <li><a href="https://fancyfilter.pinkaddons.xyz/docs/introduction/" target="_blank"><?php echo esc_html('Docs', 'fancy-fi lter') ?></a></li>125 <li><a href="https://wordpress.org/support/plugin/fancy-fiter/" target="_blank"><?php echo esc_html('Support', 'fancy-fiter') ?></a></li> 126 <li><a href="https://fancyfilter.pinkaddons.xyz/" target="_blank"><?php echo esc_html('Pro demo', 'fancy-fiter') ?></a></li> 127 128 <li><a href="https://sharabindu.com/plugins/fancy-filter/" target="_blank"><?php echo esc_html('Get Premimum', 'fancy-fiter') ?></a></li> 129 130 <li><a href="https://fancyfilter.pinkaddons.xyz/docs/introduction/" target="_blank"><?php echo esc_html('Docs', 'fancy-fiter') ?></a></li> 124 131 </ul> 125 132 </div> … … 129 136 <div class="tab-nav"> 130 137 <ul> 131 <li class="active"><a href="#tab1"><?php echo esc_html("Settings", "qr-code-composer") ?></a></li> 132 <li><a href="#tab2"><?php echo esc_html("Pro Features", "qr-code-composer") ?></a></li> 133 134 </ul> <!-- END tabs-nav --> 138 <li class="active"><a href="#tab1"><?php echo esc_html("Settings", "fancy-fiter") ?></a></li> 139 <li><a href="#tab2"><?php echo esc_html("Pro Features", "fancy-fiter") ?></a></li> 140 <li><a href="#tab3"><?php echo esc_html("Our More Plugins", "fancy-fiter") ?></a></li> 141 142 </ul> 135 143 </div> 136 144 … … 138 146 139 147 <div class="tab1-tab active"> 140 <form action="options.php" method="post" class="fancy_dhgformdtaa">148 <form action="options.php" method="post" class="fancy_dhgformdtaa"> 141 149 <?php 142 150 … … 160 168 <?php require_once FANCYFILTER_PATH. 'includes/helper/features.php'; ?> 161 169 </div> 170 <div class="tab3-tab"> 171 <div class="poytgwbemfn"> 172 <?php 173 174 175 $plugins = [ 176 [ 177 'slug' => 'qr-code-composer', 178 ], 179 [ 180 'slug' => 'barcode-generator-for-woocommerce', 181 ], 182 [ 183 'slug' => 'mini-cart-for-woocommerce', 184 ], 185 [ 186 'slug' => 'elfi-masonry-addon' 187 ], 188 [ 189 'slug' => 'yoo-bar' 190 ], 191 [ 192 'slug' => 'fancy-fiter' 193 ], 194 [ 195 'slug' => 'master-qr-generator' 196 ] 197 ]; 198 199 if( class_exists( 'Connekt_Plugin_Installer' ) ) { 200 Connekt_Plugin_Installer::init( $plugins ); 201 } 202 ?> 203 </div> 204 205 206 </div> 207 208 209 162 210 </div> 163 211 -
fancy-fiter/trunk/includes/Class/class_fancyfilter_rows.php
r2641038 r3250371 45 45 if (!empty($appended_posts)) { 46 46 echo '<p class="dretyui"> 47 [fancyfilter_portfolio id ="' . esc_attr($post_ID) . '" grid_style = "' . $slect_styledata . '" button="' . $slect_butondata . '" col_1="' . $el_fi_gridbg . '" col_2="' . $el_fi_gridbg_2 . '" align="' . $fancyMetabtn_align . '" btn_act="' . $fancy_metabtn_bg . '" btnclr="' . $fancy_metabtn_clor . '" btnbg="' . $fancy_metabtn_ac_bg . '" layout="' . $slect_prot_erp_rw . '" animation="' . $slect_styleanimation. '"]47 [fancyfilter_portfolio id ="' . esc_attr($post_ID) . '" grid_style = "' . esc_attr($slect_styledata) . '" button="' . esc_attr($slect_butondata) . '" col_1="' . esc_attr($el_fi_gridbg) . '" col_2="' . esc_attr($el_fi_gridbg_2) . '" align="' . esc_attr($fancyMetabtn_align) . '" btn_act="' . esc_attr($fancy_metabtn_bg) . '" btnclr="' . esc_attr($fancy_metabtn_clor) . '" btnbg="' . esc_attr($fancy_metabtn_ac_bg) . '" layout="' . esc_attr($slect_prot_erp_rw) . '" animation="' . esc_attr($slect_styleanimation) . '"] 48 48 </p>'; 49 49 } … … 61 61 if (!empty($appended_meta_post)) { 62 62 echo '<p class="dretyui"> 63 [fancyfilter_blog id ="' . esc_attr($post_ID) . '" grid_style = "' . $slectblog__styledata . '" button="' . $slect_blg_butondata . '" col_1="' . $el_fi_blog_gridbg . '" col_2="' . $el_fi_blog_gridbg_2 . '" align="' . $fancy_blogMetabtn_align . '" btn_act="' . $fancy_blog_metabtn_bg . '" btnclr="' . $fancy_blog_metabtn_clor . '" btnbg="' . $fancy_blogmetabtn_ac_bg . '" layout="' . $slect_blog_erp_rw . '" animation="' . $slect_styleanimationblog. '"]63 [fancyfilter_blog id ="' . esc_attr($post_ID) . '" grid_style = "' . esc_attr($slectblog__styledata) . '" button="' . esc_attr($slect_blg_butondata) . '" col_1="' . esc_attr($el_fi_blog_gridbg) . '" col_2="' . esc_attr($el_fi_blog_gridbg_2) . '" align="' . esc_attr($fancy_blogMetabtn_align) . '" btn_act="' . esc_attr($fancy_blog_metabtn_bg) . '" btnclr="' . esc_attr($fancy_blog_metabtn_clor) . '" btnbg="' . esc_attr($fancy_blogmetabtn_ac_bg) . '" layout="' . esc_attr($slect_blog_erp_rw) . '" animation="' . esc_attr($slect_styleanimationblog) . '"] 64 64 </p></div>'; 65 65 } … … 67 67 $appended_meta_product = get_post_meta($post_ID, 'facncy_meta_product', true); 68 68 if (!empty($appended_meta_product)) { 69 echo '<p class="premium"> 70 [fancyfilter_product id ="'.esc_attr($post_ID).'" grid_style = "st-free" button="btnsyle-3" col_1="#81d742" col_2="#81d742" align="left" btn_act="#81d742" btnclr="#fff" btnbg="rgb(197,64,206)" layout="col-2"]</p>'; 69 70 71 $slect_clm_erp_rw = get_post_meta($post_ID, "slect_clm_erp_rw", true) ? get_post_meta($post_ID, "slect_clm_erp_rw", true): 'col-2'; 72 $slect_styleanimationcm = get_post_meta($post_ID, "slect_styleanimationcm", true) ? get_post_meta($post_ID, "slect_styleanimationcm", true): ' '; 73 74 $slect_prodct_butondata = get_post_meta($post_ID, "slect_prodct_butondata", true) ? get_post_meta($post_ID, "slect_prodct_butondata", true): ' '; 75 $el_fi_prodct_gridbg = get_post_meta($post_ID, "el_fi_prodct_gridbg", true) ? get_post_meta($post_ID, "el_fi_prodct_gridbg", true): ' '; 76 $el_fi_prodct_gridbg_2 = get_post_meta($post_ID, "el_fi_prodct_gridbg_2", true); 77 $fancy_proMetabtn_align = get_post_meta($post_ID, "fancy_proMetabtn_align", true) ? get_post_meta($post_ID, "fancy_proMetabtn_align", true): 'left'; 78 79 80 $fancy_Pro_metabtn_ac_bg = get_post_meta($post_ID, "fancy_Pro_metabtn_ac_bg", true); 81 82 83 84 $fancy_Pro_metabtn_bg = get_post_meta($post_ID, "fancy_Pro_metabtn_bg", true) ? get_post_meta($post_ID, "fancy_Pro_metabtn_bg", true): '#81d742'; 85 86 $fancy_metabtn_Proclor = get_post_meta($post_ID, "fancy_metabtn_Proclor", true) ? get_post_meta($post_ID, "fancy_metabtn_Proclor", true): '#2d2d2d'; 87 88 89 echo '<p class="dretyui"> 90 [fancyfilter_product id ="'.esc_attr($post_ID).'" grid_style ="st-free" button="'.esc_attr($slect_prodct_butondata).'" col_1="'.esc_attr($el_fi_prodct_gridbg).'" col_2="'.esc_attr($el_fi_prodct_gridbg_2).'" align="'.esc_attr($fancy_proMetabtn_align).'" btn_act="'.esc_attr($fancy_Pro_metabtn_bg).'" btnclr="'.esc_attr($fancy_metabtn_Proclor).'" btnbg="'.esc_attr($fancy_Pro_metabtn_ac_bg).'" layout="'.esc_attr($slect_clm_erp_rw).'" animation="'.esc_attr($slect_styleanimationcm).'"]</p>'; 71 91 } 72 92 } -
fancy-fiter/trunk/includes/Class/class_fancyfilter_shortcode.php
r3145687 r3250371 38 38 wp_register_script( 'lightbox', FANCYFILTER_URL . 'assets/js/lightbox.min.js',array('jquery'),FANCYFILTER_VERSION,true ); 39 39 40 wp_register_script( 'fancy-fi lter', FANCYFILTER_URL . 'assets/js/fancy-filter.js',array('jquery','isotope.pkgd.min','lightbox'),FANCYFILTER_VERSION ,true ,10 );40 wp_register_script( 'fancy-fiter', FANCYFILTER_URL . 'assets/js/fancy-filter.js',array('jquery','isotope.pkgd.min','lightbox'),FANCYFILTER_VERSION ,true ,10 ); 41 41 42 42 } … … 56 56 ob_start(); 57 57 58 wp_enqueue_script('isotope.pkgd.min');58 wp_enqueue_script('isotope.pkgd.min'); 59 59 wp_enqueue_script('lightbox'); 60 wp_enqueue_script('fancy-fi lter');60 wp_enqueue_script('fancy-fiter'); 61 61 62 62 include FANCYFILTER_PATH .'includes/extra/OptionDataPortfolio.php'; … … 181 181 182 182 echo '<div class="fancyfilter_readmore" > 183 <a href="'. $el_readmore_url.'">'.$el_readmore_txt.'<i class="eicon-long-arrow-right hidden-log"></i></a>183 <a href="'.esc_url($el_readmore_url).'">'.esc_html($el_readmore_txt).'<i class="eicon-long-arrow-right hidden-log"></i></a> 184 184 </div>'; 185 185 } -
fancy-fiter/trunk/includes/Class/class_fancyfilterproduct_shortcode.php
r3145687 r3250371 35 35 wp_register_script( 'lightbox', FANCYFILTER_URL . 'assets/js/lightbox.min.js',array('jquery'),FANCYFILTER_VERSION,true ); 36 36 37 wp_register_script( 'fancy-fi lter', FANCYFILTER_URL . 'assets/js/fancy-filter.js',array('jquery','isotope.pkgd.min','lightbox'),FANCYFILTER_VERSION ,true ,10 );37 wp_register_script( 'fancy-fiter', FANCYFILTER_URL . 'assets/js/fancy-filter.js',array('jquery','isotope.pkgd.min','lightbox'),FANCYFILTER_VERSION ,true ,10 ); 38 38 39 39 } … … 54 54 wp_enqueue_script('isotope.pkgd.min'); 55 55 wp_enqueue_script('lightbox'); 56 wp_enqueue_script('fancy-fi lter');56 wp_enqueue_script('fancy-fiter'); 57 57 ob_start(); 58 58 59 59 include FANCYFILTER_PATH .'includes/extra/OptionDataPortfolio.php'; 60 60 include FANCYFILTER_PATH .'includes/extra/PortfolioCssdata.php'; 61 61 62 ?> 62 63 … … 64 65 65 66 <div class="fancyfilter-filter-nav" id="fancyfilter-filter-nav-shrcode"> 66 <ul style="text-align:<?php echo esc_attr($align); ?>">67 <ul style="text-align:<?php echo esc_attr($align); ?>"> 67 68 68 <?php if($fabcy_remove_al_btn !== 'checked'){69 if($button == 'btnsyle-1' || $button == 'btnsyle-2' ){?>69 <?php if($fabcy_remove_al_btn !== 'checked'){ 70 if($button == 'btnsyle-1' || $button == 'btnsyle-2' ){?> 70 71 71 72 72 <li class="active <?php echo esc_attr($button_class); ?>" data-filter="*" style="margin-left:15px"><?php echo esc_html($el_all_text); ?></li>73 <li class="active <?php echo esc_attr($button_class); ?>" data-filter="*" style="margin-left:15px"><?php echo esc_html($el_all_text); ?></li> 73 74 74 <?php } }75 <?php } } 75 76 $facncy_meta_post = get_post_meta($post_id, "facncy_meta_product", true); 76 77 if($facncy_meta_post){ … … 95 96 if($button == 'btnsyle-1' || $button == 'btnsyle-2' ){ 96 97 ?> 97 <li class=" <?php echo esc_attr($button_class); ?>" data-filter=".<?php echo $fancyfilter_pro_term->term_id ?>" style="margin-left:15px"> <?php echo $fancyfilter_pro_term->name;?></li>98 <li class=" <?php echo esc_attr($button_class); ?>" data-filter=".<?php echo esc_attr($fancyfilter_pro_term->term_id)?>" style="margin-left:15px"> <?php echo esc_html($fancyfilter_pro_term->name);?></li> 98 99 <?php } 99 100 … … 177 178 178 179 echo '<div class="fancyfilter_pro_readmore" > 179 <a href="'. $el_readmore_url.'">'.$el_readmore_txt.'<i class="hidden-log">→</i></a>180 <a href="'.esc_url($el_readmore_url).'">'.esc_html($el_readmore_txt).'<i class="hidden-log">→</i></a> 180 181 </div>'; 181 182 } -
fancy-fiter/trunk/includes/extra/FancyProductData.php
r3145687 r3250371 31 31 32 32 $writeiconclasss = get_post_meta(get_the_ID(), "writeiconclasss", true); 33 $rand = rand(213233,13023);33 $rand = wp_rand(213233,13023); 34 34 35 35 36 36 ?> 37 37 38 <div class=" grid-item <?php echo esc_attr($on_draught) . ' ' . $layout_class; ?>" style="width:<?php echo esc_attr($grid_layout) ?>%">38 <div class=" grid-item <?php echo esc_attr($on_draught) . ' ' . esc_attr($layout_class); ?>" style="width:<?php echo esc_attr($grid_layout) ?>%"> 39 39 <div id="rerepopup-<?php echo esc_attr($x . $rand_type); ?>" class="image-popup-child white-popup mfp-hide"> 40 40 <img src="<?php echo esc_url(fancyfilter_blog_thumbnail()); ?>" alt="<?php echo esc_attr(fancyfilter_pro_alt_text()); ?>"> 41 <h2 class="fancyfilter_pro-mfg-title" style="color:<?php echo $el_pup_t_clr;?>"> <?php echo esc_html(get_the_title()) ?></h2>42 <a href="<?php echo esc_url(get_the_permalink()); ?>" class="fancyfilter_pro_poptilie_link_" style="color: <?php echo $el_pup_btn_clr; ?>;background: <?php echo $el_pup_btn_bg; ?>;border-radius: <?php echo $el_pup_btn_bdr?>px; "><?php echo esc_html($el_pup_btn_title) ?></a>41 <h2 class="fancyfilter_pro-mfg-title" style="color:<?php echo esc_attr($el_pup_t_clr);?>"> <?php echo esc_html(get_the_title()) ?></h2> 42 <a href="<?php echo esc_url(get_the_permalink()); ?>" class="fancyfilter_pro_poptilie_link_" style="color: <?php echo esc_attr($el_pup_btn_clr); ?>;background: <?php echo esc_attr($el_pup_btn_bg); ?>;border-radius: <?php echo esc_attr($el_pup_btn_bdr) ?>px; "><?php echo esc_html($el_pup_btn_title) ?></a> 43 43 </div> 44 44 … … 64 64 <div class="fancyfilter_pro-free-item__info"> 65 65 66 <h2 class="fancyfilter_pro-free-item__header"><?php echo fancyfilter_pro_shtcode_title(); ?></h2>66 <h2 class="fancyfilter_pro-free-item__header"><?php echo esc_html(fancyfilter_pro_shtcode_title()); ?></h2> 67 67 68 68 <div class="fancyfilter_pro-free-item__links"> … … 70 70 <div class="fancyfilter_pro-free-item__link-block"> 71 71 72 <a href="<?php echo esc_url(get_the_permalink(get_the_ID())); ?>" class="fancyfilter_pro_port_link "><?php echo $link_icon; ?></a>72 <a href="<?php echo esc_url(get_the_permalink(get_the_ID())); ?>" class="fancyfilter_pro_port_link "><?php echo wp_kses_post($link_icon); ?></a> 73 73 </div> 74 74 … … 83 83 <?php 84 84 85 echo '<p class="fancyfilter_proprice">' . $product->get_price_html() . '</p>';85 echo '<p class="fancyfilter_proprice">' . wp_kses_post($product->get_price_html()) . '</p>'; 86 86 87 87 echo '<div class="fancyfilter_product woocommerce fancyfilter_pro_variable">'. do_shortcode('[add_to_cart id="'.get_the_ID().'" show_price="false"]').'</div>'; … … 92 92 if ($product->is_on_sale()) 93 93 { 94 echo '<p class="fancyfilter_pro_on_sale">' . esc_html__('Sale', 'fancy-fi lter') . '</p>';94 echo '<p class="fancyfilter_pro_on_sale">' . esc_html__('Sale', 'fancy-fiter') . '</p>'; 95 95 } ?> 96 96 </div> -
fancy-fiter/trunk/includes/extra/OptionDataPortfolio.php
r2631339 r3250371 2 2 3 3 $options = get_option('fancyfilter_options'); 4 $fancyfilter_pro_col_by = isset($options['fancyfilter_pro_col_by']) ? $options['fancyfilter_pro_col_by'] : 'col-2'; 5 $fancyfilter_btn_ = isset($options['fancyfilter_pro_btn_style']) ? $options['fancyfilter_pro_btn_style'] : 'btnsyle-1'; 4 5 $layout = isset($options['fancyfilter_pro_col_by']) ? $options['fancyfilter_pro_col_by'] : 'col-2'; 6 $button = isset($options['fancyfilter_pro_btn_style']) ? $options['fancyfilter_pro_btn_style'] : 'btnsyle-1'; 6 7 7 8 $portfolioselect2_style = isset($options['slct_portfoli_types']) ? $options['slct_portfoli_types'] : ' '; … … 10 11 $fancyfilter_select2_style = isset($options['yoo_slct_post_types']) ? $options['yoo_slct_post_types'] : ' '; 11 12 12 $grid_ fstyle = isset($options['fancyfilter_pro_main_style']) ? $options['fancyfilter_pro_main_style'] : 'st-free';13 $grid_style = isset($options['fancyfilter_pro_main_style']) ? $options['fancyfilter_pro_main_style'] : 'st-free'; 13 14 14 $ el_item_bg_color= isset($options['el_item_bg_color']) ? $options['el_item_bg_color'] : '#e91e63';15 $col_1 = isset($options['el_item_bg_color']) ? $options['el_item_bg_color'] : '#e91e63'; 15 16 16 $ el_item_bg_two_color= isset($options['el_item_bg_two_color']) ? $options['el_item_bg_two_color'] : 'rgba(20,44,160,0.67)';17 $col_2 = isset($options['el_item_bg_two_color']) ? $options['el_item_bg_two_color'] : 'rgba(20,44,160,0.67)'; 17 18 18 $ fancyfilter_pro_btn_alighmnt= isset($options['fancyfilter_pro_btn_alighmnt']) ? $options['fancyfilter_pro_btn_alighmnt'] : 'center';19 $align = isset($options['fancyfilter_pro_btn_alighmnt']) ? $options['fancyfilter_pro_btn_alighmnt'] : 'center'; 19 20 20 $ el_btntxt_color = isset($options['el_btntxt_color']) ? $options['el_btntxt_color'] : '#000';21 $btnclr = isset($options['el_btntxt_color']) ? $options['el_btntxt_color'] : '#000'; 21 22 22 $ el_btnact_color= isset($options['el_btnact_color']) ? $options['el_btnact_color'] : '#ccc';23 $btn_act = isset($options['el_btnact_color']) ? $options['el_btnact_color'] : '#ccc'; 23 24 24 $ el_btnact_bgcolor= isset($options['el_btnact_bgcolor']) ? $options['el_btnact_bgcolor'] : 'rgba(0, 0, 255, 1)';25 $btnbg = isset($options['el_btnact_bgcolor']) ? $options['el_btnact_bgcolor'] : 'rgba(0, 0, 255, 1)'; 25 26 26 27 27 $ fancyfilter_franimation = isset($options['fancyfilter_pro_style_animation']) ? $options['fancyfilter_pro_style_animation'] : 'fancyfilter_pro-free-item--eff1';28 $animation = isset($options['fancyfilter_pro_style_animation']) ? $options['fancyfilter_pro_style_animation'] : 'fancyfilter_pro-free-item--eff1'; 28 29 29 30 global $post; 30 31 $post->ID; 31 32 extract(shortcode_atts(array( 32 'button' => $ fancyfilter_btn_,33 'grid_style' => $grid_ fstyle,33 'button' => $button, 34 'grid_style' => $grid_style, 34 35 'id' => $post->ID, 35 'animation' => $ fancyfilter_franimation,36 'layout' => $ fancyfilter_pro_col_by,37 'col_1' => $ el_item_bg_color,38 'col_2' => $ el_item_bg_two_color,39 'align' => $ fancyfilter_pro_btn_alighmnt,40 'btn_act' => $ el_btnact_color,41 'btnclr' => $ el_btntxt_color,42 'btnbg' => $ el_btnact_bgcolor36 'animation' => $animation, 37 'layout' => $layout, 38 'col_1' => $col_1, 39 'col_2' => $col_2, 40 'align' => $align, 41 'btn_act' => $btn_act, 42 'btnclr' => $btnclr, 43 'btnbg' => $btnbg 43 44 44 45 ) , $atts)); 45 46 46 47 $post_id = $id; 48 $rand_type = $id; 47 49 50 $grid_layout = '49'; 51 if($layout == 'col-2'){ 52 $grid_layout = '32.33'; 53 } 54 if($layout == 'col-1'){ 55 $grid_layout = '49'; 56 } 57 if($layout == 'col-3'){ 58 $grid_layout = '24'; 59 } 48 60 $fancyfilter_pro_display_readmore = isset($options['fancyfilter_pro_display_readmore']) && $options['fancyfilter_pro_display_readmore'] === 'fancyfilter_pro_display_readmore' ? 'checked' : ''; 49 61 … … 114 126 } 115 127 116 $rand_type = rand(123456789, 12345678); 128 117 129 118 130 $el_btn_f_size = isset($options['el_btn_f_size']) ? $options['el_btn_f_size'] : '20'; … … 142 154 $fancyfilter_pro_readmore_align = isset($options['fancyfilter_pro_readmore_align']) ? $options['fancyfilter_pro_readmore_align'] : 'center'; 143 155 144 if($layout == 'col-2'){ 145 $grid_layout = '32.33'; 146 } 147 elseif($layout == 'col-1'){ 148 $grid_layout = '49'; 149 } 150 elseif($layout == 'col-3'){ 151 $grid_layout = '24'; 152 }else{ 153 $grid_layout = '32.33'; 154 } 156 155 157 156 158 $fabcy_remove_al_btn = isset($options['fabcy_remove_al_btn']) && $options['fabcy_remove_al_btn'] === 'fabcy_remove_al_btn' ? 'checked' : ''; -
fancy-fiter/trunk/includes/extra/PortfolioCssdata.php
r2702846 r3250371 1 1 <style> 2 2 3 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> a.image-popup,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> a.video-popup,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> a.shrcode-popup,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> a.fancyfilter_port_link{3 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.image-popup,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.video-popup,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.shrcode-popup,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.fancyfilter_port_link{ 4 4 5 color: <?php echo esc_ html($el_zoom_color) ?>;6 fill: <?php echo esc_ html($el_zoom_color) ?>;7 background-color:<?php echo esc_ html($el_zoom_bgcolor) ?>;8 border: 1px solid <?php echo esc_ html($el_zoom_bgcolor) ?>5 color: <?php echo esc_attr($el_zoom_color) ?>; 6 fill: <?php echo esc_attr($el_zoom_color) ?>; 7 background-color:<?php echo esc_attr($el_zoom_bgcolor) ?>; 8 border: 1px solid <?php echo esc_attr($el_zoom_bgcolor) ?> 9 9 } 10 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> a.image-popup:hover,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> a.video-popup:hover,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> a.shrcode-popup:hover,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> a.fancyfilter_port_link:hover,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .portfolio_wrap_six .portfolio_content .icon li a:after{10 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.image-popup:hover,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.video-popup:hover,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.shrcode-popup:hover,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> a.fancyfilter_port_link:hover,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .portfolio_wrap_six .portfolio_content .icon li a:after{ 11 11 12 color: <?php echo esc_ html($el_link_color) ?>;13 fill: <?php echo esc_ html($el_link_color) ?>;14 background-color:<?php echo esc_ html($el_link_bgcolor) ?>;15 border: 1px solid <?php echo esc_ html($el_link_bgcolor) ?>;12 color: <?php echo esc_attr($el_link_color) ?>; 13 fill: <?php echo esc_attr($el_link_color) ?>; 14 background-color:<?php echo esc_attr($el_link_bgcolor) ?>; 15 border: 1px solid <?php echo esc_attr($el_link_bgcolor) ?>; 16 16 17 17 } 18 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_readmore{19 text-align: <?php echo $fancyfilter_pro_readmore_align; ?>;18 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_readmore{ 19 text-align: <?php echo esc_attr($fancyfilter_pro_readmore_align); ?>; 20 20 } 21 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_readmore a{21 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_readmore a{ 22 22 23 background: <?php echo esc_ html($el_readmore_bgcolor); ?>;24 color: <?php echo esc_ html($el_readmore_color); ?>;;25 border: 1px solid <?php echo esc_ html($el_readmore_bgcolor); ?>;23 background: <?php echo esc_attr($el_readmore_bgcolor); ?>; 24 color: <?php echo esc_attr($el_readmore_color); ?>;; 25 border: 1px solid <?php echo esc_attr($el_readmore_bgcolor); ?>; 26 26 } 27 27 28 28 29 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_readmore a:hover{30 color: <?php echo esc_ html($el_readmore_bgcolor); ?>;;29 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_readmore a:hover{ 30 color: <?php echo esc_attr($el_readmore_bgcolor); ?>;; 31 31 } 32 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_pro_pagination a.next.page-numbers,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .fancyfilter_pro_pagination a.page-numbers{33 color: <?php echo $el_pagination_color; ?>;34 background-color: <?php echo $el_pagination_bg_color; ?>;35 border: 2px solid <?php echo $el_pagination_bg_color; ?>;32 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pro_pagination a.next.page-numbers,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pro_pagination a.page-numbers{ 33 color: <?php echo esc_attr($el_pagination_color); ?>; 34 background-color: <?php echo esc_attr($el_pagination_bg_color); ?>; 35 border: 2px solid <?php echo esc_attr($el_pagination_bg_color); ?>; 36 36 37 37 } 38 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_pro_pagination span.page-numbers.current{39 color: <?php echo $el_pagination_ac_color; ?>;38 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pro_pagination span.page-numbers.current{ 39 color: <?php echo esc_attr($el_pagination_ac_color); ?>; 40 40 41 41 42 42 } 43 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_pro_pagination{43 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pro_pagination{ 44 44 45 text-align: <?php echo $fancyfilter_pro_pg_align; ?>;46 margin-top: <?php echo $el_pagination_top_space?>px;45 text-align: <?php echo esc_attr($fancyfilter_pro_pg_align); ?>; 46 margin-top: <?php echo esc_attr($el_pagination_top_space);?>px; 47 47 48 48 } … … 51 51 52 52 53 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_pagination a.next.page-numbers,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .fancyfilter_pagination a.page-numbers{54 color: <?php echo esc_ html($el_pagination_color); ?>;55 background-color: <?php echo esc_ html($el_pagination_bg_color); ?>;56 border: 2px solid <?php echo esc_ html($el_pagination_bg_color); ?>;53 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pagination a.next.page-numbers,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pagination a.page-numbers{ 54 color: <?php echo esc_attr($el_pagination_color); ?>; 55 background-color: <?php echo esc_attr($el_pagination_bg_color); ?>; 56 border: 2px solid <?php echo esc_attr($el_pagination_bg_color); ?>; 57 57 58 58 } 59 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_pagination span.page-numbers.current{60 color: <?php echo esc_ html($el_pagination_ac_color); ?>;59 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pagination span.page-numbers.current{ 60 color: <?php echo esc_attr($el_pagination_ac_color); ?>; 61 61 62 62 63 63 } 64 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter_pagination{64 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_pagination{ 65 65 66 text-align: <?php echo esc_ html($fancyfilter_pro_pg_align); ?>;67 margin-top: <?php echo esc_ html($el_pagination_top_space)?>px;66 text-align: <?php echo esc_attr($fancyfilter_pro_pg_align); ?>; 67 margin-top: <?php echo esc_attr($el_pagination_top_space)?>px; 68 68 69 69 } 70 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> li.hover_eight.hover_button,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> li.hover_eight.hover_button:before,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> li.hover_eight.hover_button:after,.fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> li.hover_three::before{71 background: <?php echo esc_ html($btnbg) ?>;70 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> li.hover_eight.hover_button,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> li.hover_eight.hover_button:before,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> li.hover_eight.hover_button:after,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> li.hover_three::before{ 71 background: <?php echo esc_attr($btnbg) ?>; 72 72 } 73 73 74 74 75 75 76 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .hover_six.active,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .hover_seven svg.button-stroke,.hover_two rect{77 border-top-color: <?php echo esc_ html($btn_act) ?>;78 stroke: <?php echo esc_ html($btn_act) ?>;76 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .hover_six.active,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .hover_seven svg.button-stroke,.hover_two rect{ 77 border-top-color: <?php echo esc_attr($btn_act) ?>; 78 stroke: <?php echo esc_attr($btn_act) ?>; 79 79 } 80 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .hover_twelve.from-right:before,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .hover_univer:hover:after,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .active.hover_univer:after,.hover_four:after{80 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .hover_twelve.from-right:before,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .hover_univer:hover:after,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .active.hover_univer:after,.hover_four:after{ 81 81 82 background: <?php echo esc_ html($btnbg) ?>;82 background: <?php echo esc_attr($btnbg) ?>; 83 83 } 84 84 … … 86 86 87 87 88 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .portfolio_content:before,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .fancyfilter_imageclass:before,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type)?> .fancyfilter-free-item__info{88 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .portfolio_content:before,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter_imageclass:before,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter-free-item__info{ 89 89 90 background:<?php echo esc_ html($col_2) ?> ;91 background: linear-gradient(151deg, <?php echo esc_ html($col_1) ?> 36%, <?php echo esc_html($col_2) ?> 100%)90 background:<?php echo esc_attr($col_2) ?> ; 91 background: linear-gradient(151deg, <?php echo esc_attr($col_1) ?> 36%, <?php echo esc_attr($col_2) ?> 100%) 92 92 93 93 } 94 94 95 95 96 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .portfolio_content small{97 color:<?php echo esc_ html($el_cat_color)?>96 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .portfolio_content small{ 97 color:<?php echo esc_attr($el_cat_color)?> 98 98 } 99 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .portfolio_content h2{100 color:<?php echo esc_ html($el_title_color);?>99 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .portfolio_content h2{ 100 color:<?php echo esc_attr($el_title_color);?> 101 101 102 102 } 103 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter-filter-nav ul li{103 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter-filter-nav ul li{ 104 104 105 color: <?php echo esc_ html($btnclr) ?>;105 color: <?php echo esc_attr($btnclr) ?>; 106 106 107 107 } 108 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter-filter-nav ul li.active{109 color: <?php echo esc_ html($btn_act) ?>;108 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter-filter-nav ul li.active{ 109 color: <?php echo esc_attr($btn_act) ?>; 110 110 } 111 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter-free-item__link{112 fill: <?php echo esc_ html($el_zoom_color) ?>;113 background:<?php echo esc_ html($el_zoom_bgcolor) ?>;111 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter-free-item__link{ 112 fill: <?php echo esc_attr($el_zoom_color) ?>; 113 background:<?php echo esc_attr($el_zoom_bgcolor) ?>; 114 114 } 115 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type)?> .fancyfilter-free-item__link:hover{116 fill: <?php echo esc_ html($el_link_color) ?>;117 background:<?php echo esc_ html($el_link_bgcolor) ?>;115 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type)?> .fancyfilter-free-item__link:hover{ 116 fill: <?php echo esc_attr($el_link_color) ?>; 117 background:<?php echo esc_attr($el_link_bgcolor) ?>; 118 118 } 119 119 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> #fancyfilter-filter-nav-shrcode ul li{ 120 font-weight: <?php echo esc_ html($el_btn_f_weight) ?>;121 font-size:<?php echo esc_ html($el_btn_f_size) ?>px;120 font-weight: <?php echo esc_attr($el_btn_f_weight) ?>; 121 font-size:<?php echo esc_attr($el_btn_f_size) ?>px; 122 122 123 123 } 124 124 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .portfolio_content h2{ 125 125 126 font-weight: <?php echo esc_ html($el_ti_font_w) ?>;127 font-size:<?php echo esc_ html($el_ti_font) ?>px;126 font-weight: <?php echo esc_attr($el_ti_font_w) ?>; 127 font-size:<?php echo esc_attr($el_ti_font) ?>px; 128 128 } 129 129 130 130 @media (max-width:768px){ 131 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .fancyfilter-filter-nav ul{131 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .fancyfilter-filter-nav ul{ 132 132 text-align: center; 133 133 } 134 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .fancyfilter-filter-nav ul li {134 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .fancyfilter-filter-nav ul li { 135 135 text-align: center; 136 136 display: block; 137 137 margin:20px 0; 138 138 } 139 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .active.hover_one::before, .active.hover_one::after {139 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .active.hover_one::before, .active.hover_one::after { 140 140 width: 20%; 141 141 left: 41%; … … 144 144 145 145 } 146 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .portfolio_content .icon li a{147 background-color: <?php echo esc_ html($el_zoom_bgcolor) ?>;148 border: 1px solid <?php echo esc_ html($el_zoom_bgcolor) ?>;146 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .portfolio_content .icon li a{ 147 background-color: <?php echo esc_attr($el_zoom_bgcolor) ?>; 148 border: 1px solid <?php echo esc_attr($el_zoom_bgcolor) ?>; 149 149 } 150 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .portfolio_content .icon li a svg{151 fill: <?php echo esc_ html($el_zoom_color) ?>;150 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .portfolio_content .icon li a svg{ 151 fill: <?php echo esc_attr($el_zoom_color) ?>; 152 152 } 153 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .portfolio_content .icon li a:hover svg,.fancyfilter-filter-wrapper-<?php echo esc_html($rand_type) ?> a.fancyfilter_port_link:hover svg#fancyLinkOIconTwoss{154 fill: <?php echo esc_ html($el_link_color) ?>;153 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .portfolio_content .icon li a:hover svg,.fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> a.fancyfilter_port_link:hover svg#fancyLinkOIconTwoss{ 154 fill: <?php echo esc_attr($el_link_color) ?>; 155 155 } 156 156 157 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> a.fancyfilter_port_link:hover svg#fancyLinkOIconThree, a.fancyfilter_port_link:hover svg#fancyLinkOIconThree path {158 stroke: <?php echo esc_ html($el_link_color) ?>;157 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> a.fancyfilter_port_link:hover svg#fancyLinkOIconThree, a.fancyfilter_port_link:hover svg#fancyLinkOIconThree path { 158 stroke: <?php echo esc_attr($el_link_color) ?>; 159 159 } 160 160 161 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> .portfolio_content .icon li a:hover{162 background-color: <?php echo esc_ html($el_link_bgcolor) ?>;163 border-color:<?php echo esc_ html($el_link_bgcolor) ?>;161 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> .portfolio_content .icon li a:hover{ 162 background-color: <?php echo esc_attr($el_link_bgcolor) ?>; 163 border-color:<?php echo esc_attr($el_link_bgcolor) ?>; 164 164 } 165 165 166 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> a.fancyfilter_port_link svg#fancyLinkOIconThree, a.fancyfilter_port_link svg#fancyLinkOIconThree path {167 stroke: <?php echo esc_ html($el_zoom_color) ?>;166 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> a.fancyfilter_port_link svg#fancyLinkOIconThree, a.fancyfilter_port_link svg#fancyLinkOIconThree path { 167 stroke: <?php echo esc_attr($el_zoom_color) ?>; 168 168 fill: none; 169 169 } 170 .fancyfilter-filter-wrapper-<?php echo esc_ html($rand_type) ?> a.fancyfilter_port_link svg#fancyLinkOIconTwoss{170 .fancyfilter-filter-wrapper-<?php echo esc_attr($rand_type) ?> a.fancyfilter_port_link svg#fancyLinkOIconTwoss{ 171 171 172 fill: <?php echo esc_ html($el_zoom_color) ?>;172 fill: <?php echo esc_attr($el_zoom_color) ?>; 173 173 stroke: none; 174 174 } -
fancy-fiter/trunk/includes/extra/PortfolioQueryDAta.php
r3145687 r3250371 32 32 <div class="fancyfilter-free-item__info"> 33 33 34 <h2 class="fancyfilter-free-item__header"><?php echo fancyfilter_shtcode_title(); ?></h2>34 <h2 class="fancyfilter-free-item__header"><?php echo esc_html(fancyfilter_shtcode_title()); ?></h2> 35 35 36 36 <div class="fancyfilter-free-item__links"> … … 57 57 58 58 </div> 59 -
fancy-fiter/trunk/includes/helper/fancyfilter-helper-function.php
r2702846 r3250371 207 207 $excerpt = preg_replace(" ([.*?])",'',$excerpt); 208 208 $excerpt = strip_shortcodes($excerpt); 209 $excerpt = strip_tags($excerpt);209 $excerpt = wp_strip_all_tags($excerpt); 210 210 $excerpt = substr($excerpt, 0, $excerpt_length); 211 211 $excerpt = substr($excerpt, 0, strripos($excerpt, " ")); -
fancy-fiter/trunk/includes/helper/features.php
r3145687 r3250371 11 11 <a href="http://fancyfilter.sharabindu.com/">Check Demo</a> 12 12 </p> 13 <img src=" 14 <?php echo FANCYFILTER_URL.'/assets/admin/img/4.jpg'?>" alt=""> 13 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/4.jpg'?>" alt=""> 15 14 </div> 16 15 </li> … … 22 21 <a href="https://fancyfilter.pinkaddons.xyz/docs/metabox-fancy-filter/#2-toc-title">How to Set</a> 23 22 </p> 24 <img src=" 25 <?php echo FANCYFILTER_URL.'/assets/admin/img/1-min.jpg'?>" alt=""> 23 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/1-min.jpg'?>" alt=""> 26 24 </div> 27 25 </li> … … 33 31 <a href="https://fancyfilter.pinkaddons.xyz/docs/metabox-fancy-filter/#2-toc-title">How to Set</a> 34 32 </p> 35 <img src=" 36 <?php echo FANCYFILTER_URL.'/assets/admin/img/3-min.jpg'?>" alt=""> 33 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/3-min.jpg'?>" alt=""> 37 34 </div> 38 35 </li> … … 44 41 <a href="https://fancyfilter.pinkaddons.xyz/docs/metabox-fancy-filter/#2-toc-title">How to Set</a> 45 42 </p> 46 <img src=" 47 <?php echo FANCYFILTER_URL.'/assets/admin/img/2-min.jpg'?>" alt=""> 43 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/2-min.jpg'?>" alt=""> 48 44 </div> 49 45 </li> … … 54 50 <div> 55 51 <h2>WooCommerce Support</h2> 56 <p>Create a beautiful Product Showcase with the Premium Version</p>52 <p>Create a beautiful Product Showcase with AJax Add to cart button in the Premium Version</p> 57 53 <p> 58 54 <a href="https://fancyfilter.pinkaddons.xyz/product-filter/">View Demo</a> 59 55 </p> 60 <img src=" 61 <?php echo FANCYFILTER_URL.'/assets/admin/img/product.jpg'?>" alt=""> 56 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/product.jpg'?>" alt=""> 62 57 </div> 63 58 </li> … … 66 61 <h2>10 Unique Design</h2> 67 62 <p>Amazing Design and smooth hover effects for the Premium Version</p> 68 <img src=" 69 <?php echo FANCYFILTER_URL.'/assets/admin/img/coll-style.jpg'?>" alt=""> 63 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/coll-style.jpg'?>" alt=""> 70 64 </div> 71 65 </li> … … 74 68 <h2>12+ attractive button</h2> 75 69 <p>Cool & attrtacive filter button deign for the premium version</p> 76 <img src=" 77 <?php echo FANCYFILTER_URL.'/assets/admin/img/button.jpg'?>" alt=""> 70 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/admin/img/button.jpg'?>" alt=" Filter Button"> 78 71 </div> 79 72 </li> … … 92 85 </thead> 93 86 <tbody> 87 88 <tr> 89 <td data-label="button no">10+ unique designs</td> 90 <td data-label="Style no" class="tabtxtali"> 91 <span class="dashicons dashicons-yes"></span> 92 </td> 93 <td data-label="Shortcode with Attribute" class="tabtxtali"> 94 <span class="dashicons dashicons-no-alt"></span> 95 </td> 96 </tr> 97 <tr> 98 <td data-label="button no">12+ Cool Button designs</td> 99 <td data-label="Style no" class="tabtxtali"> 100 <span class="dashicons dashicons-yes"></span> 101 </td> 102 <td data-label="Shortcode with Attribute" class="tabtxtali"> 103 <span class="dashicons dashicons-no-alt"></span> 104 </td> 105 </tr> 106 <tr> 107 <td data-label="button no">Popup content with image gallery</td> 108 <td data-label="Style no" class="tabtxtali"> 109 <span class="dashicons dashicons-yes"></span> 110 </td> 111 <td data-label="Shortcode with Attribute" class="tabtxtali"> 112 <span class="dashicons dashicons-no-alt"></span> 113 </td> 114 </tr> 115 <tr> 116 <td data-label="button no">Popup video for the item</td> 117 <td data-label="Style no" class="tabtxtali"> 118 <span class="dashicons dashicons-yes"></span> 119 </td> 120 <td data-label="Shortcode with Attribute" class="tabtxtali"> 121 <span class="dashicons dashicons-no-alt"></span> 122 </td> 123 </tr> 124 <tr> 125 <td data-label="button no">Popup Short code Support</td> 126 <td data-label="Style no" class="tabtxtali"> 127 <span class="dashicons dashicons-yes"></span> 128 </td> 129 <td data-label="Shortcode with Attribute" class="tabtxtali"> 130 <span class="dashicons dashicons-no-alt"></span> 131 </td> 132 </tr> 133 <tr> 134 <td data-label="button no">Popup raw html Support</td> 135 <td data-label="Style no" class="tabtxtali"> 136 <span class="dashicons dashicons-yes"></span> 137 </td> 138 <td data-label="Shortcode with Attribute" class="tabtxtali"> 139 <span class="dashicons dashicons-no-alt"></span> 140 </td> 141 </tr> 142 <tr> 143 <td data-label="button no">Preview & Download Metabox</td> 144 <td data-label="Style no" class="tabtxtali"> 145 <span class="dashicons dashicons-yes"></span> 146 </td> 147 <td data-label="Shortcode with Attribute" class="tabtxtali"> 148 <span class="dashicons dashicons-no-alt"></span> 149 </td> 150 </tr> 94 151 <tr> 95 152 <td data-label="button no">WooCommerce Support(Product Filter)</td> … … 98 155 </td> 99 156 <td data-label="Shortcode with Attribute" class="tabtxtali"> 100 <span class="dashicons dashicons-no-alt"></span> 101 </td> 102 </tr> 103 <tr> 104 <td data-label="button no">10+ unique designs</td> 105 <td data-label="Style no" class="tabtxtali"> 106 <span class="dashicons dashicons-yes"></span> 107 </td> 108 <td data-label="Shortcode with Attribute" class="tabtxtali"> 109 <span class="dashicons dashicons-no-alt"></span> 110 </td> 111 </tr> 112 <tr> 113 <td data-label="button no">12+ Cool Button designs</td> 114 <td data-label="Style no" class="tabtxtali"> 115 <span class="dashicons dashicons-yes"></span> 116 </td> 117 <td data-label="Shortcode with Attribute" class="tabtxtali"> 118 <span class="dashicons dashicons-no-alt"></span> 119 </td> 120 </tr> 121 <tr> 122 <td data-label="button no">Popup content with image gallery</td> 123 <td data-label="Style no" class="tabtxtali"> 124 <span class="dashicons dashicons-yes"></span> 125 </td> 126 <td data-label="Shortcode with Attribute" class="tabtxtali"> 127 <span class="dashicons dashicons-no-alt"></span> 128 </td> 129 </tr> 130 <tr> 131 <td data-label="button no">Popup video for the item</td> 132 <td data-label="Style no" class="tabtxtali"> 133 <span class="dashicons dashicons-yes"></span> 134 </td> 135 <td data-label="Shortcode with Attribute" class="tabtxtali"> 136 <span class="dashicons dashicons-no-alt"></span> 137 </td> 138 </tr> 139 <tr> 140 <td data-label="button no">Popup Short code Support</td> 141 <td data-label="Style no" class="tabtxtali"> 142 <span class="dashicons dashicons-yes"></span> 143 </td> 144 <td data-label="Shortcode with Attribute" class="tabtxtali"> 145 <span class="dashicons dashicons-no-alt"></span> 146 </td> 147 </tr> 148 <tr> 149 <td data-label="button no">Popup raw html Support</td> 150 <td data-label="Style no" class="tabtxtali"> 151 <span class="dashicons dashicons-yes"></span> 152 </td> 153 <td data-label="Shortcode with Attribute" class="tabtxtali"> 154 <span class="dashicons dashicons-no-alt"></span> 155 </td> 156 </tr> 157 <tr> 158 <td data-label="button no">Preview & Download Metabox</td> 159 <td data-label="Style no" class="tabtxtali"> 160 <span class="dashicons dashicons-yes"></span> 161 </td> 162 <td data-label="Shortcode with Attribute" class="tabtxtali"> 163 <span class="dashicons dashicons-no-alt"></span> 164 </td> 165 </tr> 157 <span class="dashicons dashicons-yes"></span> 158 </td> 159 </tr> 160 166 161 <tr> 167 162 <td data-label="button no">Dynamic Shortcode Creating</td> -
fancy-fiter/trunk/metaData/FancyMetaExtra/BlogData.php
r2631339 r3250371 41 41 42 42 <select class="item_slct" name="slectblog__styledata"> 43 <option value="st-free" ' . selected('st-free', $slectblog__styledata, false) . '>'.esc_html('Free Style', 'fancy-fi lter').'</option>44 <option class="prodataver">'.esc_html('Style One (Pro)', 'fancy-fi lter').'</option>45 <option class="prodataver">'.esc_html('Style Two (Pro)', 'fancy-fi lter').'</option>46 <option class="prodataver">'.esc_html('Style Three (Pro)', 'fancy-fi lter').'</option>47 <option class="prodataver">'.esc_html('Style Four (Pro)', 'fancy-fi lter').'</option>48 <option class="prodataver">'.esc_html('Style Five (Pro)', 'fancy-fi lter').'</option>49 <option class="prodataver">'.esc_html('Style Six (Pro)', 'fancy-fi lter').'</option>50 <option class="prodataver">'.esc_html('Style Seven (Pro)', 'fancy-fi lter').'</option>51 <option class="prodataver">'.esc_html('Style Eight (Pro)', 'fancy-fi lter').'</option>52 <option class="prodataver">'.esc_html('Style Nine (Pro)', 'fancy-fi lter').'</option>53 <option class="prodataver">'.esc_html('Style Ten (Pro)', 'fancy-fi lter').'</option>43 <option value="st-free" ' . selected('st-free', $slectblog__styledata, false) . '>'.esc_html('Free Style', 'fancy-fiter').'</option> 44 <option class="prodataver">'.esc_html('Style One (Pro)', 'fancy-fiter').'</option> 45 <option class="prodataver">'.esc_html('Style Two (Pro)', 'fancy-fiter').'</option> 46 <option class="prodataver">'.esc_html('Style Three (Pro)', 'fancy-fiter').'</option> 47 <option class="prodataver">'.esc_html('Style Four (Pro)', 'fancy-fiter').'</option> 48 <option class="prodataver">'.esc_html('Style Five (Pro)', 'fancy-fiter').'</option> 49 <option class="prodataver">'.esc_html('Style Six (Pro)', 'fancy-fiter').'</option> 50 <option class="prodataver">'.esc_html('Style Seven (Pro)', 'fancy-fiter').'</option> 51 <option class="prodataver">'.esc_html('Style Eight (Pro)', 'fancy-fiter').'</option> 52 <option class="prodataver">'.esc_html('Style Nine (Pro)', 'fancy-fiter').'</option> 53 <option class="prodataver">'.esc_html('Style Ten (Pro)', 'fancy-fiter').'</option> 54 54 </select></li> 55 55 <li class="mtfgfancy_selectsd"><label class="fancymetagrid"> Animation Effects</label><select class="item_slct" name="slect_styleanimationblog" id="id_free_method" > 56 56 57 <option value="fancyfilter_pro-free-item--eff1" ' . selected('fancyfilter_pro-free-item--eff1', $slect_styleanimationblog, false) . '>'.esc_html('Effect 1', 'fancy-fi lter').'</option>58 <option value="fancyfilter_pro-free-item--eff2" ' . selected('fancyfilter_pro-free-item--eff2', $slect_styleanimationblog, false) . '>'.esc_html('Effect 2', 'fancy-fi lter').'</option>59 <option value="fancyfilter_pro-free-item--eff3" ' . selected('fancyfilter_pro-free-item--eff3', $slect_styleanimationblog, false) . '>'.esc_html('Effect 3', 'fancy-fi lter').'</option>60 <option value="fancyfilter_pro-free-item--eff4" ' . selected('fancyfilter_pro-free-item--eff4', $slect_styleanimationblog, false) . '>'.esc_html('Effect 4', 'fancy-fi lter').'</option> </select></li>57 <option value="fancyfilter_pro-free-item--eff1" ' . selected('fancyfilter_pro-free-item--eff1', $slect_styleanimationblog, false) . '>'.esc_html('Effect 1', 'fancy-fiter').'</option> 58 <option value="fancyfilter_pro-free-item--eff2" ' . selected('fancyfilter_pro-free-item--eff2', $slect_styleanimationblog, false) . '>'.esc_html('Effect 2', 'fancy-fiter').'</option> 59 <option value="fancyfilter_pro-free-item--eff3" ' . selected('fancyfilter_pro-free-item--eff3', $slect_styleanimationblog, false) . '>'.esc_html('Effect 3', 'fancy-fiter').'</option> 60 <option value="fancyfilter_pro-free-item--eff4" ' . selected('fancyfilter_pro-free-item--eff4', $slect_styleanimationblog, false) . '>'.esc_html('Effect 4', 'fancy-fiter').'</option> </select></li> 61 61 62 62 … … 71 71 72 72 <select class="item_slct" name="slect_blog_erp_rw"> 73 <option value="col-1" ' . selected('col-1', $slect_blog_erp_rw, false) . '>'.esc_html('Two Column', 'fancy-fi lter').'</option>74 <option value="col-2" ' . selected('col-2', $slect_blog_erp_rw, false) . '>'.esc_html('Three Column', 'fancy-fi lter').'</option>75 <option value="col-3" ' . selected('col-3', $slect_blog_erp_rw, false) . '>'.esc_html('Four Column', 'fancy-fi lter').'</option>73 <option value="col-1" ' . selected('col-1', $slect_blog_erp_rw, false) . '>'.esc_html('Two Column', 'fancy-fiter').'</option> 74 <option value="col-2" ' . selected('col-2', $slect_blog_erp_rw, false) . '>'.esc_html('Three Column', 'fancy-fiter').'</option> 75 <option value="col-3" ' . selected('col-3', $slect_blog_erp_rw, false) . '>'.esc_html('Four Column', 'fancy-fiter').'</option> 76 76 </select></li>' ; 77 77 78 78 $html .= '<li class="mtfgfancy_selectsd"><label class="fancymetagrid">Choose Filter Button Style</label> 79 79 <select name="slect_blg_butondata" id="id_application_method"> 80 <option value="btnsyle-no" ' . selected('btnsyle-no', $slect_blg_butondata, false) . '>'.esc_html('None', 'fancy-filter').'</option> 81 <option value="btnsyle-1" ' . selected('btnsyle-1', $slect_blg_butondata, false) . '>'.esc_html('Style 1 ', 'fancy-filter').'</option> 82 <option value="btnsyle-2" ' . selected('btnsyle-2', $slect_blg_butondata, false) . '>'.esc_html('Style 2 ', 'fancy-filter').'</option> 83 <option class="prodataver">'.esc_html('Style 3 (Pro)', 'fancy-filter').'</option> 84 <option class="prodataver">'.esc_html('Style 4 (Pro)', 'fancy-filter').'</option> 85 <option class="prodataver">'.esc_html('Style 5 (Pro)', 'fancy-filter').'</option> 86 <option class="prodataver">'.esc_html('Style 6 (Pro)', 'fancy-filter').'</option> 87 <option class="prodataver">'.esc_html('Style 7 (Pro)', 'fancy-filter').'</option> 88 <option class="prodataver">'.esc_html('Style 8 (Pro)', 'fancy-filter').'</option> 89 <option class="prodataver">'.esc_html('Style 9 (Pro)', 'fancy-filter').'</option> 90 < 91 <option class="prodataver">'.esc_html('Style 10 (Pro)', 'fancy-filter').'</option> 92 <option class="prodataver">'.esc_html('Style 11 (Pro)', 'fancy-filter').'</option> 93 <option class="prodataver">'.esc_html('Style 12 (Pro)', 'fancy-filter').'</option> 94 <option class="prodataver">'.esc_html('Style 13 (Pro)', 'fancy-filter').'</option> 80 <option value="btnsyle-no" ' . selected('btnsyle-no', $slect_blg_butondata, false) . '>'.esc_html('None', 'fancy-fiter').'</option> 81 <option value="btnsyle-1" ' . selected('btnsyle-1', $slect_blg_butondata, false) . '>'.esc_html('Style 1 ', 'fancy-fiter').'</option> 82 <option value="btnsyle-2" ' . selected('btnsyle-2', $slect_blg_butondata, false) . '>'.esc_html('Style 2 ', 'fancy-fiter').'</option> 95 83 </select></li> 96 84 <li class="mtfgfancy_selectsd"> 97 85 <label class="fancymetagrid">Button Align</label> 98 86 <select name="fancy_blogMetabtn_align" class="item_slct" > 99 <option value="left" ' . selected('left', $fancy_blogMetabtn_align, false) . '>'.esc_html('Left', 'fancy-fi lter').'</option>100 <option value="center" ' . selected('center', $fancy_blogMetabtn_align, false) . '>'.esc_html('Center', 'fancy-fi lter').'</option>101 <option value="right" ' . selected('right', $fancy_blogMetabtn_align, false) . '>'.esc_html('Right', 'fancy-fi lter').'</option>87 <option value="left" ' . selected('left', $fancy_blogMetabtn_align, false) . '>'.esc_html('Left', 'fancy-fiter').'</option> 88 <option value="center" ' . selected('center', $fancy_blogMetabtn_align, false) . '>'.esc_html('Center', 'fancy-fiter').'</option> 89 <option value="right" ' . selected('right', $fancy_blogMetabtn_align, false) . '>'.esc_html('Right', 'fancy-fiter').'</option> 102 90 </select></li> 103 91 … … 120 108 else{ 121 109 122 echo "Please create an item by attaching a category first <a href='". admin_url('/')."edit.php?post_type=fancyfilter'>Click here</a>";110 echo "Please create an item by attaching a category first <a href='".esc_url(admin_url('/'))."edit.php?post_type=fancyfilter'>Click here</a>"; 123 111 124 112 } … … 127 115 $html .= '</ul>'; 128 116 129 echo $html; 117 118 $allowed_html = array( 119 'ul' => array( 120 'id' => array(), 121 'class' => array(), 122 'style' => array(), 123 124 ), 125 'li' => array( 126 'id' => array(), 127 'class' => array(), 128 'style' => array(), 129 ), 130 'label' => array( 131 'id' => array(), 132 'class' => array(), 133 'for' => array(), 134 ), 135 'input' => array( 136 'type' => array(), 137 'id' => array(), 138 'class' => array(), 139 'name' => array(), 140 'value' => array(), 141 'checked' => array(), 142 ), 143 'select' => array( 144 'class' => array(), 145 'id' => array(), 146 'name' => array(), 147 'multiple' => array(), 148 149 ), 150 'option' => array( 151 'value' => array(), 152 'class' => array(), 153 'id' => array(), 154 'selected' => array(), 155 ), 156 'div' => array( 157 'class' => array(), 158 'id' => array(), 159 'style' => array(), 160 ), 161 'strong' => array( 162 'class' => array(), 163 'id' => array(), 164 ), 165 'table' => array( 166 'class' => array(), 167 'id' => array(), 168 ), 169 'tr' => array( 170 'class' => array(), 171 'id' => array(), 172 ), 173 'tbody' => array( 174 'class' => array(), 175 'id' => array(), 176 ), 177 'th' => array( 178 'class' => array(), 179 'id' => array(), 180 ), 181 'td' => array( 182 'class' => array(), 183 'id' => array(), 184 ), 185 'span' => array( 186 'id' => array(), 187 'class' => array(), 188 'style' => array(), 189 ), 190 'em' => array( 191 'id' => array(), 192 'class' => array(), 193 'style' => array(), 194 ), 195 ); 196 197 198 199 echo wp_kses($html,$allowed_html ); 130 200 131 201 if (!empty($appended_meta_post)) … … 136 206 <em><p>To display the frontend, copy the code below and paste it in the desired location</p></em> 137 207 <p class="dynashorcde"> 138 [fancyfilter_blog id ="'.esc_attr($post->ID).'" grid_style = "'. $slectblog__styledata.'" button="'.$slect_blg_butondata.'" col_1="'.$el_fi_blog_gridbg.'" col_2="'.$el_fi_blog_gridbg_2.'" align="'.$fancy_blogMetabtn_align.'" btn_act="'.$fancy_blog_metabtn_bg.'" btnclr="'.$fancy_blog_metabtn_clor.'" btnbg="'.$fancy_blogmetabtn_ac_bg.'" layout="'.$slect_blog_erp_rw.'" animation="'.$slect_styleanimationblog.'"]208 [fancyfilter_blog id ="'.esc_attr($post->ID).'" grid_style = "'. esc_attr($slectblog__styledata).'" button="'.esc_attr($slect_blg_butondata).'" col_1="'.esc_attr($el_fi_blog_gridbg).'" col_2="'.esc_attr($el_fi_blog_gridbg_2).'" align="'.esc_attr($fancy_blogMetabtn_align).'" btn_act="'.esc_attr($fancy_blog_metabtn_bg).'" btnclr="'.esc_attr($fancy_blog_metabtn_clor).'" btnbg="'.esc_attr($fancy_blogmetabtn_ac_bg).'" layout="'.esc_attr($slect_blog_erp_rw).'" animation="'.esc_attr($slect_styleanimationblog).'"] 139 209 </p></div>'; 140 210 } -
fancy-fiter/trunk/metaData/FancyMetaExtra/PortfolioData.php
r2631339 r3250371 40 40 41 41 <select class="item_slct" name="slect_styledata"> 42 <option value="st-free" ' . selected('st-free', $slect_styledata, false) . '>'.esc_html('Free Style', 'fancy-fi lter').'</option>43 <option class="prodataver">'.esc_html('Style One (Pro)', 'fancy-fi lter').'</option>44 <option class="prodataver">'.esc_html('Style Two (Pro)', 'fancy-fi lter').'</option>45 <option class="prodataver">'.esc_html('Style Three (Pro)', 'fancy-fi lter').'</option>46 <option class="prodataver">'.esc_html('Style Four (Pro)', 'fancy-fi lter').'</option>47 <option class="prodataver">'.esc_html('Style Five (Pro)', 'fancy-fi lter').'</option>48 <option class="prodataver">'.esc_html('Style Six (Pro)', 'fancy-fi lter').'</option>49 <option class="prodataver">'.esc_html('Style Seven (Pro)', 'fancy-fi lter').'</option>50 <option class="prodataver">'.esc_html('Style Eight (Pro)', 'fancy-fi lter').'</option>51 <option class="prodataver">'.esc_html('Style Nine (Pro)', 'fancy-fi lter').'</option>52 <option class="prodataver">'.esc_html('Style Ten (Pro)', 'fancy-fi lter').'</option>42 <option value="st-free" ' . selected('st-free', $slect_styledata, false) . '>'.esc_html('Free Style', 'fancy-fiter').'</option> 43 <option class="prodataver">'.esc_html('Style One (Pro)', 'fancy-fiter').'</option> 44 <option class="prodataver">'.esc_html('Style Two (Pro)', 'fancy-fiter').'</option> 45 <option class="prodataver">'.esc_html('Style Three (Pro)', 'fancy-fiter').'</option> 46 <option class="prodataver">'.esc_html('Style Four (Pro)', 'fancy-fiter').'</option> 47 <option class="prodataver">'.esc_html('Style Five (Pro)', 'fancy-fiter').'</option> 48 <option class="prodataver">'.esc_html('Style Six (Pro)', 'fancy-fiter').'</option> 49 <option class="prodataver">'.esc_html('Style Seven (Pro)', 'fancy-fiter').'</option> 50 <option class="prodataver">'.esc_html('Style Eight (Pro)', 'fancy-fiter').'</option> 51 <option class="prodataver">'.esc_html('Style Nine (Pro)', 'fancy-fiter').'</option> 52 <option class="prodataver">'.esc_html('Style Ten (Pro)', 'fancy-fiter').'</option> 53 53 </select></li> 54 54 <li class="mtfgfancy_selectsd"><label class="fancymetagrid"> Animation Effects</label><select class="item_slct" name="slect_styleanimation" id="id_free_method" > 55 55 56 <option value="fancyfilter_pro-free-item--eff1" ' . selected('fancyfilter_pro-free-item--eff1', $slect_styleanimation, false) . '>'.esc_html('Effect 1', 'fancy-fi lter').'</option>57 <option value="fancyfilter_pro-free-item--eff2" ' . selected('fancyfilter_pro-free-item--eff2', $slect_styleanimation, false) . '>'.esc_html('Effect 2', 'fancy-fi lter').'</option>58 <option value="fancyfilter_pro-free-item--eff3" ' . selected('fancyfilter_pro-free-item--eff3', $slect_styleanimation, false) . '>'.esc_html('Effect 3', 'fancy-fi lter').'</option>59 <option value="fancyfilter_pro-free-item--eff4" ' . selected('fancyfilter_pro-free-item--eff4', $slect_styleanimation, false) . '>'.esc_html('Effect 4', 'fancy-fi lter').'</option> </select></li>56 <option value="fancyfilter_pro-free-item--eff1" ' . selected('fancyfilter_pro-free-item--eff1', $slect_styleanimation, false) . '>'.esc_html('Effect 1', 'fancy-fiter').'</option> 57 <option value="fancyfilter_pro-free-item--eff2" ' . selected('fancyfilter_pro-free-item--eff2', $slect_styleanimation, false) . '>'.esc_html('Effect 2', 'fancy-fiter').'</option> 58 <option value="fancyfilter_pro-free-item--eff3" ' . selected('fancyfilter_pro-free-item--eff3', $slect_styleanimation, false) . '>'.esc_html('Effect 3', 'fancy-fiter').'</option> 59 <option value="fancyfilter_pro-free-item--eff4" ' . selected('fancyfilter_pro-free-item--eff4', $slect_styleanimation, false) . '>'.esc_html('Effect 4', 'fancy-fiter').'</option> </select></li> 60 60 <li class="mtfgfancy_selectsd"><label class="fancymetagrid">Background One</label> 61 61 <input type="text" name="el_fi_gridbg" value="'.$el_fi_gridbg.'" class="fancyfilter_color" data-alpha-enabled="true"> … … 69 69 70 70 <select class="item_slct" name="slect_prot_erp_rw"> 71 <option value="col-1" ' . selected('col-1', $slect_prot_erp_rw, false) . '>'.esc_html('Two Column', 'fancy-fi lter').'</option>72 <option value="col-2" ' . selected('col-2', $slect_prot_erp_rw, false) . '>'.esc_html('Three Column', 'fancy-fi lter').'</option>73 <option value="col-3" ' . selected('col-3', $slect_prot_erp_rw, false) . '>'.esc_html('Four Column', 'fancy-fi lter').'</option>71 <option value="col-1" ' . selected('col-1', $slect_prot_erp_rw, false) . '>'.esc_html('Two Column', 'fancy-fiter').'</option> 72 <option value="col-2" ' . selected('col-2', $slect_prot_erp_rw, false) . '>'.esc_html('Three Column', 'fancy-fiter').'</option> 73 <option value="col-3" ' . selected('col-3', $slect_prot_erp_rw, false) . '>'.esc_html('Four Column', 'fancy-fiter').'</option> 74 74 </select></li>' ; 75 75 $html .= '<li class="mtfgfancy_selectsd"><label class="fancymetagrid">Choose Filter Button Style</label> 76 76 <select name="slect_butondata" id="id_application_method"> 77 <option value="btnsyle-no" ' . selected('btnsyle-no', $slect_butondata, false) . '>'.esc_html('None', 'fancy-fi lter').'</option>78 <option value="btnsyle-1" ' . selected('btnsyle-1', $slect_butondata, false) . '>'.esc_html('Style 1 ', 'fancy-fi lter').'</option>79 <option value="btnsyle-2" ' . selected('btnsyle-2', $slect_butondata, false) . '>'.esc_html('Style 2 ', 'fancy-fi lter').'</option>80 <option class="prodataver">'.esc_html('Style 3 (Pro)', 'fancy-fi lter').'</option>81 <option class="prodataver">'.esc_html('Style 4 (Pro)', 'fancy-fi lter').'</option>82 <option class="prodataver">'.esc_html('Style 5 (Pro)', 'fancy-fi lter').'</option>83 <option class="prodataver">'.esc_html('Style 6 (Pro)', 'fancy-fi lter').'</option>84 <option class="prodataver">'.esc_html('Style 7 (Pro)', 'fancy-fi lter').'</option>85 <option class="prodataver">'.esc_html('Style 8 (Pro)', 'fancy-fi lter').'</option>86 <option class="prodataver">'.esc_html('Style 9 (Pro)', 'fancy-fi lter').'</option>77 <option value="btnsyle-no" ' . selected('btnsyle-no', $slect_butondata, false) . '>'.esc_html('None', 'fancy-fiter').'</option> 78 <option value="btnsyle-1" ' . selected('btnsyle-1', $slect_butondata, false) . '>'.esc_html('Style 1 ', 'fancy-fiter').'</option> 79 <option value="btnsyle-2" ' . selected('btnsyle-2', $slect_butondata, false) . '>'.esc_html('Style 2 ', 'fancy-fiter').'</option> 80 <option class="prodataver">'.esc_html('Style 3 (Pro)', 'fancy-fiter').'</option> 81 <option class="prodataver">'.esc_html('Style 4 (Pro)', 'fancy-fiter').'</option> 82 <option class="prodataver">'.esc_html('Style 5 (Pro)', 'fancy-fiter').'</option> 83 <option class="prodataver">'.esc_html('Style 6 (Pro)', 'fancy-fiter').'</option> 84 <option class="prodataver">'.esc_html('Style 7 (Pro)', 'fancy-fiter').'</option> 85 <option class="prodataver">'.esc_html('Style 8 (Pro)', 'fancy-fiter').'</option> 86 <option class="prodataver">'.esc_html('Style 9 (Pro)', 'fancy-fiter').'</option> 87 87 < 88 <option class="prodataver">'.esc_html('Style 10 (Pro)', 'fancy-fi lter').'</option>89 <option class="prodataver">'.esc_html('Style 11 (Pro)', 'fancy-fi lter').'</option>90 <option class="prodataver">'.esc_html('Style 12 (Pro)', 'fancy-fi lter').'</option>91 <option class="prodataver">'.esc_html('Style 13 (Pro)', 'fancy-fi lter').'</option>88 <option class="prodataver">'.esc_html('Style 10 (Pro)', 'fancy-fiter').'</option> 89 <option class="prodataver">'.esc_html('Style 11 (Pro)', 'fancy-fiter').'</option> 90 <option class="prodataver">'.esc_html('Style 12 (Pro)', 'fancy-fiter').'</option> 91 <option class="prodataver">'.esc_html('Style 13 (Pro)', 'fancy-fiter').'</option> 92 92 </select></li> 93 93 <li class="mtfgfancy_selectsd"> 94 94 <label class="fancymetagrid">Button Align</label> 95 95 <select name="fancyMetabtn_align" class="item_slct" > 96 <option value="left" ' . selected('left', $fancyMetabtn_align, false) . '>'.esc_html('Left', 'fancy-fi lter').'</option>97 <option value="center" ' . selected('center', $fancyMetabtn_align, false) . '>'.esc_html('Center', 'fancy-fi lter').'</option>98 <option value="right" ' . selected('right', $fancyMetabtn_align, false) . '>'.esc_html('Right', 'fancy-fi lter').'</option>96 <option value="left" ' . selected('left', $fancyMetabtn_align, false) . '>'.esc_html('Left', 'fancy-fiter').'</option> 97 <option value="center" ' . selected('center', $fancyMetabtn_align, false) . '>'.esc_html('Center', 'fancy-fiter').'</option> 98 <option value="right" ' . selected('right', $fancyMetabtn_align, false) . '>'.esc_html('Right', 'fancy-fiter').'</option> 99 99 </select></li> 100 100 … … 118 118 else{ 119 119 120 echo "Please create an item by attaching a category first <a href='". admin_url('/')."edit.php?post_type=fancyfilter'>Click here</a>";120 echo "Please create an item by attaching a category first <a href='".esc_url(admin_url('/'))."edit.php?post_type=fancyfilter'>Click here</a>"; 121 121 122 122 } … … 125 125 $html .= '</ul>'; 126 126 127 echo $html; 127 $allowed_html = array( 128 'ul' => array( 129 'id' => array(), 130 'class' => array(), 131 'style' => array(), 132 133 ), 134 'li' => array( 135 'id' => array(), 136 'class' => array(), 137 'style' => array(), 138 ), 139 'label' => array( 140 'id' => array(), 141 'class' => array(), 142 'for' => array(), 143 ), 144 'input' => array( 145 'type' => array(), 146 'id' => array(), 147 'class' => array(), 148 'name' => array(), 149 'value' => array(), 150 'checked' => array(), 151 ), 152 'select' => array( 153 'class' => array(), 154 'id' => array(), 155 'name' => array(), 156 'multiple' => array(), 157 158 ), 159 'option' => array( 160 'value' => array(), 161 'class' => array(), 162 'id' => array(), 163 'selected' => array(), 164 ), 165 'div' => array( 166 'class' => array(), 167 'id' => array(), 168 'style' => array(), 169 ), 170 'strong' => array( 171 'class' => array(), 172 'id' => array(), 173 ), 174 'table' => array( 175 'class' => array(), 176 'id' => array(), 177 ), 178 'tr' => array( 179 'class' => array(), 180 'id' => array(), 181 ), 182 'tbody' => array( 183 'class' => array(), 184 'id' => array(), 185 ), 186 'th' => array( 187 'class' => array(), 188 'id' => array(), 189 ), 190 'td' => array( 191 'class' => array(), 192 'id' => array(), 193 ), 194 'span' => array( 195 'id' => array(), 196 'class' => array(), 197 'style' => array(), 198 ), 199 'em' => array( 200 'id' => array(), 201 'class' => array(), 202 'style' => array(), 203 ), 204 ); 205 206 207 208 echo wp_kses($html,$allowed_html ); 128 209 129 210 if (!empty($appended_posts)) … … 134 215 <em><p>To display the frontend, copy the code below and paste it in the desired location</p></em> 135 216 <p class="dynashorcde"> 136 [fancyfilter_portfolio id ="'.esc_attr($post->ID).'" grid_style = "'. $slect_styledata.'" button="'.$slect_butondata.'" col_1="'.$el_fi_gridbg.'" col_2="'.$el_fi_gridbg_2.'" align="'.$fancyMetabtn_align.'" btn_act="'.$fancy_metabtn_bg.'" btnclr="'.$fancy_metabtn_clor.'" btnbg="'.$fancy_metabtn_ac_bg.'" layout="'.$slect_prot_erp_rw.'" animation="'.$slect_styleanimation.'"]217 [fancyfilter_portfolio id ="'.esc_attr($post->ID).'" grid_style = "'. esc_attr($slect_styledata).'" button="'.esc_attr($slect_butondata).'" col_1="'.esc_attr($el_fi_gridbg).'" col_2="'.esc_attr($el_fi_gridbg_2).'" align="'.esc_attr($fancyMetabtn_align).'" btn_act="'.esc_attr($fancy_metabtn_bg).'" btnclr="'.esc_attr($fancy_metabtn_clor).'" btnbg="'.esc_attr($fancy_metabtn_ac_bg).'" layout="'.esc_attr($slect_prot_erp_rw).'" animation="'.esc_attr($slect_styleanimation).'"] 137 218 </p></div>'; 138 219 -
fancy-fiter/trunk/metaData/FancyMetaExtra/ProductData.php
r2631339 r3250371 1 <?php 1 <?php 2 3 4 $slect_stylepro_data = get_post_meta($post->ID, "slect_stylepro_data", true) ? get_post_meta($post->ID, "slect_stylepro_data", true): ' '; 5 $slect_clm_erp_rw = get_post_meta($post->ID, "slect_clm_erp_rw", true) ? get_post_meta($post->ID, "slect_clm_erp_rw", true): 'col-2'; 6 $slect_styleanimationcm = get_post_meta($post->ID, "slect_styleanimationcm", true) ? get_post_meta($post->ID, "slect_styleanimationcm", true): ' '; 7 8 $slect_prodct_butondata = get_post_meta($post->ID, "slect_prodct_butondata", true) ? get_post_meta($post->ID, "slect_prodct_butondata", true): ' '; 9 $el_fi_prodct_gridbg = get_post_meta($post->ID, "el_fi_prodct_gridbg", true) ? get_post_meta($post->ID, "el_fi_prodct_gridbg", true): ' '; 10 $el_fi_prodct_gridbg_2 = get_post_meta($post->ID, "el_fi_prodct_gridbg_2", true); 11 $fancy_proMetabtn_align = get_post_meta($post->ID, "fancy_proMetabtn_align", true) ? get_post_meta($post->ID, "fancy_proMetabtn_align", true): 'left'; 12 13 14 $fancy_Pro_metabtn_ac_bg = get_post_meta($post->ID, "fancy_Pro_metabtn_ac_bg", true); 15 16 17 18 $fancy_Pro_metabtn_bg = get_post_meta($post->ID, "fancy_Pro_metabtn_bg", true) ? get_post_meta($post->ID, "fancy_Pro_metabtn_bg", true): '#81d742'; 19 20 $fancy_metabtn_Proclor = get_post_meta($post->ID, "fancy_metabtn_Proclor", true) ? get_post_meta($post->ID, "fancy_metabtn_Proclor", true): '#2d2d2d'; 21 2 22 3 23 … … 9 29 10 30 )); 11 $slect_stylepro_data='';12 31 if ($facncy_meta_product) 13 32 { … … 23 42 $html .= '<li class="mtfgfancy_selectsd"><label class="fancymetagrid"> Choose Grid Style</label> 24 43 25 <select class="item_slct" name="slect_stylepro_data"> 26 <option>'.esc_html('Free Style', 'fancy-filter').'</option> 27 <option>'.esc_html('Style One ', 'fancy-filter').'</option> 28 <option>'.esc_html('Style two ', 'fancy-filter').'</option> 29 <option>'.esc_html('Style three ', 'fancy-filter').'</option> 30 <option>'.esc_html('Style Four ', 'fancy-filter').'</option> 31 <option>'.esc_html('Style Five ', 'fancy-filter').'</option> 32 <option>'.esc_html('Style Six ', 'fancy-filter').'</option> 33 <option>'.esc_html('Style Seven ', 'fancy-filter').'</option> 34 <option>'.esc_html('Style Eight ', 'fancy-filter').'</option> 35 <option>'.esc_html('Style Nine ', 'fancy-filter').'</option> 36 <option>'.esc_html('Style Ten ', 'fancy-filter').'</option> 44 <select value="st-free" selected> 45 <option>'.esc_html('Free Style', 'fancy-fiter').'</option> 37 46 </select></li> 38 <li class="mtfgfancy_selectsd"><label class="fancymetagrid"> Animation Effects</label><select class="item_slct" id="id_free_method" > 39 <option>'.esc_html('Effect 1', 'fancy-filter').'</option> 40 <option>'.esc_html('Effect 2', 'fancy-filter').'</option> 41 <option>'.esc_html('Effect 3', 'fancy-filter').'</option> 42 <option>'.esc_html('Effect 4', 'fancy-filter').'</option> </select></li> 47 <li class="mtfgfancy_selectsd"><label class="fancymetagrid"> Animation Effects</label><select class="item_slct" name="slect_styleanimationcm" id="id_free_method" > 48 49 <option value="fancyfilter_pro-free-item--eff1" ' . selected('fancyfilter_pro-free-item--eff1', $slect_styleanimationcm, false) . '>'.esc_html('Effect 1', 'fancy-fiter').'</option> 50 <option value="fancyfilter_pro-free-item--eff2" ' . selected('fancyfilter_pro-free-item--eff2', $slect_styleanimationcm, false) . '>'.esc_html('Effect 2', 'fancy-fiter').'</option> 51 <option value="fancyfilter_pro-free-item--eff3" ' . selected('fancyfilter_pro-free-item--eff3', $slect_styleanimationcm, false) . '>'.esc_html('Effect 3', 'fancy-fiter').'</option> 52 <option value="fancyfilter_pro-free-item--eff4" ' . selected('fancyfilter_pro-free-item--eff4', $slect_styleanimationcm, false) . '>'.esc_html('Effect 4', 'fancy-fiter').'</option> </select></li> 43 53 <li class="mtfgfancy_selectsd"><label class="fancymetagrid">Background One</label> 44 <input type="text" name="el_fi_prodct_gridbg" value=" " class="fancyfilter_color" data-alpha-enabled="true">54 <input type="text" name="el_fi_prodct_gridbg" value="'.$el_fi_prodct_gridbg.'" class="fancyfilter_color" data-alpha-enabled="true"> 45 55 </li><li class="mtfgfancy_selectsd"> 46 56 <label class="fancymetagrid">Background Two(For Gradient)</label> 47 <input type="text" name="el_fi_prodct_gridbg_2" value=" #ccc" class="fancyfilter_color" data-alpha-enabled="true" >57 <input type="text" name="el_fi_prodct_gridbg_2" value="'.$el_fi_prodct_gridbg_2.'" class="fancyfilter_color" data-alpha-enabled="true" > 48 58 <div><em>Not Applicable for Grid Style 4</em></div> 49 59 </li> ' ; … … 53 63 54 64 <select class="item_slct" name="slect_clm_erp_rw"> 55 <option >'.esc_html('Two Column', 'fancy-filter').'</option>56 <option >'.esc_html('Three Column', 'fancy-filter').'</option>57 <option >'.esc_html('Four Column', 'fancy-filter').'</option>65 <option value="col-1" ' . selected('col-1', $slect_clm_erp_rw, false) . '>'.esc_html('Two Column', 'fancy-fiter').'</option> 66 <option value="col-2" ' . selected('col-2', $slect_clm_erp_rw, false) . '>'.esc_html('Three Column', 'fancy-fiter').'</option> 67 <option value="col-3" ' . selected('col-3', $slect_clm_erp_rw, false) . '>'.esc_html('Four Column', 'fancy-fiter').'</option> 58 68 </select></li>' ; 59 60 69 61 70 $html .= '<li class="mtfgfancy_selectsd"><label class="fancymetagrid">Choose Filter Button Style</label> 62 71 <select name="slect_prodct_butondata" id="id_application_method"> 63 <option>'.esc_html('None', 'fancy-filter').'</option> 64 <option>'.esc_html('Style 1 ', 'fancy-filter').'</option> 65 <option>'.esc_html('Style 2 ', 'fancy-filter').'</option> 66 <option selected>'.esc_html('Style 3 ', 'fancy-filter').'</option> 67 <option>'.esc_html('Style 4', 'fancy-filter').'</option> 68 <option>'.esc_html('Style 5', 'fancy-filter').'</option> 69 <option>'.esc_html('Style 6', 'fancy-filter').'</option> 70 <option>'.esc_html('Style 7', 'fancy-filter').'</option> 71 <option>'.esc_html('Style 8', 'fancy-filter').'</option> 72 <option>'.esc_html('Style 9', 'fancy-filter').'</option> 73 < 74 <option>'.esc_html('Style 10 ', 'fancy-filter').'</option> 75 <option>'.esc_html('Style 11 ', 'fancy-filter').'</option> 76 <option>'.esc_html('Style 12 ', 'fancy-filter').'</option> 77 <option>'.esc_html('Style 13 ', 'fancy-filter').'</option> 72 <option value="btnsyle-no" ' . selected('btnsyle-no', $slect_prodct_butondata, false) . '>'.esc_html('None', 'fancy-fiter').'</option> 73 <option value="btnsyle-1" ' . selected('btnsyle-1', $slect_prodct_butondata, false) . '>'.esc_html('Style 1 ', 'fancy-fiter').'</option> 74 <option value="btnsyle-2" ' . selected('btnsyle-2', $slect_prodct_butondata, false) . '>'.esc_html('Style 2 ', 'fancy-fiter').'</option> 78 75 </select></li> 79 76 <li class="mtfgfancy_selectsd"> 80 77 <label class="fancymetagrid">Button Align</label> 81 78 <select name="fancy_proMetabtn_align" class="item_slct" > 82 <option value="left" select>'.esc_html('Left', 'fancy-filter').'</option>83 <option value="center" >'.esc_html('Center', 'fancy-filter').'</option>84 <option value="right" >'.esc_html('Right', 'fancy-filter').'</option>79 <option value="left" ' . selected('left', $fancy_proMetabtn_align, false) . '>'.esc_html('Left', 'fancy-fiter').'</option> 80 <option value="center" ' . selected('center', $fancy_proMetabtn_align, false) . '>'.esc_html('Center', 'fancy-fiter').'</option> 81 <option value="right" ' . selected('right', $fancy_proMetabtn_align, false) . '>'.esc_html('Right', 'fancy-fiter').'</option> 85 82 </select></li> 86 83 87 84 </li><li class="mtfgfancy_selectsd"> 88 85 <label class="fancymetagrid">Button Label Color</label> 89 <input type="text" value="#fff" class="fancyfilter_color" data-alpha-enabled="true">86 <input type="text" name="fancy_metabtn_Proclor" value="'.$fancy_metabtn_Proclor.'" class="fancyfilter_color" data-alpha-enabled="true"> 90 87 </li> 91 88 <li class="mtfgfancy_selectsd"> 92 89 <label class="fancymetagrid">Button Background</label> 93 <input type="text" value="rgb(197,64,206)" class="fancyfilter_color" data-alpha-enabled="true" >90 <input type="text" name="fancy_Pro_metabtn_ac_bg" value="'.$fancy_Pro_metabtn_ac_bg.'" class="fancyfilter_color" data-alpha-enabled="true" > 94 91 <div><em>Applies only to button styles 3,4,6,8,10,13</em></div> 95 92 </li> 96 93 <li class="mtfgfancy_selectsd"> 97 94 <label class="fancymetagrid">Active Color</label> 98 <input type="text" value="#81d742" class="fancyfilter_color" data-alpha-enabled="true"> 99 </li> 100 101 102 103 104 105 106 '; 95 <input type="text" name="fancy_Pro_metabtn_bg" value="'.$fancy_Pro_metabtn_bg.'" class="fancyfilter_color" data-alpha-enabled="true"> 96 </li>'; 107 97 } 108 98 else{ 109 99 110 echo "Please create an item by attaching a category first <a href='". admin_url('/')."edit.php?post_type=fancyfilter'>Click here</a>";100 echo "Please create an item by attaching a category first <a href='".esc_url(admin_url('/'))."edit.php?post_type=fancyfilter'>Click here</a>"; 111 101 112 102 } … … 115 105 $html .= '</ul>'; 116 106 117 echo $html; 107 $allowed_html = array( 108 'ul' => array( 109 'id' => array(), 110 'class' => array(), 111 'style' => array(), 112 113 ), 114 'li' => array( 115 'id' => array(), 116 'class' => array(), 117 'style' => array(), 118 ), 119 'label' => array( 120 'id' => array(), 121 'class' => array(), 122 'for' => array(), 123 ), 124 'input' => array( 125 'type' => array(), 126 'id' => array(), 127 'class' => array(), 128 'name' => array(), 129 'value' => array(), 130 'checked' => array(), 131 ), 132 'select' => array( 133 'class' => array(), 134 'id' => array(), 135 'name' => array(), 136 'multiple' => array(), 137 138 ), 139 'option' => array( 140 'value' => array(), 141 'class' => array(), 142 'id' => array(), 143 'selected' => array(), 144 ), 145 'div' => array( 146 'class' => array(), 147 'id' => array(), 148 'style' => array(), 149 ), 150 'strong' => array( 151 'class' => array(), 152 'id' => array(), 153 ), 154 'table' => array( 155 'class' => array(), 156 'id' => array(), 157 ), 158 'tr' => array( 159 'class' => array(), 160 'id' => array(), 161 ), 162 'tbody' => array( 163 'class' => array(), 164 'id' => array(), 165 ), 166 'th' => array( 167 'class' => array(), 168 'id' => array(), 169 ), 170 'td' => array( 171 'class' => array(), 172 'id' => array(), 173 ), 174 'span' => array( 175 'id' => array(), 176 'class' => array(), 177 'style' => array(), 178 ), 179 'em' => array( 180 'id' => array(), 181 'class' => array(), 182 'style' => array(), 183 ), 184 ); 185 186 187 188 echo wp_kses($html,$allowed_html ); 118 189 119 190 if (!empty($appended_meta_product)) … … 124 195 <em><p>To display the frontend, copy the code below and paste it in the desired location</p></em> 125 196 <p class="dynashorcde"> 126 [fancyfilter_product id ="'.esc_attr($post->ID).'" grid_style = "st-free" button="btnsyle-3" col_1="#81d742" col_2="#81d742" align="left" btn_act="#81d742" btnclr="#fff" btnbg="rgb(197,64,206)" layout="col-2"]127 (Premium Only)</p></div>';197 [fancyfilter_product id ="'.esc_attr($post->ID).'" grid_style ="st-free" button="'.esc_attr($slect_prodct_butondata).'" col_1="'.esc_attr($el_fi_prodct_gridbg).'" col_2="'.esc_attr($el_fi_prodct_gridbg_2).'" align="'.esc_attr($fancy_proMetabtn_align).'" btn_act="'.esc_attr($fancy_Pro_metabtn_bg).'" btnclr="'.esc_attr($fancy_metabtn_Proclor).'" btnbg="'.esc_attr($fancy_Pro_metabtn_ac_bg).'" layout="'.esc_attr($slect_clm_erp_rw).'" animation="'.esc_attr($slect_styleanimationcm).'"] 198 </p></div>'; 128 199 129 200 } -
fancy-fiter/trunk/metaData/class-fancy-dmeolinkdata.php
r2631339 r3250371 55 55 add_meta_box( 56 56 'Fancydmeolinkdata', 57 __( '<span class="dashicons-before dashicons-grid-view"> Fancy Video Link/Shortcode/Raw Html <em>(Premium version)</em></span>', 'textdomain' ),57 '<span class="dashicons-before dashicons-grid-view"> Fancy Video Link/Shortcode/Raw Html <em>(Premium version)</em></span>', 58 58 array( $this, 'meta_box_callback' ), 59 59 $s, … … 83 83 case 'textarea': 84 84 $input = sprintf( 85 '<textarea style="width: 100%%" id="%s" name="%s" rows="5" >%s</textarea>',85 '<textarea style="width: 100%%" id="%s" name="%s" rows="5" cols="50">%s</textarea>', 86 86 $field['id'], 87 87 $field['id'], … … 120 120 $output .= $this->format_rows( $label, $input ); 121 121 } 122 echo '<table class="form-table"><tbody>' . $output . '</tbody></table>'; 122 123 $allowed_html = array( 124 'textarea' => array( 125 'id' => array(), 126 'class' => array(), 127 'rows' => array(), 128 'cols' => array(), 129 'name' => array(), 130 'value' => array(), 131 ), 132 'label' => array( 133 'id' => array(), 134 'class' => array(), 135 'for' => array(), 136 ), 137 'input' => array( 138 'type' => array(), 139 'id' => array(), 140 'class' => array(), 141 'name' => array(), 142 'value' => array(), 143 'checked' => array(), 144 ), 145 'select' => array( 146 'class' => array(), 147 'id' => array(), 148 'name' => array(), 149 150 ), 151 'option' => array( 152 'value' => array(), 153 'class' => array(), 154 'id' => array(), 155 'selected' => array(), 156 ), 157 'div' => array( 158 'class' => array(), 159 'id' => array(), 160 'style' => array(), 161 ), 162 'strong' => array( 163 'class' => array(), 164 'id' => array(), 165 ), 166 'table' => array( 167 'class' => array(), 168 'id' => array(), 169 ), 170 'tr' => array( 171 'class' => array(), 172 'id' => array(), 173 ), 174 'tbody' => array( 175 'class' => array(), 176 'id' => array(), 177 ), 178 'th' => array( 179 'class' => array(), 180 'id' => array(), 181 ), 182 'td' => array( 183 'class' => array(), 184 'id' => array(), 185 ), 186 'span' => array( 187 'id' => array(), 188 'class' => array(), 189 'style' => array(), 190 ), 191 ); 192 193 194 echo '<table class="form-table"><tbody>' . wp_kses($output ,$allowed_html ) . '</tbody></table>'; 195 123 196 } 124 197 -
fancy-fiter/trunk/metaData/class-fancy_BlogMeatada.php
r2631339 r3250371 56 56 { 57 57 58 $nonce = wp_create_nonce( 'fancyblog-nonce' ); 59 if ( ! wp_verify_nonce( $nonce, 'fancyblog-nonce' ) ) return; 60 61 58 62 if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; 59 63 60 64 if ($post->post_type == 'morefilter') 61 65 { 62 if (isset($_POST['facncy_meta_post'])) update_post_meta($post_id, 'facncy_meta_post', sanitize_mime_type( $_POST['facncy_meta_post']));66 if (isset($_POST['facncy_meta_post'])) update_post_meta($post_id, 'facncy_meta_post', sanitize_mime_type(wp_unslash($_POST['facncy_meta_post']))); 63 67 else delete_post_meta($post_id, 'facncy_meta_post'); 64 68 65 69 if (isset($_POST['slect_blg_butondata'])) 66 {update_post_meta($post_id, 'slect_blg_butondata', sanitize_text_field($_POST['slect_blg_butondata']));}else{delete_post_meta($post_id, 'slect_blg_butondata');} 70 {update_post_meta($post_id, 'slect_blg_butondata', sanitize_text_field(wp_unslash($_POST['slect_blg_butondata']))); 71 }else{delete_post_meta($post_id, 'slect_blg_butondata');} 67 72 if (isset($_POST['el_fi_blog_gridbg'])) 68 {update_post_meta($post_id, 'el_fi_blog_gridbg', sanitize_text_field($_POST['el_fi_blog_gridbg']));}else{delete_post_meta($post_id, 'el_fi_blog_gridbg');} 73 {update_post_meta($post_id, 'el_fi_blog_gridbg', sanitize_text_field(wp_unslash($_POST['el_fi_blog_gridbg']))); 74 }else{delete_post_meta($post_id, 'el_fi_blog_gridbg');} 69 75 if (isset($_POST['el_fi_blog_gridbg_2'])) 70 {update_post_meta($post_id, 'el_fi_blog_gridbg_2', sanitize_text_field($_POST['el_fi_blog_gridbg_2']));}else{delete_post_meta($post_id, 'el_fi_blog_gridbg_2');} 76 {update_post_meta($post_id, 'el_fi_blog_gridbg_2', sanitize_text_field(wp_unslash($_POST['el_fi_blog_gridbg_2']))); 77 }else{delete_post_meta($post_id, 'el_fi_blog_gridbg_2');} 71 78 if (isset($_POST['fancy_blogMetabtn_align'])) 72 {update_post_meta($post_id, 'fancy_blogMetabtn_align', sanitize_text_field( $_POST['fancy_blogMetabtn_align']));}else{delete_post_meta($post_id, 'fancy_blogMetabtn_align');}79 {update_post_meta($post_id, 'fancy_blogMetabtn_align', sanitize_text_field(wp_unslash($_POST['fancy_blogMetabtn_align'])));}else{delete_post_meta($post_id, 'fancy_blogMetabtn_align');} 73 80 if (isset($_POST['fancy_blog_metabtn_bg'])) 74 {update_post_meta($post_id, 'fancy_blog_metabtn_bg', sanitize_text_field( $_POST['fancy_blog_metabtn_bg']));}else{delete_post_meta($post_id, 'fancy_blog_metabtn_bg');}81 {update_post_meta($post_id, 'fancy_blog_metabtn_bg', sanitize_text_field(wp_unslash($_POST['fancy_blog_metabtn_bg'])));}else{delete_post_meta($post_id, 'fancy_blog_metabtn_bg');} 75 82 if (isset($_POST['fancy_blogmetabtn_ac_bg'])) 76 {update_post_meta($post_id, 'fancy_blogmetabtn_ac_bg', sanitize_text_field( $_POST['fancy_blogmetabtn_ac_bg']));}else{delete_post_meta($post_id, 'fancy_blogmetabtn_ac_bg');}83 {update_post_meta($post_id, 'fancy_blogmetabtn_ac_bg', sanitize_text_field(wp_unslash($_POST['fancy_blogmetabtn_ac_bg'])));}else{delete_post_meta($post_id, 'fancy_blogmetabtn_ac_bg');} 77 84 if (isset($_POST['fancy_blog_metabtn_clor'])) 78 {update_post_meta($post_id, 'fancy_blog_metabtn_clor', sanitize_text_field( $_POST['fancy_blog_metabtn_clor']));}else{delete_post_meta($post_id, 'fancy_blog_metabtn_clor');}85 {update_post_meta($post_id, 'fancy_blog_metabtn_clor', sanitize_text_field(wp_unslash($_POST['fancy_blog_metabtn_clor'])));}else{delete_post_meta($post_id, 'fancy_blog_metabtn_clor');} 79 86 80 87 if (isset($_POST['slectblog__styledata'])) 81 {update_post_meta($post_id, 'slectblog__styledata', sanitize_text_field( $_POST['slectblog__styledata']));}else{delete_post_meta($post_id, 'slectblog__styledata');}88 {update_post_meta($post_id, 'slectblog__styledata', sanitize_text_field(wp_unslash($_POST['slectblog__styledata'])));}else{delete_post_meta($post_id, 'slectblog__styledata');} 82 89 if (isset($_POST['slect_blog_erp_rw'])) 83 {update_post_meta($post_id, 'slect_blog_erp_rw', sanitize_text_field( $_POST['slect_blog_erp_rw']));}else{delete_post_meta($post_id, 'slect_blog_erp_rw');}90 {update_post_meta($post_id, 'slect_blog_erp_rw', sanitize_text_field(wp_unslash($_POST['slect_blog_erp_rw'])));}else{delete_post_meta($post_id, 'slect_blog_erp_rw');} 84 91 if (isset($_POST['slect_styleanimationblog'])) 85 {update_post_meta($post_id, 'slect_styleanimationblog', sanitize_text_field( $_POST['slect_styleanimationblog']));}else{delete_post_meta($post_id, 'slect_styleanimationblog');}92 {update_post_meta($post_id, 'slect_styleanimationblog', sanitize_text_field(wp_unslash($_POST['slect_styleanimationblog'])));}else{delete_post_meta($post_id, 'slect_styleanimationblog');} 86 93 87 94 return $post_id; -
fancy-fiter/trunk/metaData/class-fancy_portfolio_Metada.php
r2631339 r3250371 58 58 public function fancyfilter_posttype_save_metas($post_id, $post) 59 59 { 60 60 $nonce = wp_create_nonce( 'fancyportfolios-nonce' ); 61 if ( ! wp_verify_nonce( $nonce, 'fancyportfolios-nonce' ) ) return; 61 62 if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; 62 63 63 64 if ($post->post_type == 'morefilter') 64 65 { 65 if (isset($_POST['facncy_portfolios'])) update_post_meta($post_id, 'facncy_portfolios', sanitize_mime_type( $_POST['facncy_portfolios']));66 if (isset($_POST['facncy_portfolios'])) update_post_meta($post_id, 'facncy_portfolios', sanitize_mime_type(wp_unslash($_POST['facncy_portfolios']))); 66 67 else delete_post_meta($post_id, 'facncy_portfolios'); 67 68 if (isset($_POST['slect_styledata'])) 68 {update_post_meta($post_id, 'slect_styledata', sanitize_text_field( $_POST['slect_styledata']));}else{delete_post_meta($post_id, 'slect_styledata');}69 {update_post_meta($post_id, 'slect_styledata', sanitize_text_field(wp_unslash($_POST['slect_styledata'])));}else{delete_post_meta($post_id, 'slect_styledata');} 69 70 if (isset($_POST['slect_butondata'])) 70 {update_post_meta($post_id, 'slect_butondata', sanitize_text_field( $_POST['slect_butondata']));}else{delete_post_meta($post_id, 'slect_butondata');}71 {update_post_meta($post_id, 'slect_butondata', sanitize_text_field(wp_unslash($_POST['slect_butondata'])));}else{delete_post_meta($post_id, 'slect_butondata');} 71 72 if (isset($_POST['el_fi_gridbg'])) 72 {update_post_meta($post_id, 'el_fi_gridbg', sanitize_text_field( $_POST['el_fi_gridbg']));}else{delete_post_meta($post_id, 'el_fi_gridbg');}73 {update_post_meta($post_id, 'el_fi_gridbg', sanitize_text_field(wp_unslash($_POST['el_fi_gridbg'])));}else{delete_post_meta($post_id, 'el_fi_gridbg');} 73 74 if (isset($_POST['el_fi_gridbg_2'])) 74 {update_post_meta($post_id, 'el_fi_gridbg_2', sanitize_text_field( $_POST['el_fi_gridbg_2']));}else{delete_post_meta($post_id, 'el_fi_gridbg_2');}75 {update_post_meta($post_id, 'el_fi_gridbg_2', sanitize_text_field(wp_unslash($_POST['el_fi_gridbg_2'])));}else{delete_post_meta($post_id, 'el_fi_gridbg_2');} 75 76 if (isset($_POST['fancyMetabtn_align'])) 76 {update_post_meta($post_id, 'fancyMetabtn_align', sanitize_text_field( $_POST['fancyMetabtn_align']));}else{delete_post_meta($post_id, 'fancyMetabtn_align');}77 {update_post_meta($post_id, 'fancyMetabtn_align', sanitize_text_field(wp_unslash($_POST['fancyMetabtn_align'])));}else{delete_post_meta($post_id, 'fancyMetabtn_align');} 77 78 if (isset($_POST['fancy_metabtn_bg'])) 78 {update_post_meta($post_id, 'fancy_metabtn_bg', sanitize_text_field( $_POST['fancy_metabtn_bg']));}else{delete_post_meta($post_id, 'fancy_metabtn_bg');}79 {update_post_meta($post_id, 'fancy_metabtn_bg', sanitize_text_field(wp_unslash($_POST['fancy_metabtn_bg'])));}else{delete_post_meta($post_id, 'fancy_metabtn_bg');} 79 80 if (isset($_POST['fancy_metabtn_ac_bg'])) 80 {update_post_meta($post_id, 'fancy_metabtn_ac_bg', sanitize_text_field( $_POST['fancy_metabtn_ac_bg']));}else{delete_post_meta($post_id, 'fancy_metabtn_ac_bg');}81 {update_post_meta($post_id, 'fancy_metabtn_ac_bg', sanitize_text_field(wp_unslash($_POST['fancy_metabtn_ac_bg'])));}else{delete_post_meta($post_id, 'fancy_metabtn_ac_bg');} 81 82 if (isset($_POST['fancy_metabtn_clor'])) 82 {update_post_meta($post_id, 'fancy_metabtn_clor', sanitize_text_field( $_POST['fancy_metabtn_clor']));}else{delete_post_meta($post_id, 'fancy_metabtn_clor');}83 {update_post_meta($post_id, 'fancy_metabtn_clor', sanitize_text_field(wp_unslash($_POST['fancy_metabtn_clor'])));}else{delete_post_meta($post_id, 'fancy_metabtn_clor');} 83 84 84 85 if (isset($_POST['slect_prot_erp_rw'])) 85 {update_post_meta($post_id, 'slect_prot_erp_rw', sanitize_text_field( $_POST['slect_prot_erp_rw']));}else{delete_post_meta($post_id, 'slect_prot_erp_rw');}86 {update_post_meta($post_id, 'slect_prot_erp_rw', sanitize_text_field(wp_unslash($_POST['slect_prot_erp_rw'])));}else{delete_post_meta($post_id, 'slect_prot_erp_rw');} 86 87 if (isset($_POST['slect_styleanimation'])) 87 {update_post_meta($post_id, 'slect_styleanimation', sanitize_text_field( $_POST['slect_styleanimation']));}else{delete_post_meta($post_id, 'slect_styleanimation');}88 {update_post_meta($post_id, 'slect_styleanimation', sanitize_text_field(wp_unslash($_POST['slect_styleanimation'])));}else{delete_post_meta($post_id, 'slect_styleanimation');} 88 89 return $post_id; 89 90 } -
fancy-fiter/trunk/metaData/class-fancy_previewlink.php
r2631339 r3250371 27 27 add_meta_box( 28 28 'FancyPreviewURL', 29 __( '<span class="dashicons-before dashicons-grid-view"> Fany Filter Preview & Download URL <em>(Premium version)</em></span>', ' textdomain' ),29 __( '<span class="dashicons-before dashicons-grid-view"> Fany Filter Preview & Download URL <em>(Premium version)</em></span>', 'fancy-fiter' ), 30 30 array( $this, 'meta_box_callback' ), 31 31 $s, … … 64 64 $output .= $this->format_rows( $label, $input ); 65 65 } 66 echo '<table class="form-table"><tbody>' . $output . '</tbody></table>'; 66 67 68 $allowed_html = array( 69 70 'label' => array( 71 'id' => array(), 72 'class' => array(), 73 'for' => array(), 74 ), 75 'input' => array( 76 'type' => array(), 77 'id' => array(), 78 'class' => array(), 79 'name' => array(), 80 'value' => array(), 81 'style' => array(), 82 ), 83 84 'div' => array( 85 'class' => array(), 86 'id' => array(), 87 'style' => array(), 88 ), 89 'strong' => array( 90 'class' => array(), 91 'id' => array(), 92 ), 93 'table' => array( 94 'class' => array(), 95 'id' => array(), 96 ), 97 'tr' => array( 98 'class' => array(), 99 'id' => array(), 100 ), 101 'tbody' => array( 102 'class' => array(), 103 'id' => array(), 104 ), 105 'th' => array( 106 'class' => array(), 107 'id' => array(), 108 ), 109 'td' => array( 110 'class' => array(), 111 'id' => array(), 112 ), 113 'span' => array( 114 'id' => array(), 115 'class' => array(), 116 'style' => array(), 117 ), 118 ); 119 120 121 echo '<table class="form-table"><tbody>' . wp_kses($output ,$allowed_html ) . '</tbody></table>'; 122 67 123 68 124 -
fancy-fiter/trunk/metaData/class-fancy_productMetadata.php
r2631339 r3250371 34 34 { 35 35 36 add_meta_box('fancy_filter_type', 'Product (Premium Only)', array(36 add_meta_box('fancy_filter_type', 'Product', array( 37 37 $this, 38 38 'fancyfilter_posttype_select_metas' … … 57 57 public function fancyfilter_posttype_save_metas($post_id, $post) 58 58 { 59 59 $nonce = wp_create_nonce( 'fancyproduct-nonce' ); 60 if ( ! wp_verify_nonce( $nonce, 'fancyproduct-nonce' ) ) return; 60 61 if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; 61 62 62 63 if ($post->post_type == 'morefilter') 63 64 { 64 if (isset($_POST['facncy_meta_product'])) update_post_meta($post_id, 'facncy_meta_product', sanitize_mime_type( $_POST['facncy_meta_product']));65 if (isset($_POST['facncy_meta_product'])) update_post_meta($post_id, 'facncy_meta_product', sanitize_mime_type(wp_unslash($_POST['facncy_meta_product']))); 65 66 else delete_post_meta($post_id, 'facncy_meta_product'); 66 67 if (isset($_POST['slect_stylepro_data'])) 67 {update_post_meta($post_id, 'slect_stylepro_data', sanitize_text_field( $_POST['slect_stylepro_data']));}else{delete_post_meta($post_id, 'slect_stylepro_data');}68 {update_post_meta($post_id, 'slect_stylepro_data', sanitize_text_field(wp_unslash($_POST['slect_stylepro_data'])));}else{delete_post_meta($post_id, 'slect_stylepro_data');} 68 69 if (isset($_POST['slect_prodct_butondata'])) 69 {update_post_meta($post_id, 'slect_prodct_butondata', sanitize_text_field( $_POST['slect_prodct_butondata']));}else{delete_post_meta($post_id, 'slect_prodct_butondata');}70 {update_post_meta($post_id, 'slect_prodct_butondata', sanitize_text_field(wp_unslash($_POST['slect_prodct_butondata'])));}else{delete_post_meta($post_id, 'slect_prodct_butondata');} 70 71 if (isset($_POST['el_fi_prodct_gridbg'])) 71 {update_post_meta($post_id, 'el_fi_prodct_gridbg', sanitize_text_field( $_POST['el_fi_prodct_gridbg']));}else{delete_post_meta($post_id, 'el_fi_prodct_gridbg');}72 {update_post_meta($post_id, 'el_fi_prodct_gridbg', sanitize_text_field(wp_unslash($_POST['el_fi_prodct_gridbg'])));}else{delete_post_meta($post_id, 'el_fi_prodct_gridbg');} 72 73 if (isset($_POST['el_fi_prodct_gridbg_2'])) 73 {update_post_meta($post_id, 'el_fi_prodct_gridbg_2', sanitize_text_field( $_POST['el_fi_prodct_gridbg_2']));}else{delete_post_meta($post_id, 'el_fi_prodct_gridbg_2');}74 {update_post_meta($post_id, 'el_fi_prodct_gridbg_2', sanitize_text_field(wp_unslash($_POST['el_fi_prodct_gridbg_2'])));}else{delete_post_meta($post_id, 'el_fi_prodct_gridbg_2');} 74 75 if (isset($_POST['fancy_proMetabtn_align'])) 75 {update_post_meta($post_id, 'fancy_proMetabtn_align', sanitize_text_field( $_POST['fancy_proMetabtn_align']));}else{delete_post_meta($post_id, 'fancy_proMetabtn_align');}76 {update_post_meta($post_id, 'fancy_proMetabtn_align', sanitize_text_field(wp_unslash($_POST['fancy_proMetabtn_align'])));}else{delete_post_meta($post_id, 'fancy_proMetabtn_align');} 76 77 if (isset($_POST['fancy_Pro_metabtn_bg'])) 77 {update_post_meta($post_id, 'fancy_Pro_metabtn_bg', sanitize_text_field( $_POST['fancy_Pro_metabtn_bg']));}else{delete_post_meta($post_id, 'fancy_Pro_metabtn_bg');}78 {update_post_meta($post_id, 'fancy_Pro_metabtn_bg', sanitize_text_field(wp_unslash($_POST['fancy_Pro_metabtn_bg'])));}else{delete_post_meta($post_id, 'fancy_Pro_metabtn_bg');} 78 79 if (isset($_POST['fancy_Pro_metabtn_ac_bg'])) 79 {update_post_meta($post_id, 'fancy_Pro_metabtn_ac_bg', sanitize_text_field( $_POST['fancy_Pro_metabtn_ac_bg']));}else{delete_post_meta($post_id, 'fancy_Pro_metabtn_ac_bg');}80 {update_post_meta($post_id, 'fancy_Pro_metabtn_ac_bg', sanitize_text_field(wp_unslash($_POST['fancy_Pro_metabtn_ac_bg'])));}else{delete_post_meta($post_id, 'fancy_Pro_metabtn_ac_bg');} 80 81 81 82 if (isset($_POST['fancy_metabtn_Proclor'])) 82 {update_post_meta($post_id, 'fancy_metabtn_Proclor', sanitize_text_field( $_POST['fancy_metabtn_Proclor']));}else{delete_post_meta($post_id, 'fancy_metabtn_Proclor');}83 {update_post_meta($post_id, 'fancy_metabtn_Proclor', sanitize_text_field(wp_unslash($_POST['fancy_metabtn_Proclor'])));}else{delete_post_meta($post_id, 'fancy_metabtn_Proclor');} 83 84 if (isset($_POST['slect_clm_erp_rw'])) 84 {update_post_meta($post_id, 'slect_clm_erp_rw', sanitize_text_field( $_POST['slect_clm_erp_rw']));}else{delete_post_meta($post_id, 'slect_clm_erp_rw');}85 {update_post_meta($post_id, 'slect_clm_erp_rw', sanitize_text_field(wp_unslash($_POST['slect_clm_erp_rw'])));}else{delete_post_meta($post_id, 'slect_clm_erp_rw');} 85 86 86 87 -
fancy-fiter/trunk/partials/FancyButtnSetting.php
r3145687 r3250371 1 1 <div class="fancyfilter-accordion active"> 2 <div class="fancyfilter-accordion_tab"><?php echo esc_html__('Filter Button Settings','fancy-fi lter') ?>2 <div class="fancyfilter-accordion_tab"><?php echo esc_html__('Filter Button Settings','fancy-fiter') ?> 3 3 </div> 4 4 <div class="fancyfilter-accordion_content"> … … 7 7 <ul class="fancydescrip"> 8 8 <li> 9 <p class="item_title"><?php echo esc_html__('Button Style ','fancy-fi lter') ?></p>9 <p class="item_title"><?php echo esc_html__('Button Style ','fancy-fiter') ?></p> 10 10 <?php 11 11 $fancyfilter_pro_btn_style = isset($options['fancyfilter_pro_btn_style']) ? $options['fancyfilter_pro_btn_style'] : 'btnsyle-1'; 12 12 ?> 13 13 <select name="fancyfilter_options[fancyfilter_pro_btn_style]" id="id_application_method"> 14 <option value="btnsyle-no" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btnsyle-no' ? 'selected' : '' ?>><?php esc_html_e('None', 'fancy-fi lter'); ?></option>15 <option value="btnsyle-1" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btnsyle-1' ? 'selected' : '' ?>><?php esc_html_e('Style 1', 'fancy-fi lter'); ?></option>16 <option value="btnsyle-2" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btnsyle-2' ? 'selected' : '' ?>><?php esc_html_e('Style 2', 'fancy-fi lter'); ?></option>17 <option class="btnpto" value="btnsyle-3"><?php esc_html_e('Style 3 (PRO)', 'fancy-fi lter'); ?></option>18 <option class="btnpto" value="btnsyle-4"><?php esc_html_e('Style 4 (PRO)', 'fancy-fi lter'); ?></option>19 <option class="btnpto" value="btnsyle-5"><?php esc_html_e('Style 5 (PRO)', 'fancy-fi lter'); ?></option>20 <option class="btnpto" value="btnsyle-6"><?php esc_html_e('Style 6 (PRO)', 'fancy-fi lter'); ?></option>21 <option class="btnpto" value="btnsyle-7"><?php esc_html_e('Style 7 (PRO)', 'fancy-fi lter'); ?></option>22 <option class="btnpto" value="btnsyle-8"><?php esc_html_e('Style 8 (PRO)', 'fancy-fi lter'); ?></option>23 <option class="btnpto" value="btnsyle-9"><?php esc_html_e('Style 9 (PRO)', 'fancy-fi lter'); ?></option>14 <option value="btnsyle-no" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btnsyle-no' ? 'selected' : '' ?>><?php esc_html_e('None', 'fancy-fiter'); ?></option> 15 <option value="btnsyle-1" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btnsyle-1' ? 'selected' : '' ?>><?php esc_html_e('Style 1', 'fancy-fiter'); ?></option> 16 <option value="btnsyle-2" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btnsyle-2' ? 'selected' : '' ?>><?php esc_html_e('Style 2', 'fancy-fiter'); ?></option> 17 <option class="btnpto" value="btnsyle-3"><?php esc_html_e('Style 3 (PRO)', 'fancy-fiter'); ?></option> 18 <option class="btnpto" value="btnsyle-4"><?php esc_html_e('Style 4 (PRO)', 'fancy-fiter'); ?></option> 19 <option class="btnpto" value="btnsyle-5"><?php esc_html_e('Style 5 (PRO)', 'fancy-fiter'); ?></option> 20 <option class="btnpto" value="btnsyle-6"><?php esc_html_e('Style 6 (PRO)', 'fancy-fiter'); ?></option> 21 <option class="btnpto" value="btnsyle-7"><?php esc_html_e('Style 7 (PRO)', 'fancy-fiter'); ?></option> 22 <option class="btnpto" value="btnsyle-8"><?php esc_html_e('Style 8 (PRO)', 'fancy-fiter'); ?></option> 23 <option class="btnpto" value="btnsyle-9"><?php esc_html_e('Style 9 (PRO)', 'fancy-fiter'); ?></option> 24 24 < 25 <option class="btnpto" value="btnsyle-10"><?php esc_html_e('Style 10 (PRO)', 'fancy-fi lter'); ?></option>26 <option class="btnpto" value="btnsyle-11"><?php esc_html_e('Style 11 (PRO)', 'fancy-fi lter'); ?></option>27 <option class="btnpto" value="btnsyle-12"><?php esc_html_e('Style 12 (PRO)', 'fancy-fi lter'); ?></option>28 <option class="btnpto" value="btnsyle-13"><?php esc_html_e('Style 13 (PRO)', 'fancy-fi lter'); ?></option>25 <option class="btnpto" value="btnsyle-10"><?php esc_html_e('Style 10 (PRO)', 'fancy-fiter'); ?></option> 26 <option class="btnpto" value="btnsyle-11"><?php esc_html_e('Style 11 (PRO)', 'fancy-fiter'); ?></option> 27 <option class="btnpto" value="btnsyle-12"><?php esc_html_e('Style 12 (PRO)', 'fancy-fiter'); ?></option> 28 <option class="btnpto" value="btnsyle-13"><?php esc_html_e('Style 13 (PRO)', 'fancy-fiter'); ?></option> 29 29 </select> 30 30 <span class="efli-pro"> 31 31 <span id="tr-btnsyle-1" class="method_options_tn"> 32 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-1-min.gif' ?>" alt="btn-demo">32 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-1-min.gif' ?>" alt="btn-demo"> 33 33 </span> 34 34 <span id="tr-btnsyle-2" class="method_options_tn"> 35 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-2.gif' ?>" alt="btn-demo">35 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-2.gif' ?>" alt="btn-demo"> 36 36 </span> 37 37 <span id="tr-btnsyle-3" class="method_options_tn"> 38 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-3-min.gif' ?>" alt="btn-demo">38 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-3-min.gif' ?>" alt="btn-demo"> 39 39 </span> 40 40 <span id="tr-btnsyle-4" class="method_options_tn"> 41 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-4-min.gif' ?>" alt="btn-demo">41 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-4-min.gif' ?>" alt="btn-demo"> 42 42 </span> 43 43 <span id="tr-btnsyle-5" class="method_options_tn"> 44 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-5-min.gif' ?>" alt="btn-demo">44 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-5-min.gif' ?>" alt="btn-demo"> 45 45 </span> 46 46 <span id="tr-btnsyle-6" class="method_options_tn"> 47 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-6-min.gif' ?>" alt="btn-demo">47 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-6-min.gif' ?>" alt="btn-demo"> 48 48 </span> 49 49 <span id="tr-btnsyle-7" class="method_options_tn"> 50 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-7-min.gif' ?>" alt="btn-demo">50 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-7-min.gif' ?>" alt="btn-demo"> 51 51 </span> 52 52 <span id="tr-btnsyle-8" class="method_options_tn"> 53 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-8-min.gif' ?>" alt="btn-demo">53 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-8-min.gif' ?>" alt="btn-demo"> 54 54 </span> 55 55 <span id="tr-btnsyle-9" class="method_options_tn"> 56 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-9-min.gif' ?>" alt="btn-demo">56 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-9-min.gif' ?>" alt="btn-demo"> 57 57 </span> 58 58 <span id="tr-btnsyle-10" class="method_options_tn"> 59 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-10-min.gif' ?>" alt="btn-demo">59 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-10-min.gif' ?>" alt="btn-demo"> 60 60 </span> 61 61 <span id="tr-btnsyle-11" class="method_options_tn"> 62 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-11-min.gif' ?>" alt="btn-demo">62 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-11-min.gif' ?>" alt="btn-demo"> 63 63 </span> 64 64 <span id="tr-btnsyle-12" class="method_options_tn"> 65 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-102.gif' ?>" alt="btn-demo">65 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-102.gif' ?>" alt="btn-demo"> 66 66 </span> 67 67 <span id="tr-btnsyle-13" class="method_options_tn"> 68 <img src="<?php echo FANCYFILTER_URL.'/assets/img/gif/btn-13.gif' ?>" alt="btn-demo">68 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/btn-13.gif' ?>" alt="btn-demo"> 69 69 </span> 70 70 </span> 71 71 72 72 </li><li> 73 <p class="item_title bbfgfgfg"><?php echo esc_html__('Change \'All\' Text','fancy-fi lter') ?></p>73 <p class="item_title bbfgfgfg"><?php echo esc_html__('Change \'All\' Text','fancy-fiter') ?></p> 74 74 <?php 75 75 $el_all_text = isset($options['el_all_text']) ? $options['el_all_text'] : 'All'; 76 printf('<input type="text" name="fancyfilter_options[el_all_text]" value="%s" placeholder="All" >', $el_all_text);76 printf('<input type="text" name="fancyfilter_options[el_all_text]" value="%s" placeholder="All" >', esc_attr($el_all_text)); 77 77 78 78 ?> … … 82 82 <ul class="fancydescrip"> 83 83 <li> 84 <p class="item_title"><?php echo esc_html__('Button Align','fancy-fi lter') ?></p>84 <p class="item_title"><?php echo esc_html__('Button Align','fancy-fiter') ?></p> 85 85 <?php 86 86 $fancyfilter_pro_btn_alighmnt = isset($options['fancyfilter_pro_btn_alighmnt']) ? $options['fancyfilter_pro_btn_alighmnt'] : 'center'; 87 87 ?> 88 88 <select class="item_slct" name="fancyfilter_options[fancyfilter_pro_btn_alighmnt]"> 89 <option value="left" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btn_left' ? 'selected' : '' ?>><?php esc_html_e('Left', 'fancy-fi lter'); ?></option>90 <option value="center" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btn_center' ? 'selected' : '' ?>><?php esc_html_e('Center', 'fancy-fi lter'); ?></option>91 <option value="right" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btn_right' ? 'selected' : '' ?>><?php esc_html_e('Right', 'fancy-fi lter'); ?></option>89 <option value="left" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btn_left' ? 'selected' : '' ?>><?php esc_html_e('Left', 'fancy-fiter'); ?></option> 90 <option value="center" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btn_center' ? 'selected' : '' ?>><?php esc_html_e('Center', 'fancy-fiter'); ?></option> 91 <option value="right" <?php echo esc_attr($fancyfilter_pro_btn_style) == 'btn_right' ? 'selected' : '' ?>><?php esc_html_e('Right', 'fancy-fiter'); ?></option> 92 92 </select> 93 93 </li><li> 94 <p class="item_title bbfgfgfg"><?php echo esc_html__('Remove \'ALL\' Button','fancy-fi lter') ?></p>94 <p class="item_title bbfgfgfg"><?php echo esc_html__('Remove \'ALL\' Button','fancy-fiter') ?></p> 95 95 <?php 96 96 $fabcy_remove_al_btn = isset($options['fabcy_remove_al_btn']) && $options['fabcy_remove_al_btn'] === 'fabcy_remove_al_btn' ? 'checked' : ' '; 97 97 98 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_feature" name="fancyfilter_options[fabcy_remove_al_btn]" value="fabcy_remove_al_btn" %s>', $fabcy_remove_al_btn);98 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_feature" name="fancyfilter_options[fabcy_remove_al_btn]" value="fabcy_remove_al_btn" %s>', esc_attr($fabcy_remove_al_btn)); 99 99 100 100 ?> … … 104 104 <ul class="fancydescrip"> 105 105 <li> 106 <p class="item_title"><?php echo esc_html__('Button Label Color','fancy-fi lter') ?></p>106 <p class="item_title"><?php echo esc_html__('Button Label Color','fancy-fiter') ?></p> 107 107 <?php 108 108 $el_btntxt_color = isset($options['el_btntxt_color']) ? $options['el_btntxt_color'] : '#000'; 109 printf('<input type="text" name="fancyfilter_options[el_btntxt_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_btntxt_color);?>109 printf('<input type="text" name="fancyfilter_options[el_btntxt_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_btntxt_color));?> 110 110 </li><li> 111 <p class="item_title"><?php echo esc_html__('Active Color','fancy-fi lter') ?></p>111 <p class="item_title"><?php echo esc_html__('Active Color','fancy-fiter') ?></p> 112 112 <?php 113 113 $el_btnact_color = isset($options['el_btnact_color']) ? $options['el_btnact_color'] : '#ccc'; 114 printf('<input type="text" name="fancyfilter_options[el_btnact_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_btnact_color);114 printf('<input type="text" name="fancyfilter_options[el_btnact_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_btnact_color)); 115 115 116 116 ?> … … 120 120 <ul class="fancydescrip"> 121 121 <li> 122 <p class="item_title"><?php echo esc_html__('Button Font Size(Px)','fancy-fi lter') ?></p>122 <p class="item_title"><?php echo esc_html__('Button Font Size(Px)','fancy-fiter') ?></p> 123 123 <?php 124 124 $el_btn_f_size = isset($options['el_btn_f_size']) ? $options['el_btn_f_size'] : '20'; 125 printf('<input type="number" name="fancyfilter_options[el_btn_f_size]" value="%s" >', $el_btn_f_size);125 printf('<input type="number" name="fancyfilter_options[el_btn_f_size]" value="%s" >', esc_attr($el_btn_f_size)); 126 126 127 127 ?> 128 128 </li><li> 129 <p class="item_title bbfgfgfg"><?php echo esc_html__('Button Font Weight','fancy-fi lter') ?></p>129 <p class="item_title bbfgfgfg"><?php echo esc_html__('Button Font Weight','fancy-fiter') ?></p> 130 130 <?php 131 131 $el_btn_f_weight = isset($options['el_btn_f_weight']) ? $options['el_btn_f_weight'] : '600'; 132 printf('<input type="number" name="fancyfilter_options[el_btn_f_weight]" value="%s" >', $el_btn_f_weight);132 printf('<input type="number" name="fancyfilter_options[el_btn_f_weight]" value="%s" >', esc_attr($el_btn_f_weight)); 133 133 134 134 ?> -
fancy-fiter/trunk/partials/FancyExtra.php
r3145687 r3250371 1 1 <div class="fancyfilter-accordion active"> 2 2 <div class="fancyfilter-accordion_tab"> 3 <?php echo esc_html__('Pagination & View More Button','fancy-fi lter') ?>3 <?php echo esc_html__('Pagination & View More Button','fancy-fiter') ?> 4 4 </div> 5 5 <div class="fancyfilter-accordion_content"> 6 6 <div class="fancyfilter-accordion_item"> 7 7 8 <p class="item_title"><?php echo esc_html__('Show Pagination?','fancy-fi lter') ?></p>8 <p class="item_title"><?php echo esc_html__('Show Pagination?','fancy-fiter') ?></p> 9 9 <?php 10 10 $fancyfilter_pro_display_pgination = isset($options['fancyfilter_pro_display_pgination']) && $options['fancyfilter_pro_display_pgination'] === 'fancyfilter_pro_display_pgination' ? 'checked' : ''; 11 11 12 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_pagination" name="fancyfilter_options[fancyfilter_pro_display_pgination]" value="fancyfilter_pro_display_pgination" %s>', $fancyfilter_pro_display_pgination);12 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_pagination" name="fancyfilter_options[fancyfilter_pro_display_pgination]" value="fancyfilter_pro_display_pgination" %s>', esc_attr($fancyfilter_pro_display_pgination)); 13 13 14 14 ?> … … 18 18 <ul class="fancydescrip"> 19 19 <li> 20 <p class="item_title"><?php echo esc_html__('Color of numbers','fancy-fi lter') ?></p>20 <p class="item_title"><?php echo esc_html__('Color of numbers','fancy-fiter') ?></p> 21 21 <?php 22 22 $el_pagination_color = isset($options['el_pagination_color']) ? $options['el_pagination_color'] : '#000'; 23 printf('<input type="text" name="fancyfilter_options[el_pagination_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_pagination_color);23 printf('<input type="text" name="fancyfilter_options[el_pagination_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_pagination_color)); 24 24 25 25 ?> 26 26 </li><li> 27 <p class="item_title bbfgfgfg"><?php echo esc_html__('Background of numbers','fancy-fi lter') ?></p>27 <p class="item_title bbfgfgfg"><?php echo esc_html__('Background of numbers','fancy-fiter') ?></p> 28 28 <?php 29 29 $el_pagination_bg_color = isset($options['el_pagination_bg_color']) ? $options['el_pagination_bg_color'] : '#ccc'; 30 printf('<input type="text" name="fancyfilter_options[el_pagination_bg_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_pagination_bg_color);30 printf('<input type="text" name="fancyfilter_options[el_pagination_bg_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_pagination_bg_color)); 31 31 32 32 ?> … … 36 36 <ul class="fancydescrip"> 37 37 <li> 38 <p class="item_title"><?php echo esc_html__('Active Color of number','fancy-fi lter') ?></p>38 <p class="item_title"><?php echo esc_html__('Active Color of number','fancy-fiter') ?></p> 39 39 <?php 40 40 $el_pagination_ac_color = isset($options['el_pagination_ac_color']) ? $options['el_pagination_ac_color'] : '#00A796'; 41 printf('<input type="text" name="fancyfilter_options[el_pagination_ac_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_pagination_ac_color);41 printf('<input type="text" name="fancyfilter_options[el_pagination_ac_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_pagination_ac_color)); 42 42 43 43 ?> 44 44 </li><li> 45 <p class="item_title bbfgfgfg"><?php echo esc_html__('Align Pagination','fancy-fi lter') ?></p>45 <p class="item_title bbfgfgfg"><?php echo esc_html__('Align Pagination','fancy-fiter') ?></p> 46 46 <?php 47 47 $fancyfilter_pro_pg_align = isset($options['fancyfilter_pro_pg_align']) ? $options['fancyfilter_pro_pg_align'] : 'center'; 48 48 ?> 49 49 <select name="fancyfilter_options[fancyfilter_pro_pg_align]"> 50 <option value="left" <?php echo esc_attr($fancyfilter_pro_pg_align) == 'left' ? 'selected' : '' ?>><?php esc_html_e('Left', 'fancy-fi lter'); ?>50 <option value="left" <?php echo esc_attr($fancyfilter_pro_pg_align) == 'left' ? 'selected' : '' ?>><?php esc_html_e('Left', 'fancy-fiter'); ?> 51 51 </option> 52 <option value="center" <?php echo esc_attr($fancyfilter_pro_pg_align) == 'center' ? 'selected' : '' ?>><?php esc_html_e('Center', 'fancy-fi lter'); ?>52 <option value="center" <?php echo esc_attr($fancyfilter_pro_pg_align) == 'center' ? 'selected' : '' ?>><?php esc_html_e('Center', 'fancy-fiter'); ?> 53 53 </option> 54 <option value="right" <?php echo esc_attr($fancyfilter_pro_pg_align) == 'right' ? 'selected' : '' ?>><?php esc_html_e('Right', 'fancy-fi lter'); ?>54 <option value="right" <?php echo esc_attr($fancyfilter_pro_pg_align) == 'right' ? 'selected' : '' ?>><?php esc_html_e('Right', 'fancy-fiter'); ?> 55 55 </option> 56 56 </select> … … 58 58 </div> 59 59 <div class="fancyfilter-accordion_item"> 60 <p class="item_title"><?php echo esc_html__('Space(Px) from top','fancy-fi lter') ?></p>60 <p class="item_title"><?php echo esc_html__('Space(Px) from top','fancy-fiter') ?></p> 61 61 <?php 62 62 $el_pagination_top_space = isset($options['el_pagination_top_space']) ? $options['el_pagination_top_space'] : '30'; 63 printf('<input type="number" min="10" max="1000" step="10" name="fancyfilter_options[el_pagination_top_space]" value="%s" >', $el_pagination_top_space);63 printf('<input type="number" min="10" max="1000" step="10" name="fancyfilter_options[el_pagination_top_space]" value="%s" >', esc_attr($el_pagination_top_space)); 64 64 65 65 ?> 66 <em><?php echo esc_html__('min:10px, max:1000px, Step: 10px','fancy-fi lter') ?></em>66 <em><?php echo esc_html__('min:10px, max:1000px, Step: 10px','fancy-fiter') ?></em> 67 67 </div> 68 68 </div> 69 69 <div class="fancyfilter-accordion_item"> 70 <p class="item_title"><?php echo esc_html__('Display Read More Button?','fancy-fi lter') ?></p>70 <p class="item_title"><?php echo esc_html__('Display Read More Button?','fancy-fiter') ?></p> 71 71 <?php 72 72 $fancyfilter_pro_display_readmore = isset($options['fancyfilter_pro_display_readmore']) && $options['fancyfilter_pro_display_readmore'] === 'fancyfilter_pro_display_readmore' ? 'checked' : ''; 73 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_readmore" name="fancyfilter_options[fancyfilter_pro_display_readmore]" value="fancyfilter_pro_display_readmore" %s>', $fancyfilter_pro_display_readmore);73 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_readmore" name="fancyfilter_options[fancyfilter_pro_display_readmore]" value="fancyfilter_pro_display_readmore" %s>', esc_attr($fancyfilter_pro_display_readmore)); 74 74 75 75 ?> … … 79 79 <ul class="fancydescrip"> 80 80 <li> 81 <p class="item_title"><?php echo esc_html__('Button Text','fancy-fi lter') ?></p>81 <p class="item_title"><?php echo esc_html__('Button Text','fancy-fiter') ?></p> 82 82 <?php 83 83 $el_readmore_txt = isset($options['el_readmore_txt']) ? $options['el_readmore_txt'] : 'View More'; 84 printf('<input type="text" name="fancyfilter_options[el_readmore_txt]" value="%s" placeholder="View More">', $el_readmore_txt);84 printf('<input type="text" name="fancyfilter_options[el_readmore_txt]" value="%s" placeholder="View More">', esc_attr($el_readmore_txt)); 85 85 86 86 ?> 87 87 </li><li> 88 <p class="item_title bbfgfgfg"><?php echo esc_html__('Button Link','fancy-fi lter') ?></p>88 <p class="item_title bbfgfgfg"><?php echo esc_html__('Button Link','fancy-fiter') ?></p> 89 89 <?php 90 90 $el_readmore_url = isset($options['el_readmore_url']) ? $options['el_readmore_url'] : 'htts://'; 91 printf('<input type="text" name="fancyfilter_options[el_readmore_url]" value="%s" placeholder="htts://">', $el_readmore_url);91 printf('<input type="text" name="fancyfilter_options[el_readmore_url]" value="%s" placeholder="htts://">', esc_attr($el_readmore_url)); 92 92 93 93 ?> … … 97 97 <ul class="fancydescrip"> 98 98 <li> 99 <p class="item_title"><?php echo esc_html__('Text Color','fancy-fi lter') ?></p>99 <p class="item_title"><?php echo esc_html__('Text Color','fancy-fiter') ?></p> 100 100 <?php 101 101 $el_readmore_color = isset($options['el_readmore_color']) ? $options['el_readmore_color'] : '#fff'; 102 printf('<input type="text" name="fancyfilter_options[el_readmore_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_readmore_color);102 printf('<input type="text" name="fancyfilter_options[el_readmore_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_readmore_color)); 103 103 104 104 ?> 105 105 </li><li> 106 <p class="item_title bbfgfgfg"><?php echo esc_html__('Button Background','fancy-fi lter') ?></p>106 <p class="item_title bbfgfgfg"><?php echo esc_html__('Button Background','fancy-fiter') ?></p> 107 107 <?php 108 108 $el_readmore_bgcolor = isset($options['el_readmore_bgcolor']) ? $options['el_readmore_bgcolor'] : '#000'; 109 printf('<input type="text" name="fancyfilter_options[el_readmore_bgcolor]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_readmore_bgcolor);109 printf('<input type="text" name="fancyfilter_options[el_readmore_bgcolor]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_readmore_bgcolor)); 110 110 111 111 ?> … … 115 115 <div class="fancyfilter-accordion_item"> 116 116 <ul class="fancydescrip"><li> 117 <p class="item_title bbfgfgfg"><?php echo esc_html__('Alignment','fancy-fi lter') ?></p>117 <p class="item_title bbfgfgfg"><?php echo esc_html__('Alignment','fancy-fiter') ?></p> 118 118 <?php 119 119 $fancyfilter_pro_readmore_align = isset($options['fancyfilter_pro_readmore_align']) ? $options['fancyfilter_pro_readmore_align'] : 'center'; 120 120 ?> 121 121 <select name="fancyfilter_options[fancyfilter_pro_readmore_align]"> 122 <option value="left" <?php echo esc_attr($fancyfilter_pro_readmore_align) == 'left' ? 'selected' : '' ?>><?php esc_html_e('Left', 'fancy-fi lter'); ?>122 <option value="left" <?php echo esc_attr($fancyfilter_pro_readmore_align) == 'left' ? 'selected' : '' ?>><?php esc_html_e('Left', 'fancy-fiter'); ?> 123 123 </option> 124 <option value="center" <?php echo esc_attr($fancyfilter_pro_readmore_align) == 'center' ? 'selected' : '' ?>><?php esc_html_e('Center', 'fancy-fi lter'); ?>124 <option value="center" <?php echo esc_attr($fancyfilter_pro_readmore_align) == 'center' ? 'selected' : '' ?>><?php esc_html_e('Center', 'fancy-fiter'); ?> 125 125 </option> 126 <option value="right" <?php echo esc_attr($fancyfilter_pro_readmore_align) == 'right' ? 'selected' : '' ?>><?php esc_html_e('Right', 'fancy-fi lter'); ?>126 <option value="right" <?php echo esc_attr($fancyfilter_pro_readmore_align) == 'right' ? 'selected' : '' ?>><?php esc_html_e('Right', 'fancy-fiter'); ?> 127 127 </option> 128 128 </select> … … 135 135 </div> 136 136 </div> 137 <button type="submit" class="fancyfilter_sbt_btn"><?php echo esc_html__('Save Changes','fancy-fi lter') ?><span class="fancy_sdhi"></span></button>137 <button type="submit" class="fancyfilter_sbt_btn"><?php echo esc_html__('Save Changes','fancy-fiter') ?><span class="fancy_sdhi"></span></button> 138 138 <span class="fancy_djkfhjhj"></span> -
fancy-fiter/trunk/partials/FancyItemWrapper.php
r3145687 r3250371 2 2 <div class="fancyfilter-accordion active"> 3 3 <div class="fancyfilter-accordion_tab active"> 4 <?php echo esc_html__('Items Settings','fancy-fi lter') ?>4 <?php echo esc_html__('Items Settings','fancy-fiter') ?> 5 5 </div> 6 6 <div class="fancyfilter-accordion_content"> … … 9 9 <ul class="fancydescrip_custom"> 10 10 <li class="fancydescrip_custom_l1"> 11 <p class="item_title"><label for="slct_portfoli_types"> <?php echo esc_html__('Choose Portfolio Categories: ','fancy-fi lter') ?></label></p>11 <p class="item_title"><label for="slct_portfoli_types"> <?php echo esc_html__('Choose Portfolio Categories: ','fancy-fiter') ?></label></p> 12 12 <?php 13 13 … … 28 28 29 29 $selected = (is_array($portfolioselect2_style) && in_array($el_category->term_id, $portfolioselect2_style)) ? ' selected="selected"' : ''; 30 echo '<option value="' . $el_category->term_id . '" ' . $selected . '>' .$el_category->name. '</option>';30 echo '<option value="' . esc_attr($el_category->term_id) . '" ' . esc_attr($selected) . '>' .esc_html($el_category->name). '</option>'; 31 31 } 32 32 echo '</select>'; … … 39 39 <li class="fancydescrip_custom_l2"> 40 40 <span>[fancyfilter_portfolio]</span> 41 <a href="<?php echo admin_url('/').'edit.php?post_type=morefilter' ?>"><?php echo esc_html__('Create More Shortcode','fancy-filter') ?></a>41 <a href="<?php echo esc_url(admin_url('/')).'edit.php?post_type=morefilter' ?>"><?php echo esc_html__('Create More Shortcode','fancy-fiter') ?></a> 42 42 43 43 </li> … … 51 51 <ul class="fancydescrip_custom"> 52 52 <li class="fancydescrip_custom_l1"> 53 <p class="item_title"><label for="slct_post_types"><?php echo esc_html__('Choose Post Categories: ','fancy-fi lter') ?></label></p>53 <p class="item_title"><label for="slct_post_types"><?php echo esc_html__('Choose Post Categories: ','fancy-fiter') ?></label></p> 54 54 <?php 55 55 … … 75 75 }else{ 76 76 77 echo "Please create an item by attaching a category first <a href='". admin_url('/')."edit.php?post_type=fancyfilter'>Click here</a>";77 echo "Please create an item by attaching a category first <a href='".esc_url(admin_url('/'))."edit.php?post_type=fancyfilter'>Click here</a>"; 78 78 79 79 } 80 echo $html; 80 81 82 $allowed_html = array( 83 84 'label' => array( 85 'id' => array(), 86 'class' => array(), 87 'for' => array(), 88 ), 89 'input' => array( 90 'type' => array(), 91 'id' => array(), 92 'class' => array(), 93 'name' => array(), 94 'value' => array(), 95 'checked' => array(), 96 ), 97 'select' => array( 98 'class' => array(), 99 'id' => array(), 100 'name' => array(), 101 'multiple' => array(), 102 103 ), 104 'option' => array( 105 'value' => array(), 106 'class' => array(), 107 'id' => array(), 108 'selected' => array(), 109 ), 110 'div' => array( 111 'class' => array(), 112 'id' => array(), 113 'style' => array(), 114 ), 115 'strong' => array( 116 'class' => array(), 117 'id' => array(), 118 ), 119 'span' => array( 120 'id' => array(), 121 'class' => array(), 122 'style' => array(), 123 ), 124 ); 125 126 echo wp_kses($html ,$allowed_html ); 81 127 82 128 ?> … … 85 131 <li class="fancydescrip_custom_l2"> 86 132 <span>[fancyfilter_blog]</span> 87 <a href="<?php echo admin_url('/').'edit.php?post_type=morefilter' ?>"><?php echo esc_html__('Create More Shortcode','fancy-filter') ?></a>133 <a href="<?php echo esc_url(admin_url('/')).'edit.php?post_type=morefilter' ?>"><?php echo esc_html__('Create More Shortcode','fancy-fiter') ?></a> 88 134 </li> 89 135 <?php } ?> … … 100 146 <li class="fancydescrip_custom_l1"> 101 147 <p class="item_title"> 102 <label for="yoo_slct_post_types"><?php echo esc_html__('Choose Product Categories: ','fancy-fi lter') ?></label></p>148 <label for="yoo_slct_post_types"><?php echo esc_html__('Choose Product Categories: ','fancy-fiter') ?></label></p> 103 149 <?php 104 150 … … 124 170 }else{ 125 171 126 echo "Please create an item by attaching a category first <a href='". admin_url('/')."edit.php?post_type=fancyfilter'>Click here</a>";172 echo "Please create an item by attaching a category first <a href='".esc_url(admin_url('/'))."edit.php?post_type=fancyfilter'>Click here</a>"; 127 173 128 174 } 129 echo $html; 130 175 176 177 $allowed_html = array( 178 179 'label' => array( 180 'id' => array(), 181 'class' => array(), 182 'for' => array(), 183 ), 184 'input' => array( 185 'type' => array(), 186 'id' => array(), 187 'class' => array(), 188 'name' => array(), 189 'value' => array(), 190 'checked' => array(), 191 ), 192 'select' => array( 193 'class' => array(), 194 'id' => array(), 195 'name' => array(), 196 'multiple' => array(), 197 ), 198 'option' => array( 199 'value' => array(), 200 'class' => array(), 201 'id' => array(), 202 'selected' => array(), 203 ), 204 'div' => array( 205 'class' => array(), 206 'id' => array(), 207 'style' => array(), 208 ), 209 'strong' => array( 210 'class' => array(), 211 'id' => array(), 212 ), 213 'span' => array( 214 'id' => array(), 215 'class' => array(), 216 'style' => array(), 217 ), 218 ); 219 220 echo wp_kses($html ,$allowed_html ); 131 221 ?> 132 222 </li> … … 135 225 <li class="fancydescrip_custom_l2"> 136 226 <span>[fancyfilter_product]</span> 137 <a href="<?php echo admin_url('/').'edit.php?post_type=morefilter' ?>"><?php echo esc_html__('Create More Shortcode','fancy-filter') ?></a>227 <a href="<?php echo esc_url(admin_url('/')).'edit.php?post_type=morefilter' ?>"><?php echo esc_html__('Create More Shortcode','fancy-fiter') ?></a> 138 228 </li> 139 229 <?php } ?> … … 145 235 <ul class="fancydescrip"> 146 236 <li> 147 <p class="item_title"><?php echo esc_html__('Grid Style ','fancy-fi lter') ?></p>237 <p class="item_title"><?php echo esc_html__('Grid Style ','fancy-fiter') ?></p> 148 238 <?php 149 239 $options = get_option('fancyfilter_options'); … … 153 243 echo '<select class="item_slct" id="id_style_method" name="fancyfilter_options[fancyfilter_pro_main_style]"> 154 244 155 <option value="st-free" ' . selected('st-free', $fancyfilter_pro_main_style, false) . '>'.esc_html('Free Style', 'fancy-fi lter').'</option>156 157 <option value="portfolio_wrap_one" class="prodataver">'.esc_html('Style One (Pro)', 'fancy-fi lter').'</option>158 <option value="portfolio_wrap_two" class="prodataver">'.esc_html('Style Two (Pro)', 'fancy-fi lter').'</option>159 <option value="portfolio_wrap_three" class="prodataver">'.esc_html('Style Three (Pro)', 'fancy-fi lter').'</option>160 <option value="portfolio_wrap_four" class="prodataver">'.esc_html('Style Four (Pro)', 'fancy-fi lter').'</option>161 <option value="portfolio_wrap_five" class="prodataver">'.esc_html('Style Five (Pro)', 'fancy-fi lter').'</option>162 <option value="portfolio_wrap_six" class="prodataver">'.esc_html('Style Six (Pro)', 'fancy-fi lter').'</option>163 <option value="portfolio_wrap_seven" class="prodataver">'.esc_html('Style Seven (Pro)', 'fancy-fi lter').'</option>164 <option value="portfolio_wrap_eight" class="prodataver">'.esc_html('Style Eight (Pro)', 'fancy-fi lter').'</option>165 <option value="portfolio_wrap_nine" class="prodataver">'.esc_html('Style Nine (Pro)', 'fancy-fi lter').'</option>166 <option value="portfolio_wrap_ten" class="prodataver">'.esc_html('Style Ten (Pro)', 'fancy-fi lter').'</option>245 <option value="st-free" ' . selected('st-free', $fancyfilter_pro_main_style, false) . '>'.esc_html('Free Style', 'fancy-fiter').'</option> 246 247 <option value="portfolio_wrap_one" class="prodataver">'.esc_html('Style One (Pro)', 'fancy-fiter').'</option> 248 <option value="portfolio_wrap_two" class="prodataver">'.esc_html('Style Two (Pro)', 'fancy-fiter').'</option> 249 <option value="portfolio_wrap_three" class="prodataver">'.esc_html('Style Three (Pro)', 'fancy-fiter').'</option> 250 <option value="portfolio_wrap_four" class="prodataver">'.esc_html('Style Four (Pro)', 'fancy-fiter').'</option> 251 <option value="portfolio_wrap_five" class="prodataver">'.esc_html('Style Five (Pro)', 'fancy-fiter').'</option> 252 <option value="portfolio_wrap_six" class="prodataver">'.esc_html('Style Six (Pro)', 'fancy-fiter').'</option> 253 <option value="portfolio_wrap_seven" class="prodataver">'.esc_html('Style Seven (Pro)', 'fancy-fiter').'</option> 254 <option value="portfolio_wrap_eight" class="prodataver">'.esc_html('Style Eight (Pro)', 'fancy-fiter').'</option> 255 <option value="portfolio_wrap_nine" class="prodataver">'.esc_html('Style Nine (Pro)', 'fancy-fiter').'</option> 256 <option value="portfolio_wrap_ten" class="prodataver">'.esc_html('Style Ten (Pro)', 'fancy-fiter').'</option> 167 257 </select>'; ?> 168 <p class="filtersesdb"><?php echo esc_html__('Choose Item Design','fancy-fi lter') ?></p>258 <p class="filtersesdb"><?php echo esc_html__('Choose Item Design','fancy-fiter') ?></p> 169 259 </li><li> 170 <p class="item_title"><?php echo esc_html__('Free Style- Animation','fancy-fi lter') ?></p>260 <p class="item_title"><?php echo esc_html__('Free Style- Animation','fancy-fiter') ?></p> 171 261 <?php 172 262 $fancyfilter_pro_style_animation = isset($options['fancyfilter_pro_style_animation']) ? $options['fancyfilter_pro_style_animation'] : 'fancyfilter_pro-free-item--eff1'; 173 263 ?> 174 264 <select class="item_slct" name="fancyfilter_options[fancyfilter_pro_style_animation]" id="id_free_method" > 175 <option value="fancyfilter_pro-free-item--eff1" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff1' ? 'selected' : '' ?>><?php esc_html_e('Effect 1', 'fancy-fi lter'); ?></option>176 <option value="fancyfilter_pro-free-item--eff2" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff2' ? 'selected' : '' ?>><?php esc_html_e('Effect 2', 'fancy-fi lter'); ?></option>177 <option value="fancyfilter_pro-free-item--eff3" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff3' ? 'selected' : '' ?>><?php esc_html_e('Effect 3', 'fancy-fi lter'); ?></option>178 <option value="fancyfilter_pro-free-item--eff4" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff4' ? 'selected' : '' ?>><?php esc_html_e('Effect 4', 'fancy-fi lter'); ?></option>179 <option value="fancyfilter_pro-free-item--eff5" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff5' ? 'selected' : '' ?>><?php esc_html_e('Effect 5', 'fancy-fi lter'); ?></option>265 <option value="fancyfilter_pro-free-item--eff1" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff1' ? 'selected' : '' ?>><?php esc_html_e('Effect 1', 'fancy-fiter'); ?></option> 266 <option value="fancyfilter_pro-free-item--eff2" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff2' ? 'selected' : '' ?>><?php esc_html_e('Effect 2', 'fancy-fiter'); ?></option> 267 <option value="fancyfilter_pro-free-item--eff3" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff3' ? 'selected' : '' ?>><?php esc_html_e('Effect 3', 'fancy-fiter'); ?></option> 268 <option value="fancyfilter_pro-free-item--eff4" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff4' ? 'selected' : '' ?>><?php esc_html_e('Effect 4', 'fancy-fiter'); ?></option> 269 <option value="fancyfilter_pro-free-item--eff5" <?php echo esc_attr($fancyfilter_pro_style_animation) == 'fancyfilter_pro-free-item--eff5' ? 'selected' : '' ?>><?php esc_html_e('Effect 5', 'fancy-fiter'); ?></option> 180 270 </select> 181 <p class="filtersesdb"><?php echo esc_html__('Choose Animation for Free Style','fancy-fi lter') ?></p>271 <p class="filtersesdb"><?php echo esc_html__('Choose Animation for Free Style','fancy-fiter') ?></p> 182 272 </li></ul> 183 273 … … 185 275 <div id="method_free" class="ferjfdjfh"> 186 276 <p id="tr-fancyfilter_pro-free-item--eff1" class="method_options"> 187 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/ef-1.gif' ?> " alt="style-2-demo">277 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/ef-1.gif' ?> " alt="style-2-demo"> 188 278 </p> 189 279 <p id="tr-fancyfilter_pro-free-item--eff2" class="method_options"> 190 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/ef-2.gif' ?> " alt="style-2-demo">280 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/ef-2.gif' ?> " alt="style-2-demo"> 191 281 </p> 192 282 <p id="tr-fancyfilter_pro-free-item--eff3" class="method_options"> 193 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/ef-3.gif' ?> " alt="style-2-demo">283 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/ef-3.gif' ?> " alt="style-2-demo"> 194 284 </p> 195 285 <p id="tr-fancyfilter_pro-free-item--eff4" class="method_options"> 196 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/ef-4.gif' ?> " alt="style-2-demo">286 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/ef-4.gif' ?> " alt="style-2-demo"> 197 287 </p> 198 288 <p id="tr-fancyfilter_pro-free-item--eff5" class="method_options"> 199 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/ef-5.gif' ?> " alt="style-2-demo">289 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/ef-5.gif' ?> " alt="style-2-demo"> 200 290 </p> 201 291 </div> … … 203 293 <div id="method_free"> 204 294 <p id="tr-portfolio_wrap_one" class="method_options"> 205 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/2-min.gif' ?> " alt="style-2-demo">295 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/2-min.gif' ?> " alt="style-2-demo"> 206 296 </p> 207 297 <p id="tr-portfolio_wrap_two" class="method_options"> 208 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/3-min.gif' ?> " alt="style-2-demo">298 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/3-min.gif' ?> " alt="style-2-demo"> 209 299 </p> 210 300 <p id="tr-portfolio_wrap_three" class="method_options"> 211 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/4-min.gif' ?> " alt="style-2-demo">301 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/4-min.gif' ?> " alt="style-2-demo"> 212 302 </p> 213 303 <p id="tr-portfolio_wrap_four" class="method_options"> 214 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/5-min.gif' ?> " alt="style-2-demo">304 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/5-min.gif' ?> " alt="style-2-demo"> 215 305 </p> 216 306 <p id="tr-portfolio_wrap_five" class="method_options"> 217 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/6-min.gif' ?> " alt="style-2-demo">307 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/6-min.gif' ?> " alt="style-2-demo"> 218 308 </p> 219 309 <p id="tr-portfolio_wrap_six" class="method_options"> 220 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/7-min.gif' ?> " alt="style-2-demo">310 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/7-min.gif' ?> " alt="style-2-demo"> 221 311 </p> 222 312 <p id="tr-portfolio_wrap_seven" class="method_options"> 223 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/8-min.gif' ?> " alt="style-2-demo">313 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/8-min.gif' ?> " alt="style-2-demo"> 224 314 </p> 225 315 <p id="tr-portfolio_wrap_eight" class="method_options"> 226 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/9-min.gif' ?> " alt="style-2-demo">316 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/9-min.gif' ?> " alt="style-2-demo"> 227 317 </p> 228 318 <p id="tr-portfolio_wrap_nine" class="method_options"> 229 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/10-min.gif' ?> " alt="style-2-demo">319 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/10-min.gif' ?> " alt="style-2-demo"> 230 320 </p> 231 321 <p id="tr-portfolio_wrap_ten" class="method_options"> 232 <img class="efdemo-img" src=" <?php echo FANCYFILTER_URL.'/assets/img/gif/11-min.gif' ?> " alt="style-2-demo">322 <img class="efdemo-img" src=" <?php echo esc_url(FANCYFILTER_URL).'/assets/img/gif/11-min.gif' ?> " alt="style-2-demo"> 233 323 </p> 234 324 </div> … … 237 327 <ul class="fancydescrip"> 238 328 <li> 239 <span class="item_title"><?php echo esc_html__('Posts Per Page','fancy-fi lter') ?></span>329 <span class="item_title"><?php echo esc_html__('Posts Per Page','fancy-fiter') ?></span> 240 330 <?php 241 331 $fancyfilter_pro_per_page = isset($options['fancyfilter_pro_per_page']) ? $options['fancyfilter_pro_per_page'] : '-1'; 242 332 ?> 243 <input type="text" name="fancyfilter_options[fancyfilter_pro_per_page]" value="<?php echo esc_attr($fancyfilter_pro_per_page); ?>" placeholder="-1"><p class="filtersesdb"><?php echo esc_html__('input item Per page, for All, write: -1','fancy-fi lter') ?></p>333 <input type="text" name="fancyfilter_options[fancyfilter_pro_per_page]" value="<?php echo esc_attr($fancyfilter_pro_per_page); ?>" placeholder="-1"><p class="filtersesdb"><?php echo esc_html__('input item Per page, for All, write: -1','fancy-fiter') ?></p> 244 334 </li><li> 245 <span class="item_title bbfgfgfg"><?php echo esc_html__('Order By','fancy-fi lter') ?></span>335 <span class="item_title bbfgfgfg"><?php echo esc_html__('Order By','fancy-fiter') ?></span> 246 336 <?php 247 337 $fancyfilter_pro_order_by = isset($options['fancyfilter_pro_order_by']) ? $options['fancyfilter_pro_order_by'] : 'none'; 248 338 ?> 249 339 <select class="item_slct" name="fancyfilter_options[fancyfilter_pro_order_by]"> 250 <option value="id" <?php echo esc_attr($fancyfilter_pro_order_by) == 'id' ? 'selected' : '' ?>><?php esc_html_e('Post ID', 'fancy-fi lter'); ?></option>251 <option value="title" <?php echo esc_attr($fancyfilter_pro_order_by) == 'title' ? 'selected' : '' ?>><?php esc_html_e('Title', 'fancy-fi lter'); ?></option>252 <option value="date" <?php echo esc_attr($fancyfilter_pro_order_by) == 'date' ? 'selected' : '' ?>><?php esc_html_e('Date', 'fancy-fi lter'); ?></option>253 <option value="menu_order" <?php echo esc_attr($fancyfilter_pro_order_by) == 'menu_order' ? 'selected' : '' ?>><?php esc_html_e('Menu Order', 'fancy-fi lter'); ?></option>254 <option value="rand" <?php echo esc_attr($fancyfilter_pro_order_by) == 'rand' ? 'selected' : '' ?>><?php esc_html_e('Random', 'fancy-fi lter'); ?></option>340 <option value="id" <?php echo esc_attr($fancyfilter_pro_order_by) == 'id' ? 'selected' : '' ?>><?php esc_html_e('Post ID', 'fancy-fiter'); ?></option> 341 <option value="title" <?php echo esc_attr($fancyfilter_pro_order_by) == 'title' ? 'selected' : '' ?>><?php esc_html_e('Title', 'fancy-fiter'); ?></option> 342 <option value="date" <?php echo esc_attr($fancyfilter_pro_order_by) == 'date' ? 'selected' : '' ?>><?php esc_html_e('Date', 'fancy-fiter'); ?></option> 343 <option value="menu_order" <?php echo esc_attr($fancyfilter_pro_order_by) == 'menu_order' ? 'selected' : '' ?>><?php esc_html_e('Menu Order', 'fancy-fiter'); ?></option> 344 <option value="rand" <?php echo esc_attr($fancyfilter_pro_order_by) == 'rand' ? 'selected' : '' ?>><?php esc_html_e('Random', 'fancy-fiter'); ?></option> 255 345 </select> 256 <p class="filtersesdb"><?php echo esc_html__('Sort retrieved posts by parameter,default: date. ','fancy-fi lter') ?><a href="https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters"><?php echo esc_html__('See Orderby Parameters','fancy-filter') ?></a></p>346 <p class="filtersesdb"><?php echo esc_html__('Sort retrieved posts by parameter,default: date. ','fancy-fiter') ?><a href="https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters"><?php echo esc_html__('See Orderby Parameters','fancy-fiter') ?></a></p> 257 347 </li> 258 348 </ul> 259 349 </div> 260 350 <div class="fancyfilter-accordion_item"> 261 <p class="item_title"><?php echo esc_html__('Column Per Row','fancy-fi lter') ?></p>351 <p class="item_title"><?php echo esc_html__('Column Per Row','fancy-fiter') ?></p> 262 352 <?php 263 353 $fancyfilter_pro_col_by = isset($options['fancyfilter_pro_col_by']) ? $options['fancyfilter_pro_col_by'] : 'none'; 264 354 ?> 265 355 <select class="item_slct" id="clmn_per_row" name="fancyfilter_options[fancyfilter_pro_col_by]"> 266 <option value="col-1" <?php echo esc_attr($fancyfilter_pro_col_by) == 'col-1' ? 'selected' : '' ?>><?php esc_html_e('Column 2', 'fancy-fi lter'); ?></option>267 <option value="col-2" <?php echo esc_attr($fancyfilter_pro_col_by) == 'col-2' ? 'selected' : '' ?>><?php esc_html_e('Column 3', 'fancy-fi lter'); ?></option>268 <option value="col-3" <?php echo esc_attr($fancyfilter_pro_col_by) == 'col-3' ? 'selected' : '' ?>><?php esc_html_e('Column 4', 'fancy-fi lter'); ?></option>356 <option value="col-1" <?php echo esc_attr($fancyfilter_pro_col_by) == 'col-1' ? 'selected' : '' ?>><?php esc_html_e('Column 2', 'fancy-fiter'); ?></option> 357 <option value="col-2" <?php echo esc_attr($fancyfilter_pro_col_by) == 'col-2' ? 'selected' : '' ?>><?php esc_html_e('Column 3', 'fancy-fiter'); ?></option> 358 <option value="col-3" <?php echo esc_attr($fancyfilter_pro_col_by) == 'col-3' ? 'selected' : '' ?>><?php esc_html_e('Column 4', 'fancy-fiter'); ?></option> 269 359 </select> 270 360 <span id="tr-col-1" class="cled"> 271 <img src="<?php echo FANCYFILTER_URL.'/assets/img/2cl-min.png' ?>" alt="2col">361 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/2cl-min.png' ?>" alt="2col"> 272 362 </span> 273 <img id="tr-col-2" class="cled" src="<?php echo FANCYFILTER_URL.'/assets/img/3cl-min.png' ?>" alt="2col">363 <img id="tr-col-2" class="cled" src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/3cl-min.png' ?>" alt="2col"> 274 364 <span id="tr-col-3" class="cled"> 275 <img src="<?php echo FANCYFILTER_URL.'/assets/img/4cl-min.png' ?>" alt="2col">365 <img src="<?php echo esc_url(FANCYFILTER_URL).'/assets/img/4cl-min.png' ?>" alt="2col"> 276 366 </span> 277 367 </div> … … 279 369 <ul class="fancydescrip"> 280 370 <li> 281 <p class="item_title"><?php echo esc_html__('Hide Category?','fancy-fi lter') ?></p>371 <p class="item_title"><?php echo esc_html__('Hide Category?','fancy-fiter') ?></p> 282 372 <?php 283 373 $fancyfilter_pro_hide_cat = isset($options['fancyfilter_pro_hide_cat']) && $options['fancyfilter_pro_hide_cat'] === 'fancyfilter_pro_hide_cat' ? 'checked' : ''; 284 374 285 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_hide_cat" name="fancyfilter_options[fancyfilter_pro_hide_cat]" value="fancyfilter_pro_hide_cat" %s>', $fancyfilter_pro_hide_cat);375 printf('<input type="checkbox" class="fancyfil_apple-switch" id="fancyfilter_pro_hide_cat" name="fancyfilter_options[fancyfilter_pro_hide_cat]" value="fancyfilter_pro_hide_cat" %s>', esc_attr($fancyfilter_pro_hide_cat)); 286 376 287 377 ?> 288 <p class="filtersesdb"><?php echo esc_html__('Click the Switcher for remove Category text from the item','fancy-fi lter') ?></p>378 <p class="filtersesdb"><?php echo esc_html__('Click the Switcher for remove Category text from the item','fancy-fiter') ?></p> 289 379 </li><li> 290 <p class="item_title bbfgfgfg"><?php echo esc_html__('Show Full Title?','fancy-fi lter') ?></p>380 <p class="item_title bbfgfgfg"><?php echo esc_html__('Show Full Title?','fancy-fiter') ?></p> 291 381 <?php 292 382 $show_fancyfilter_pro_title = isset($options['show_fancyfilter_pro_title']) && $options['show_fancyfilter_pro_title'] === 'show_fancyfilter_pro_title' ? 'checked' : ''; 293 383 294 printf('<input type="checkbox" class="fancyfil_apple-switch" id="show_fancyfilter_pro_title" name="fancyfilter_options[show_fancyfilter_pro_title]" value="show_fancyfilter_pro_title" %s>', $show_fancyfilter_pro_title);384 printf('<input type="checkbox" class="fancyfil_apple-switch" id="show_fancyfilter_pro_title" name="fancyfilter_options[show_fancyfilter_pro_title]" value="show_fancyfilter_pro_title" %s>', esc_attr($show_fancyfilter_pro_title)); 295 385 296 386 ?> 297 <p class="filtersesdb"><?php echo esc_html__('Click the Switcher for Display Full Titile of the item','fancy-fi lter') ?></p>387 <p class="filtersesdb"><?php echo esc_html__('Click the Switcher for Display Full Titile of the item','fancy-fiter') ?></p> 298 388 </li> 299 389 </ul> … … 302 392 <ul class="fancydescrip"> 303 393 <li> 304 <p class="item_title"><?php echo esc_html__('Item background Color','fancy-fi lter') ?></p>394 <p class="item_title"><?php echo esc_html__('Item background Color','fancy-fiter') ?></p> 305 395 <?php 306 396 $el_item_bg_color = isset($options['el_item_bg_color']) ? $options['el_item_bg_color'] : '#e91e63'; 307 printf('<input type="text" name="fancyfilter_options[el_item_bg_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_item_bg_color); ?>308 <p class="filtersesdb"><?php echo esc_html__('Choose the Item Warpper background color','fancy-fi lter') ?></p>397 printf('<input type="text" name="fancyfilter_options[el_item_bg_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_item_bg_color)); ?> 398 <p class="filtersesdb"><?php echo esc_html__('Choose the Item Warpper background color','fancy-fiter') ?></p> 309 399 </li></ul> 310 400 </div> 311 401 <div class="fancyfilter-accordion_item"> 312 <p class="item_title"><?php echo esc_html__('Title Color','fancy-fi lter') ?></p>402 <p class="item_title"><?php echo esc_html__('Title Color','fancy-fiter') ?></p> 313 403 <?php 314 404 $el_title_color = isset($options['el_title_color']) ? $options['el_title_color'] : '#ccc'; 315 printf('<input type="text" name="fancyfilter_options[el_title_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_title_color);405 printf('<input type="text" name="fancyfilter_options[el_title_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_title_color)); 316 406 317 407 ?> … … 321 411 <ul class="fancydescrip"> 322 412 <li> 323 <p class="item_title"><?php echo esc_html__('Font Size(px) for Title','fancy-fi lter') ?> </p>413 <p class="item_title"><?php echo esc_html__('Font Size(px) for Title','fancy-fiter') ?> </p> 324 414 <?php 325 415 $el_ti_font = isset($options['el_ti_font']) ? $options['el_ti_font'] : '20'; 326 printf('<input type="number" name="fancyfilter_options[el_ti_font]" value="%s" >', $el_ti_font);416 printf('<input type="number" name="fancyfilter_options[el_ti_font]" value="%s" >', esc_attr($el_ti_font)); 327 417 328 418 329 419 ?> 330 420 </li><li> 331 <p class="item_title bbfgfgfg"><?php echo esc_html__('Font Weight for Title','fancy-fi lter') ?></p>421 <p class="item_title bbfgfgfg"><?php echo esc_html__('Font Weight for Title','fancy-fiter') ?></p> 332 422 <?php 333 423 $el_ti_font_w = isset($options['el_ti_font_w']) ? $options['el_ti_font_w'] : '600'; 334 printf('<input type="number" name="fancyfilter_options[el_ti_font_w]" value="%s" >', $el_ti_font_w);424 printf('<input type="number" name="fancyfilter_options[el_ti_font_w]" value="%s" >',esc_attr($el_ti_font_w)); 335 425 336 426 ?> … … 340 430 <ul class="fancydescrip"> 341 431 <li> 342 <p class="item_title"><?php echo esc_html__('Category Color','fancy-fi lter') ?></p>432 <p class="item_title"><?php echo esc_html__('Category Color','fancy-fiter') ?></p> 343 433 <?php 344 434 $el_cat_color = isset($options['el_cat_color']) ? $options['el_cat_color'] : '#ccc'; 345 printf('<input type="text" name="fancyfilter_options[el_cat_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_cat_color);435 printf('<input type="text" name="fancyfilter_options[el_cat_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_cat_color)); 346 436 347 437 ?> -
fancy-fiter/trunk/partials/FancyLinkPartial.php
r3145687 r3250371 1 1 <div class="fancyfilter-accordion active"> 2 2 <div class="fancyfilter-accordion_tab"> 3 <?php echo esc_html__('Icon Settings','fancy-fi lter') ?>3 <?php echo esc_html__('Icon Settings','fancy-fiter') ?> 4 4 </div> 5 5 <div class="fancyfilter-accordion_content"> … … 7 7 <ul class="fancydescrip"> 8 8 <li> 9 <p class="item_title"><?php echo esc_html__('Icon Color','fancy-fi lter') ?></p>9 <p class="item_title"><?php echo esc_html__('Icon Color','fancy-fiter') ?></p> 10 10 <?php 11 11 $el_zoom_color = isset($options['el_zoom_color']) ? $options['el_zoom_color'] : '#4cd48a'; 12 printf('<input type="text" name="fancyfilter_options[el_zoom_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_zoom_color);12 printf('<input type="text" name="fancyfilter_options[el_zoom_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_zoom_color)); 13 13 14 14 ?> 15 15 </li><li> 16 <p class="item_title"><?php echo esc_html__('Icon Background','fancy-fi lter') ?></p>16 <p class="item_title"><?php echo esc_html__('Icon Background','fancy-fiter') ?></p> 17 17 <?php 18 18 $el_zoom_bgcolor = isset($options['el_zoom_bgcolor']) ? $options['el_zoom_bgcolor'] : '#fff'; 19 printf('<input type="text" name="fancyfilter_options[el_zoom_bgcolor]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_zoom_bgcolor);19 printf('<input type="text" name="fancyfilter_options[el_zoom_bgcolor]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_zoom_bgcolor)); 20 20 21 21 ?> … … 25 25 <ul class="fancydescrip"> 26 26 <li> 27 <p class="item_title"><?php echo esc_html__('Icon hover Color','fancy-fi lter') ?></p>27 <p class="item_title"><?php echo esc_html__('Icon hover Color','fancy-fiter') ?></p> 28 28 <?php 29 29 $el_link_color = isset($options['el_link_color']) ? $options['el_link_color'] : '#000'; 30 printf('<input type="text" name="fancyfilter_options[el_link_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', $el_link_color);30 printf('<input type="text" name="fancyfilter_options[el_link_color]" value="%s" class="fancyfilter_color" data-alpha-enabled="true">', esc_attr($el_link_color)); 31 31 32 32 ?> 33 33 </li><li> 34 <p class="item_title"><?php echo esc_html__('Icon hover Background','fancy-fi lter') ?></p>34 <p class="item_title"><?php echo esc_html__('Icon hover Background','fancy-fiter') ?></p> 35 35 <?php 36 36 $el_link_bgcolor = isset($options['el_link_bgcolor']) ? $options['el_link_bgcolor'] : '#fff'; 37 printf('<input type="text" name="fancyfilter_options[el_link_bgcolor]" value="%s" class="fancyfilter_color" data-alpha-enabled="true" >', $el_link_bgcolor);37 printf('<input type="text" name="fancyfilter_options[el_link_bgcolor]" value="%s" class="fancyfilter_color" data-alpha-enabled="true" >', esc_attr($el_link_bgcolor)); 38 38 39 39 ?> -
fancy-fiter/trunk/uninstall.php
r3145687 r3250371 21 21 * 22 22 * @link https://sharabindu.com/ 23 * @since 2.0. 123 * @since 2.0.2 24 24 * 25 25 * @package fancyfilter_Masonry_Addon
Note: See TracChangeset
for help on using the changeset viewer.