Changing the Customizer Values & Presets for the Beaver Builder Theme
…uncommenting. $wp_customize->remove_section( ‘fl-presets’ ); $wp_customize->remove_panel( ‘fl-general’ ); $wp_customize->remove_section( ‘fl-layout’ ); $wp_customize->remove_section( ‘fl-body-bg’ ); $wp_customize->remove_section( ‘fl-accent-color’ ); $wp_customize->remove_section( ‘fl-heading-font’ ); $wp_customize->remove_section( ‘fl-body-text’ ); $wp_customize->remove_panel( ‘fl-header’ ); $wp_customize->remove_section( ‘fl-topbar-layout’ ); $wp_customize->remove_section( ‘fl-topbar-style’…
Read MoreSet up Virtual Hosts on macOS Big Sur 11 in Apache
…to create your new virtual host: <VirtualHost *:80> ServerAdmin [email protected].com DocumentRoot “/usr/docs/dummy-host.example.com” ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog “/private/var/log/apache2/dummy-host.example.com-error_log” CustomLog “/private/var/log/apache2/dummy-host.example.com-access_log” common </VirtualHost> We can take this example and extend on…
Read MoreChange the Search Field Default Text in Genesis WordPress Theme
You can change the default “Search this Website…” text in the Search bar field in a Genesis WordPress theme by using a filter added to your functions.php file. //Change search…
Read MoreCreate an FAQ Page with Show and Hide Questions and Answers using jQuery
…code snippet at the end. The CSS supplied is very basic to get the page started. What jQuery do I need? Include the latest jQuery <script type=”text/javascript” src=”//code.jquery.com/jquery-3.6.0.min.js”></script> If you…
Read MoreCreate Custom Post Types in Genesis Child Theme in WordPress
…’Tax Liens’), ‘add_new_item’ => __(‘Add new Tax Lien’), ‘edit_item’ => __(‘Edit Tax Lien’), ‘new_item’ => __(‘New Tax Lien’), ‘view_item’ => __(‘View Tax Lien’), ‘search_items’ => __(‘Search in Tax Liens’), ‘not_found’…
Read MoreSearch for multiple IP addresses in webserver log
To search for an IP address in a server log, grep is a tool to do it. To search for a single IP address, you need to know where the…
Read MoreSend command line server emails with Postfix on a Ubuntu Server 22.04
…questions. dpkg-reconfigure postfix Configuration: Internet Site System mail name: [server.example.com] Root and postmaster mail recipient: [blank] Destinations to accept mail for: server.example.com, server, localhost.example.com, localhost Force synchronous updates on mail…
Read MoreHow to Make Images Scale for Responsive Web Design
…image, assign the CSS rule max-width that targets the image as a percentage relative width value like so: img {max-width:100%} What this will do is make the image display 100%…
Read MoreHiding a WordPress Development Site from Googles Search Engine Index
…username and password and looks like this… password:$apr1$7qAwQvuT$cf/GEkKrZ8U5qZCxYIBFK0 The above generates the user/password combo of password/password – nice and easy for us but stops Google indexing. You can get the…
Read MorePut Google Experiment Code Higher in the Header in WordPress
…is_page(4164) ) { ?> <!– Google Analytics Content Experiment code –> <script>function utmx_section(){}function utmx(){}(function(){var k=’54437798-4′,d=document,l=d.location,c=d.cookie; if(l.search.indexOf(‘utm_expid=’+k)>0)return; function f(n){if(c){var i=c.indexOf(n+’=’);if(i>-1){var j=c. indexOf(‘;’,i);return escape(c.substring(i+n.length+1,j<0?c. length:j))}}}var x=f(‘__utmx’),xx=f(‘__utmxx’),h=l.hash;d.write( ‘<sc’+’ript src=”‘+’http’+(l.protocol==’https:’?’s://ssl’: ‘://www‘)+’.google-analytics.com/ga_exp.js?’+’utmxkey=’+k+ ‘&utmx=’+(x?x:”)+’&utmxx=’+(xx?xx:”)+’&utmxtime=’+new Date(). valueOf()+(h?’&utmxhash=’+escape(h.substr(1)):”)+…
Read More