This file contains hidden or 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="boldgrid-section"> | |
<div class="container"> | |
<div class="row" style="padding-top: 50px; padding-bottom: 50px;"> | |
<div class="col-md-4 col-sm-12 col-xs-12" style="box-shadow: #191919 0px 0px 0px 0px; border: 0px solid #a9a9a9;"> | |
<h4 class="">Heading 1</h4> | |
<h4 class=""> </h4> | |
<p class="">Nov 28, 2021</p> | |
<p class="">one two three four five six seven eight nine ten</p> | |
<p class="" style="text-align: left;"><a class="button-secondary" href="#">Read More</a></p> |
This file contains hidden or 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
// Invoking core hook for plugins to hook first in place on the body content. Ref: https://core.trac.wordpress.org/ticket/46679. | |
do_action( 'wp_body_open' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | |
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'crio' ); ?></a> | |
<?php do_action( 'boldgrid_header_before' ); ?> | |
<div <?php BoldGrid::add_class( 'site_header', array( 'bgtfw-header', 'site-header' ) ); ?>> |
This file contains hidden or 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 | |
/** | |
* The template for displaying search forms in the BoldGrid theme Framework | |
* | |
* @package Prime | |
*/ | |
do_action( 'boldgrid_search_form' ); |
This file contains hidden or 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
<p>Copyright © <script>document.write(new Date().getFullYear())</script> Your Name All Rights Reserved</p> |
This file contains hidden or 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="boldgrid-section" data-image-url="https://grepre5.dream.press/wp-content/uploads/2022/04/pexels-belle-co-5169050-scaled.jpg" style="background-image: linear-gradient(to left, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)), url('https://grepre5.dream.press/wp-content/uploads/2022/04/pexels-belle-co-5169050-scaled.jpg'); background-size: cover; background-position: 50% 46%;" data-bg-overlaycolor="rgba(255,255,255,0.76)"> | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-md-2 col-sm-12 col-xs-12 col-lg-2"> | |
<div class="boldgrid-component-logo boldgrid-shortcode" data-imhwpb-draggable="true" style="margin: 15px 0px;"> | |
[boldgrid_component type="wp_boldgrid_component_logo" opts="%7B%22widget-boldgrid_component_logo%5B%5D%5Bbgc_logo_switch%5D%22%3A%22site_logo%22%2C%22crio_premium_update_site_logo_nonce%22%3A%22bb1136c255%22%2C%22_wp_http_referer%22%3A%22%2Fwp-admin%2Fadmin-ajax.php%22%2C%22crio-premium-site-logo-preview%22%3A%22368%22%2C%22widget-boldgrid_component_logo%5B%5D%5Bbgc_ |
This file contains hidden or 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( 'woocommerce_thankyou', 'wc_auto_complete_paid_order' ); | |
function wc_auto_complete_paid_order( $order_id ) { | |
if ( ! $order_id ) { | |
return; | |
} | |
$order = wc_get_order( $order_id ); | |
if( $order->has_status('processing') ) { |
This file contains hidden or 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
.palette-primary .h1, .palette-primary .h2, .palette-primary .h3, .palette-primary .h4, .palette-primary .h5, .palette-primary .h6, .palette-primary h1, .palette-primary h2, .palette-primary h3, .palette-primary h4, .palette-primary h5, .palette-primary h6 | |
{ | |
word-wrap: normal; | |
hyphens: manual; | |
-webkit-hyphens: manual; | |
} |
This file contains hidden or 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
// top message | |
add_action('all_admin_notices','top_message'); | |
function top_message() | |
{ | |
if(strpos($_SERVER['REQUEST_URI'],'post-new')>0 || strpos($_SERVER['REQUEST_URI'],'post.php')>0) | |
{ | |
echo (" | |
<div style=' background:#d3d3d3; width:95%; font-weight:bold; border:2px solid #AAA; |
This file contains hidden or 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 | |
// Filter hook | |
add_filter('the_content',array('sby2_fix_wordpress','fix_spelling')); | |
class sby2_fix_wordpress | |
{ | |
function fix_spelling($content) | |
{ |
This file contains hidden or 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 Tools admin menu item for everyone other than Administrator */ | |
add_action( 'admin_init', 'remove_menu_pages_for_all_except_admin' ); | |
function remove_menu_pages_for_all_except_admin() { | |
global $user_ID; | |
if ( !current_user_can('administrator') ) { | |
remove_menu_page('tools.php', 'tools.php'); |
OlderNewer