/** * Plugin Name: Gravity Flow Step CPT * Description: Registers post-type `gf_workflow_step` to mirror each Gravity Flow step as a post for reporting * Author: Next Step Consulting * Version: 1.0 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘init’,…Continue reading
function eva_custom_navigation_links() { // Cultura → solo flecha siguiente if ( is_page(‘cultura’) ) { echo ‘ Siguiente » ‘; } // Herramientas → anterior y siguiente personalizados if ( is_page(‘herramientas’) ) { echo ‘ « Anterior | Siguiente » ‘;…Continue reading
add_shortcode(‘entry-count’,’my_entry_count’); function my_entry_count($atts){ global $user_ID; $ids = FrmDb::get_col( ‘frm_items’, array(‘user_id’ => $user_ID)); return count($ids); }Continue reading
/** * After enabling this snippet, go to Settings > Permalinks and click “Save Changes” * Configure the $enabled_post_types array to specify which post types should support .md URLs */ $enabled_post_types = [ ‘post’, ‘page’ ]; // Add rewrite rule…Continue reading
add_action(‘plugins_loaded’, function() { if (!defined(‘CHARITABLE_DEBUG’)) { define(‘CHARITABLE_DEBUG’, true); } });Continue reading
// Snippet Name: Jet Finder Aircraft Details Template function jet_finder_template_include($template) { if (get_query_var(‘aircraft_tail’)) { $new_template = get_stylesheet_directory() . ‘/jet-finder/templates/jet-finder-aircraft-details.php’; if (file_exists($new_template)) { return $new_template; } } return $template; } add_filter(‘template_include’, ‘jet_finder_template_include’);Continue reading
wp_register_script(‘jet-finder-script’, ”, array(‘jet-finder-jquery’), null, true); function jet_finder_shortcode() { // Deregister the built-in jQuery to avoid conflicts wp_deregister_script(‘jquery’); nocache_headers(); // Register and enqueue our own jQuery wp_register_script(‘jet-finder-jquery’, ‘https://code.jquery.com/jquery-3.6.0.min.js’, array(), null, true); wp_enqueue_script(‘jet-finder-jquery’); // Enqueue our CSS file wp_enqueue_style( ‘jet-finder-styles’, ‘/wp-content/themes/jetmembership/jet-finder/css/jet-finder.css’, array(),…Continue reading
Employee ID Verification Employee ID Verification Employee ID VerifyContinue reading
add_filter(‘wp_headers’, function($headers) { unset($headers[‘X-Robots-Tag’]); // remove noindex header return $headers; });Continue reading
add_filter(‘wp_headers’, function($headers) { unset($headers[‘X-Robots-Tag’]); // remove noindex header return $headers; });Continue reading