WordPress
October 15, 2021

Adding Custom Meta Fields to Taxonomies in WordPress

For add Custom Meta Field in taxonomy use following code in your current themes functions.php file.


term_id;

// retrieve the existing value(s) for this meta field. This returns an array
$term_meta = get_term_meta( $term_id, ‘custom_term_meta’, true ); ?>

    term_id, ‘custom_term_meta’, true);
    if(!empty($custom_term_meta)) { ?>


Related Post


How to Hide Related Videos in YouTube Embeds

When an embedded YouTube video is done playing, the YouTube player normally shows several related videos, also known as “suggested videos” or “more videos”. However, there are reasons a website owner might want to hide these – due to branding preferences or simply wanting a cleaner user experience. Disable related videos on YouTube embeds by […]

How to Change WordPress Post excerpt length

For Change post excerpt length add following code in your current themes functions.php file.

Enable SVG Support in WordPress

For Enable svg support you’ll need to add the following code to your current themes functions.php file.

how to Upload WordPress Custom Meta Box Image

Hi, here i implement multiple image upload custom fields (WordPress custom meta box image upload ) to page post type if you want it for another post type just change post type name. Add the following code to your current themes function.php file. Go to your pages from WordPress admin and check that multiple image […]

WordPress Forgot Password Form Without Plugin

Are you need simple Forgot Password form without plugin for your WordPress website? Yes, Then i have created [wc_forgot_pwd_form] shortcode with quick simple code. So you can put Forgot Password form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put [wc_forgot_pwd_form] shortcode where you need login form. So you need […]

How to Add Excerpts to Your Pages in WordPress

you will need to add the following code to your current themes functions.php file


Leave a Reply

Your email address will not be published. Required fields are marked *