Pods – Get Custom Value Content Types and Fields in Category

By March 10, 2016Plugins

Popular using Pods plugin to customize field in back-end of wordpress

https://wordpress.org/plugins/pods/

When I add custom field (example Position) in Category. How do I query Posistion value ?

 

get-post-meta-in-category

 

 

Creat function getTermMeta in file functions.php your theme

function GetTermMeta()

[[code]]czoxODg6XCINCg0KCWdsb2JhbCAkd3BkYjsNCgkvLyAkdGVybV9pZCA9IGNhdGVnb3J5X2lkDQoJJHNxbCA9IFwiIFNFTEVDVCBtZXRhe1smKiZdfV92YWx1ZSBGUk9NIHdwX3Rlcm1tZXRhIFdIRVJFIHRlcm1faWQgPSAkdGVybV9pZCBBTkQgbWV0YV9rZXkgPSBcJ3Bvc19jYXRcJyBcIjt7WyYqJl19CQ0KCXJldHVybiAkd3BkYi0mZ3Q7Z2V0X3Zhcigkc3FsKTsNCi4uLi4NClwiO3tbJiomXX0=[[/code]]

nhantam
Freelancer WordPress developer in Vietnam

Leave a Reply

Captcha * Time limit is exhausted. Please reload CAPTCHA.