• I have a page template for a workshop made with WP Backery block constructor. Each workshop has from one to four tickets. Each ticket has name, description, price and other parameters needed for a registration form to work.

    Now all this is made in separate PHP files loaded with [load] shortcode. That is, every ticket is loaded this way. And I want to make tickets editable by anyone from the WordPress admin panel.

    I have created a custom post type ‘ticket’ and a group of custom fields for this post type. For this post type I am going to code a custom template.

    And I want it to be easily added to a page with some shortcode where one will only need to indicate the ID of the post with the ticket like [loop type=”ticket” id=”1″] {{ the_content rendered the custom template }} [/loop].

    Is this possible with this plugin?

The topic ‘Embed a custom post type into a page’ is closed to new replies.