I need to display custom post type all data as XML format in domain.com/example.xml url

Please guide me that how can I do it.

It will be always updated details.

Site is in wordpress.

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.