Changing the Customizer Values & Presets for the Beaver Builder Theme

beaver-theme-preset-default

…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 More

Set up Virtual Hosts on macOS Big Sur 11 in Apache

Macos Apache Vhosts

…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 More

Put 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