Add SEO-friendly Breadcrumbs (copy)

// You can also use this snippet as a shortcode for more control. global $post; if ( ! is_home() ) { echo ‘ ‘; echo ‘Home / ‘; if ( is_category() || is_single() ) { the_category( ‘ / ‘ );…Continue reading

Slots is LIVE (copy) (copy)

!function(e,t,a,n,c,s){e.affScriptCount = e.affScriptCount == undefined ? 0 : e.affScriptCount+1;if(e.affScriptUrl === undefined){e.affScriptUrl = {};}e.affScriptUrl[e.affScriptCount] = n;s = s + “_” + e.affScriptCount;e.bcAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments),e[c].u=e[c].u||n};var i=t.createElement(a),o=t.getElementsByTagName(a)[0];i.async=!0,i.src=n+”analytics/banner.js”,i.id=s,!t.getElementById(s)&&o.parentNode.insertBefore(i,o)}(window,document,”script”,”https://goldrushaffiliates.co.za/global/”,”ba”,”bafTrSc”),ba(“_setUrl”,”https://goldrushaffiliates.co.za/global/”),ba(“_setAccount”,892771),ba(“_mId”,206151);Continue reading

Slots is LIVE (copy)

!function(e,t,a,n,c,s){e.affScriptCount = e.affScriptCount == undefined ? 0 : e.affScriptCount+1;if(e.affScriptUrl === undefined){e.affScriptUrl = {};}e.affScriptUrl[e.affScriptCount] = n;s = s + “_” + e.affScriptCount;e.bcAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments),e[c].u=e[c].u||n};var i=t.createElement(a),o=t.getElementsByTagName(a)[0];i.async=!0,i.src=n+”analytics/banner.js”,i.id=s,!t.getElementById(s)&&o.parentNode.insertBefore(i,o)}(window,document,”script”,”https://goldrushaffiliates.co.za/global/”,”ba”,”bafTrSc”),ba(“_setUrl”,”https://goldrushaffiliates.co.za/global/”),ba(“_setAccount”,892771),ba(“_mId”,206151);Continue reading

Add SEO-friendly Breadcrumbs

// You can also use this snippet as a shortcode for more control. global $post; if ( ! is_home() ) { echo ‘ ‘; echo ‘Home / ‘; if ( is_category() || is_single() ) { the_category( ‘ / ‘ );…Continue reading

RESOURCE POST | Download to Form Submit (HTML/JS)

function get_file( the_file ) { /*sendGA4Event(‘Downloads’, ‘resource_download’, { ‘resource_type’: ‘ebook’, ‘file_name’: the_file });*/ gtag(‘event’, ‘file_download’, { ‘file_name’: ‘example_document.pdf’, ‘file_type’: ‘PDF’ }); //alert(“Hello there! Ignore This. Kim is Testing.”); document.getElementById(‘field_cbh7u’).value = the_file; //alert(“Hello there! Ignore This. Kim is Testing. 2”); document.getElementById(‘form_85a93’).submit();…Continue reading

CSS Formatting

add_action( ‘wp_head’, function () { ?> /* GLOBAL START*/ /* Change Star Icon Color for JetReviews Plugin */ .jet-reviews-stars-field .jet-reviews-stars–filled i { color: #00CE7C !important; } /* Fix Double Search bar and x */ input[type=”search”]::-webkit-search-decoration, input[type=”search”]::-webkit-search-cancel-button, input[type=”search”]::-webkit-search-results-button, input[type=”search”]::-webkit-search-results-decoration { -webkit-appearance:none;…Continue reading

Hide Tickets for members

function my_hide_ticket_by_taxonomy_role( $content ) { if ( is_tax( ‘tribe_events_cat’, ‘301’ ) && ( current_user_can( ‘member_core’ ) || current_user_can( ‘member_writer’ ) ) ) { // Remove the event ticket form $content = preg_replace( ‘//is’, ”, $content ); } return $content; }…Continue reading