Search results for: admin
Add Custom Taxonomy to Woocommerce Single Product Page
add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…
Add Custom Taxonomy - Multiple Vendor Taxonomy
Allows the vendor to select multiple taxonomies
Add Custom Taxonomy - Single Vendor Taxonomy
It'll only allow the vendor to select one custom taxonomy term at a time
Decrease Auto-Save Interval
Change post editor auto-save to 5 minutes instead of 1.
Limit the Number of Post Revisions
Reduce Database size by limiting post revisions to just 20 per post.
Apollo Website Tracking
function add_apollo_tracker() { ?>
Set a minimum, and maximum price for products
Set a minimum, and maximum price for products
Home page
home page schema
Remove Gift Aid "Title" Field From Donation Forms
add_filter( 'charitable_default_donation_fields', function( $fields ) { if ( isset( $fields['title'] ) ) { // Remove from…
Untitled Snippet
increase upload memory
increase upload memory
upload_max_filesize = 256M post_max_size = 256M max_execution_time = 300 />
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); } }…