Template Parts - Type Custom?

Support MB Views Template Parts - Type Custom?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37383
    Scott BrimScott Brim
    Participant

    In https://metabox.io/mb-views-creating-including-template-parts/#creating-a-template-part we see "I’ll set Type to Custom because we don’t use this view to render templates for any singular or archive pages. We only use it as a template part to include in other views." However, "Custom" is no longer a Type option. What should I set the Type to for a template part? I'm guessing "Code". Thanks.

    #37391
    Long NguyenLong Nguyen
    Moderator

    Hi Scott,

    The type "Custom" is removed, you can use the type "Shortcode" to dynamically add the view shortcode to another view content.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.