Google analystics4 (copy) (copy)
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘G-7X38N6QS3M’); GContinue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘G-7X38N6QS3M’); GContinue reading
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘G-7X38N6QS3M’); GContinue reading
add_filter( ‘wpcode_code_snippets_table_columns’, function ( $columns ) { if ( isset( $columns[‘status’] ) ) { $status = $columns[‘status’]; unset( $columns[‘status’] ); $columns = array_slice( $columns, 0, 1, true ) + array( ‘status’ => $status ) + array_slice( $columns, 1, count( $columns…Continue reading
/** * Open the Oxygen Builder struture panel automatically when loaded. */ add_action( ‘oxygen_enqueue_ui_scripts’, function() { if ( defined( ‘SHOW_CT_BUILDER’ ) ) { ?> // Add the event listener to the DOM loaded document.addEventListener( ‘DOMContentLoaded’, () => { setTimeout(function ()…Continue reading
function current_year_shortcode() { return date(‘Y’); } add_shortcode(‘year’, ‘current_year_shortcode’);Continue reading
// Assuming this code is placed within your custom post template file // Get the current post ID $post_id = get_the_ID(); // Get the custom field value for a specific key $publication_year = get_post_meta($post_id, ‘publication_year’, true); // Check if the…Continue reading
//echo FrmFormsController::get_form_shortcode( array( ‘id’ => 9 ) ); $localFiles = array( ‘wpcf-local-file-1’ => ‘wpcf-file-1’, ‘wpcf-local-file-2’ => ‘wpcf-file-2’, ‘wpcf-local-file-3’ => ‘wpcf-file-3’, ‘wpcf-local-file-4’ => ‘wpcf-file-4’, ‘wpcf-local-file-5’ => ‘wpcf-file-5’, ‘wpcf-local-file-6’ => ‘wpcf-file-6’, ‘wpcf-local-file-7’ => ‘wpcf-file-7’, ‘wpcf-local-file-8’ => ‘wpcf-file-8’, ‘wpcf-local-file-9’ => ‘wpcf-file-9’, ‘wpcf-local-file-10’ =>…Continue reading
/** * Run shortcodes on HTML field content * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-html-field/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_html_field_shortcodes( $field, $field_atts, $form_data ) { if ( ! empty( $field[ ‘code’ ] ) ) { $field[ ‘code’ ]…Continue reading