How to get custom field in wordpress


How to get custom field in wordpress my field name is syrup?

This is very simple if there is only one extra field then you can use the_meta(); but if you have more fields and you want them simply one by one then you can use get_field("syrup"); which will bring you the syrup name field. If you have another field then you can write get_field("tablet");
hope this will be the better help for you.

Post a Comment

0 Comments