Add Search Icon After Menu using Beaver Themer with the Beaver Theme
…function add_shortcode( ‘bb_search’,’bb_search_shortcode’ ); /* Add Search via shortcode */ function bb_search_shortcode() { ob_start(); FLTheme::nav_search(); return ob_get_clean(); } Create the Header in Beaver Themer Create a new header theme layout…
Read MoreAdd a required checkbox field in WooCommerce checkout page
…(WC()->cart->get_cart() as $cart_item_key => $values) { $cart_product = $values[‘data’]; $cart_ids[] = $cart_product->id; } // If one of the special products are in the cart, return true. if (!empty(array_intersect($ids, $cart_ids))) {…
Read MoreAdd Navigation Arrows in WooCommerce Product Gallery Slider
…Neil Gowran Use below – other code in comments had curly tick marks wp_enqueue_style( ‘font-awesome-free‘, ‘//use.fontawesome.com/releases/v5.6.1/css/all.css’ ); Neil Gowran try wp_enqueue_style( ‘font-awesome-free‘, ‘//use.fontawesome.com/releases/v5.6.1/css/all.css’ ); Neil Gowran wp_enqueue_style( ‘font-awesome-free‘, ‘//use.fontawesome.com/releases/v5.6.1/css/all.css’ );…
Read MoreDownload and Install Lastest WordPress with wp-cli on OSX
…blank database mysql -u [USERNAME] -p[PASSWORD] -e “create database [DATABASE_NAME];” Download the latest WordPress wp core download –version=4.0-beta2 Create a Database wp-config.php file wp core config –dbname=”DBNAME” –dbuser=”DBUSER” –dbpass=“DBPASSWORD” Finish…
Read MoreAdd Lets Encrypt SSL Certs on ServerPilot Free Plan
…piwik.d -rw-r–r– 1 root root 1877 Sep 3 00:05 piwik.ssl.conf -rw-r–r– 1 root root 1011 Sep 3 00:07 test.conf drwx–x–x 2 root root 4096 Sep 3 00:07 test.d -rw-r–r– 1…
Read MoreUse 7G WAF Firewall with OpenLiteSpeed on a RunCloud instance
…RewriteCond %{REQUEST_URI} (/)(awstats|(c99|php|web)shell|document_root|error_log|listinfo|muieblack|remoteview|site((.){0,2})copier|sqlpatch|sux0r) [NC,OR] RewriteCond %{REQUEST_URI} (/)((php|web)?shell|crossdomain|fileditor|locus7|nstview|php(get|remoteview|writer)|r57|remview|sshphp|storm7|webadmin)(.*)(\.|\() [NC,OR] RewriteCond %{REQUEST_URI} (/)(author-panel|class|database|(db|mysql)-?admin|filemanager|htdocs|httpdocs|https?|mailman|mailto|msoffice|_?php-my-admin(.*)|tmp|undefined|usage|var|vhosts|webmaster|www)(/) [NC,OR] RewriteCond %{REQUEST_URI} (base64_(en|de)code|benchmark|child_terminate|curl_exec|e?chr|eval|function|fwrite|(f|p)open|html|leak|passthru|p?fsockopen|phpinfo|posix_(kill|mkfifo|setpgid|setsid|setuid)|proc_(close|get_status|nice|open|terminate)|(shell_)?exec|system)(.*)(\()(.*)(\)) [NC,OR] RewriteCond %{REQUEST_URI} (/)(^$|00.temp00|0day|3index|3xp|70bex?|admin_events|bkht|(php|web)?shell|c99|config(\.)?bak|curltest|db|dompdf|filenetworks|hmei7|index\.php/index\.php/index|jahat|kcrew|keywordspy|libsoft|marg|mobiquo|mysql|nessus|php-?info|racrew|sql|vuln|(web-?|wp-)?(conf\b|config(uration)?)|xertive)(\.php) [NC,OR] RewriteCond %{REQUEST_URI} (\.)(7z|ab4|ace|afm|ashx|aspx?|bash|ba?k?|bin|bz2|cfg|cfml?|cgi|conf\b|config|ctl|dat|db|dist|dll|eml|engine|env|et2|exe|fec|fla|git|hg|inc|ini|inv|jsp|log|lqd|make|mbf|mdb|mmw|mny|module|old|one|orig|out|passwd|pdb|phtml|pl|profile|psd|pst|ptdb|pwd|py|qbb|qdf|rar|rdf|save|sdb|sql|sh|soa|svn|swf|swl|swo|swp|stx|tar|tax|tgz|theme|tls|tmd|wow|xtmpl|ya?ml|zlib)$ [NC] # RewriteRule .* – [F,L] RewriteRule…
Read MoreSet up WooCommerce shop page with Search and Filter Pro and Beaver Themer
…right column for the products. Search & Filter Pro Shortcode ID from Search & Filter Pro settings The HTML module contents will just be the Search & Filter ID…
Read MoreAdd another Search Form to a No Results Page in Genesis
…with no sidebar which had contained the search widget it would be nice to have the option to quickly search again. Genesis no results page Make a Child Theme Search…
Read MoreInstalling Gulp on macOS Ventura – Intro guide to Gulp
…-gn $USER) /Users/{username}/.config Just run the command below to fix – change {username} to your username sans curly braces. sudo chown -R $USER:$(id -gn $USER) /Users/{username}/.config Save Dependencies Once we…
Read MoreChange your WordPress site to serve pages over HTTPS/SSL
…https://$server_name$request_uri; } server { listen 443 ssl; server_name my.domain.com; [….] } *Source Fixing the Broken Padlock on Pages Some of your pages will not be served 100% over HTTPS due…
Read More