Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…

<10

Disable Emojis

/** * Disable the emojis in WordPress. */ add_action( 'init', function () { remove_action( 'wp_head', 'print_emoji_detection_script',…

<10

Current Year

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

<10

Remove Unused JS

/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…

<10

Explicit Fixed Width and Height

add_filter( 'the_content', 'add_image_dimensions' ); function add_image_dimensions( $content ) { preg_match_all( '/]+>/i', $content, $images); if (count($images) <…

<10

footer

footer description

Allow Templatera Templates to be used for Dynamic Templates

In Total 5.9 with the introduction of the built in Dynamic Template post type we removed…

Login Form Styling

Custom styling for login forms

<10

Google Tag Manager

Google tag manager snippet (body)

Google AdSense Ad blocking recovery (Head Section)

Google AdSense Ad blocking recovery (Head Section) Snippet

1 37 38 39 40 41 92