Support

Account

Home Forums Gutenberg Difference between render_template and render_callback? Reply To: Difference between render_template and render_callback?

  • I have found it useful in a custom post type to use render_callback if you choose to have more than one template. For example, I have different templates for the single post view and a grid view of all of my posts. The render_callback function can pick which template to use.