{"id":120010,"date":"2020-04-16T08:53:44","date_gmt":"2020-04-16T08:53:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/avada-search-placeholder\/"},"modified":"2022-12-18T07:37:35","modified_gmt":"2022-12-18T07:37:35","slug":"search-placeholder-avada","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/search-placeholder-avada\/","author":14816408,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0.0","tested":"6.1.10","requires":"5.3.2","requires_php":"7.2.18","requires_plugins":"","header_name":"Search Placeholder Avada","header_author":"caught my eye","header_description":"Allows you to customise the search box placeholder text for Avada.","assets_banners_color":"9a7862","last_updated":"2022-12-18 07:37:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/marklchaves","header_plugin_uri":"https:\/\/github.com\/marklchaves\/search-placeholder-avada","header_author_uri":"https:\/\/caughtmyeye.cc","rating":5,"author_block_rating":0,"active_installs":100,"downloads":3441,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mlchaves","date":"2020-04-16 09:07:42"},"1.1.0":{"tag":"1.1.0","author":"mlchaves","date":"2021-07-24 23:56:05"},"2.0.0":{"tag":"2.0.0","author":"mlchaves","date":"2022-12-18 07:37:35"}},"upgrade_notice":{"1.1.0":"<ul>\n<li>Will now clean up the sole DB option for this plugin on uninstall.<\/li>\n<\/ul>","1.0.0":"<p>None<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2284746,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2284746,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1554x500.jpg":{"filename":"banner-1554x500.jpg","revision":2284746,"resolution":"1554x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2284746,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","2.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2442924,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2442924,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2442924,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2442924,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2442924,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Create your custom search placeholder.","2":"You set the placeholder once and it displays in every search box.","3":"Custom search placeholder text closeup.","4":"Navigate to Settings &gt; Search Placeholder Avada.","5":"Plugin option settings page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[152960,1431,4887,944,183695],"plugin_category":[],"plugin_contributors":[182726],"plugin_business_model":[],"class_list":["post-120010","plugin","type-plugin","status-publish","hentry","plugin_tags-avada","plugin_tags-header","plugin_tags-placeholder","plugin_tags-search","plugin_tags-themefusion","plugin_contributors-mlchaves","plugin_committers-mlchaves"],"banners":{"banner":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/banner-772x250.jpg?rev=2284746","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/icon-128x128.png?rev=2284746","icon_2x":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/icon-256x256.png?rev=2284746","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/screenshot-1.png?rev=2442924","caption":"Create your custom search placeholder."},{"src":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/screenshot-2.png?rev=2442924","caption":"You set the placeholder once and it displays in every search box."},{"src":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/screenshot-3.png?rev=2442924","caption":"Custom search placeholder text closeup."},{"src":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/screenshot-4.png?rev=2442924","caption":"Navigate to Settings &gt; Search Placeholder Avada."},{"src":"https:\/\/ps.w.org\/search-placeholder-avada\/assets\/screenshot-5.png?rev=2442924","caption":"Plugin option settings page."}],"raw_content":"<!--section=description-->\n<p><em>Customise your search placeholder text!<\/em><\/p>\n\n<p>Search Placeholder Avada allows you to add your own custom placeholder text for Avada's search input box.<\/p>\n\n<p>There's new support for all themes.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Originally built for Avada by ThemeFusion, you can now use this on any theme.<\/p>\n\n<p>With version 2.0, there's built-in support for Avada and WordPress default themes. You can also use a PHP hook (filter) to add any CSS selector you need.<\/p>\n\n<p>The plugin settings are under <strong>Settings &gt; Search Placeholder Avada<\/strong>.<\/p>\n\n<p><strong>Example Filter for Supporting Any Theme<\/strong><\/p>\n\n<pre><code>\/** Search Placeholder Avada: filter for your own CSS selectors. Separate selectors with a comma. *\/\n\nadd_filter( 'search_placeholder_css_selectors', function() {\n        return \".this-is-a-test-class, #this-is-a-test-id, .another-class\";\n    }\n);\n<\/code><\/pre>\n\n<p>Tweak the filter for your needs. Then, add it to your child theme's <code>functions.php<\/code> file or use a code snippets plugin that supports adding PHP hooks.<\/p>\n\n<h3>Disclaimer<\/h3>\n\n<p>The Search Placeholder Avada plugin and its author are not affiliated with Avada or ThemeFusion in any way.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the contents of the plugin zip file to the <code>\/wp-content\/plugins\/search-placeholder-avada<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' page in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='will%20this%20plugin%20work%20for%20other%20themes%3F'><h3>Will this plugin work for other themes?<\/h3><\/dt>\n<dd><p>Yes!<\/p>\n\n<p>Version 2.0.0 has built-in support for Avada and WordPress default themes.<\/p>\n\n<p>It also has new PHP filter hook for you to add any CSS selectors. That means Search Placeholder Avada can work for any theme :-)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added built-in support for WordPress' Twenty Twenty themes.<\/li>\n<li>Added filter for custom CSS selectors for any search input field.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added code to delete placeholder option from the DB on plugin uninstall.<\/li>\n<li>Tested on WordPress 5.5 and Avada 7.0.2.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release. Tested on Avada 6.2.1 and 6.2.2.<\/li>\n<\/ul>","raw_excerpt":"Customise the search box placeholder text for the Avada theme.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/120010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=120010"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mlchaves"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=120010"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=120010"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=120010"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=120010"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=120010"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=120010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}