Whitelist Callback Functions for use in Theme Elements

Various elements in the Total theme allow you to select a callback function for the output…

Remove the Header Menu Underline on Hover

If you enable the Header menu underline it will display both on active items and on…

Custom Social Share Email Subject

If you wish to modify the email subject text when clicking the social share email icon…

Show Left Sidebar Before Content on Mobile

By default the sidebar always displays below the content on mobile. This code will allow you…

Override Header Logo with Custom SVG

While you can select an SVG image from the customizer for your header logo if you…

Disable Dynamic Template on the Homepage/Front-page

The following snippet can be used to remove the dynamic template assigned to all pages from…

Genesis theme - use block editor in widgets

//* Genesis Enable the block-based widget editor add_filter( 'use_widgets_block_editor', '__return_true' );

Convert Uploaded Images to WebP Format Automatically

Automatically convert uploaded images to WebP format.

Hide the ‘Screen Options’ Tab on admin bar

Remove the Screen Options menu at the top of the admin bar.

Remove Post Title from Yoast Breadcrumbs

This snippet removes the post title from Yoast SEO breadcrumbs

Robertson

Taylor Lunemann
<10

Auto Vote 5 sao cho bài viết mới

function auto_vote_5_stars_on_publish($ID, $post) { if ($post->post_status === 'publish') { if (function_exists('kk_star_ratings_insert')) { kk_star_ratings_insert("5", $ID); } }…

1 134 135 136 137 138 209