- http://www.codanada.com -- Coming soon!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* File: wp-config.php file. | |
* | |
* Take note of the comment line below. | |
* This code should be placed above that line. | |
* | |
*/ | |
define('WP_HOME', 'http://tmp.example.com'); | |
define('WP_SITEURL', 'http://tmp.example.com'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
// Remove Font Awesome reference from Beaver Builder Theme | |
// --------------------------------------------------------- | |
add_action( 'wp_enqueue_scripts', function(){ | |
wp_dequeue_style( 'font-awesome' ); | |
wp_deregister_style( 'font-awesome' ); | |
}, 100 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 768px){ | |
/* 1. Float left all cols */ | |
.high-octane-icons-row .fl-col-group .fl-col-small{ | |
clear: none; | |
float: left; | |
} | |
/* 2nd Elem -- clear none */ | |
.high-octane-icons-row .fl-col-group .fl-col-small:nth-child(2){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="fl-builder-content fl-builder-content-1003" data-post-id="1003"><div class="fl-row fl-row-fixed-width fl-row-bg-none fl-node-58f60c7d3a748 bb-view-row" data-node="58f60c7d3a748"> | |
<div class="fl-row-content-wrap"> | |
<div class="fl-row-content fl-row-fixed-width fl-node-content"> | |
<div class="fl-col-group fl-node-59668e8d05571" data-node="59668e8d05571"> | |
<div class="fl-col fl-node-59668e8d05659" data-node="59668e8d05659"> | |
<div class="fl-col-content fl-node-content"> | |
<div class="fl-module fl-module-heading fl-node-59668e8d054ce bb-view-headline" data-node="59668e8d054ce"> | |
<div class="fl-module-content fl-node-content"> | |
<h3 class="fl-heading"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'customize_controls_print_scripts', function(){ | |
?> | |
<style id='no-ace-editor-style'> | |
#customize-control-fl-js-code textarea, | |
#customize-control-fl-head-code textarea, | |
#customize-control-fl-header-code textarea, | |
#customize-control-fl-footer-code textarea{ | |
display: block !important; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error Message: | |
# | |
# Access to Font at '...' from origin '...' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header | |
# is present on the requested resource. Origin '...' is therefore not allowed access. | |
# | |
# -------------------------------------- | |
<IfModule mod_headers.c> | |
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$"> | |
Header set Access-Control-Allow-Origin "*" | |
</FilesMatch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fl_builder_rewrite_cdn_urls( $css ) { | |
return str_ireplace( 'example.com', 'example-5782.kxcdn.com', $css ); | |
} | |
add_filter( 'fl_builder_render_css', 'fl_builder_rewrite_cdn_urls' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( !function_exists('bblocal_post_schema_meta')){ | |
// Copied from FLTheme::post_schema_meta(); | |
// This function is invoked at the last line of this file. | |
function bblocal_post_schema_meta() | |
{ | |
// General Schema Meta | |
echo '<meta itemscope itemprop="mainEntityOfPage" itemid="' . get_permalink() . '" />'; | |
echo '<meta itemprop="datePublished" content="' . get_the_time('Y-m-d') . '" />'; | |
echo '<meta itemprop="dateModified" content="' . get_the_modified_date('Y-m-d') . '" />'; |
OlderNewer