0

Im using "Plugin: Custom Content Shortcode " on my site . Just stuck with my code here. Im using short code on custom post with pods on my site. im going to display images from posts if image title contain “keyword” and parent post under mention category. i do this with using of php code and get desire results in theme file. but now i want to use code in my custom post text area so i want to get parent category name. im unable to do this with shortcodes. im able to get parent post id and parent post slug but unable to get category name. so please can you help me how i can get attachments parent post’s category? (Sorry for my bad English)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.