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
[data-id="_BZXXz"] div.gtranslate_wrapper{ | |
position: absolute; | |
top: 12px; | |
} | |
[data-id="_BZXXz"] div.entry-content{ | |
max-height: 20px; | |
display: block; | |
} |
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 | |
add_filter( 'wpseo_breadcrumb_links', 'fix_care_plan_bc_path' ); | |
/** | |
* Custom breadcrumb paths using Yoast SEO to fix care plan breadcrumb paths. | |
* | |
* @param [array] $links default param. | |
* @return [array] $links edited links path. | |
*/ |
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
<style> | |
body{ | |
--content-vertical-spacing: 0px; | |
} | |
.tribe-events-calendar-latest-past__event-date-tag-year, | |
.tribe-events-calendar-latest-past__event-date-tag-month { | |
background: var(--buttonInitialColor) !important; | |
color: #ffffff !important; | |
font-weight: bold !important; | |
} |
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('woocommerce_product_meta_start',function(){ | |
global $product; | |
echo wc_display_product_attributes( $product ); | |
}); |
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 id="gform_123_vars">. | |
<script type="module" | |
data-xq-forms="gfrom_123"//ID | |
data-xq-enc="html" | |
data-xq-format="raw" | |
data-xq-action="https://our.server.coml/t/form/encryptedmail" | |
data-xq-api="9-4e10b813ecc8-a9a316bc-d5694ec-a9ecd26c77c6" | |
data-xq-success="callbackfunction()"> | |
</script> | |
<script> |
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 | |
add_action('save_post', 'relate_post_to_thumb'); | |
function relate_post_to_thumb($post_id) { | |
//does this post have a URL / thumbnail | |
$thumb_id = get_post_thumbnail_id($post_id); | |
//if thumb found relate to post | |
if($thumb_id){ |
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_filter( 'wp_insert_post_data' , 'filter_post_data' , '99', 2 ); | |
function filter_post_data( $data , $postarr ) { | |
// Change post title | |
print_r($data); | |
print_r($postarr); | |
die(); | |
} |
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 | |
/* | |
* The template for displaying all single posts | |
* | |
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post | |
* | |
* @package Blocksy | |
*/ | |
if (have_posts()) { |
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 setNoDiviCheck(){ | |
return false; | |
} | |
add_filter( 'mrkwp_gfwp_test_divi', 'setNoDiviCheck' ); |