im trying to generate a shortcode for every custom post type object i create and show that shortcode in the list of my posts. Elementor does this in its templates post type.

How can i manually add fields to the Wordpress List of a custom post type?

How can i generate a shortcode for my custom post type? Or should i self-generate this shortcode by combining the name and the ID from a WP_Query?

like how elementor generates one for a specific id

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.