![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/imgs/post01.jpg)
How to display custom meta box in wordpress?
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/li_st1.png)
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/li_st1.png)
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/li_st1.png)
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/imgs/kand5.png)
Display custom meta box in wordpress
First generate meta box code and then add this code where you want to display –
<?php $custom_meta_data = get_post_meta( get_the_ID(),'custom_meta_box_id_' ,true); ?> <?php echo $custom_meta_data; ?> // here custom_meta_box_id_ is the meta box field id
![](https://wpdevkit.in/wp-content/themes/twentytwenty-child/author.jpg)
POST COMMENTS