Search snippet
Results
-
code snippet for editing your WP search results
January 10, 2020
Quick helpful code snippet for editing your WP search results // Edit what items are displayed in WP search results function searchfilter($query) { if ($query->is_search && !is_admin() ) { $query->set(‘post_type’,array(‘post’,’page’)); }…
Cat: PHP -
Beginner’s Guide to Fixing Your Hacked WordPress Site
December 29, 2019
Read the article what to do when you are hacked.
-
BeaverBuilder module enabler
December 26, 2019
Put this in functions.php and see which modules you are using.
Cat: PHP, Beaver -
Footer reveal
December 26, 2019
When scrolling down reveal footer from underneath the content.
Cat: CSS -
You want to make SKUs searchable
December 26, 2019
Index SKUs You want to make SKUs searchable. They’re not, by default, but that’s easy to fix. Find the “Custom fields to index” setting on the Indexing tab on Relevanssi settings page and either choose to index all custom fields, or choose “Some” and a…
Cat: plugin, woocommerce