Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

Show the Venue Photo Above the Venue Details

Venue pages have no built-in featured image output. This snippet prints the venue photo above the…

Back to Top

Simple back to top button. When used as shortcode, recommended to be placed at the end…

Remove Location Taxonomy

// Add custom Bulk Action to the Pages view function custom_add_bulk_action() { global $post_type; if ($post_type…

Secure Admin Menu

Use with caution. Remove unnecessary admin menus and redirect direct access to those pages.

On Scroll Elementor show/hide element

Note: You need to set the id for the button or element to "#scrolling-button".

JP_Wp_Snippets

All different snippets I have been using

Untitled Snippet

wordpress $ cd wp-content wp-content $ cd plugins plugins $ mkdir plugin-name plugins $ cd plugin-name…

1 … 115 116 117 118 119 … 243