• Resolved cseevinck

    (@cseevinck)


    Im trying to do a blog type display where I will use the Meta Field Block inside a gutenberg Query Loop. It works well to display the fields in the “team page”, but will not display the fields on the individual page. How can I make this work please?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Phi Phan

    (@mr2p)

    Hi @cseevinck, have you added the meta field block in the single team template? You must to put the block in the single template as well.

    Thread Starter cseevinck

    (@cseevinck)

    Thanks for your response. Because the Query Loop creates the single page template itself. I am not sure how I would add the meta field block to that template. I might be missing something obvious here. I appreciate any pointers.

    Plugin Author Phi Phan

    (@mr2p)

    It looks like you are using the twentytwentytwo theme. The default single template for all post and custom post types are the single post template. You can create a custom template for the team post type, but there is a much simple solution is you can edit each team post and drag the Meta Field Block to the right place. There are not many team posts so you can follow that way. If you’re familiar with the site editor, you can create a custom template for the team post type.

    Thread Starter cseevinck

    (@cseevinck)

    @mr2p I kind off did your last suggestion – I edited the template using the site editor and added the Meta Field Blocks to the template. This works great. I am not familiar enough with this full site editing features to know how to make a custom template for the team post type. But anyway, your plugin works great. Thanks very much for your help with this.

    Plugin Author Phi Phan

    (@mr2p)

    You’re welcome @cseevinck, I’m glad you have it resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display value inside query loop’ is closed to new replies.