Forum Replies Created
-
AuthorPosts
-
dmccan
Participant@Anh Tran - Thank you for your help and the resource.
dmccan
ParticipantThank you. That works as shown in the video and in the comment above. In the video you point to the field group having underscores instead of dashes. I'm guessing that would come into play if I was doing a loop on a page, so I will keep that in mind. In my test for this case the field group name didn't matter, I guess because it was not referenced.
I noticed that by default Meta Box puts dashes between the words in the field group name.
dmccan
ParticipantI made a video. It is on a new site that I just created. I never used dashes. Just returns 0, unless I am missing a step or the code is wrong.
https://share.getcloudapp.com/YEu48kZr
Thanks
dmccan
ParticipantThank you for the suggestion. I made the change, but it just returns a zero. Note, this is a template created in the Full site Editor.
dmccan
ParticipantThank you for the information.
dmccan
ParticipantNow I've also tried:
{% set post = mb.get_post( post_id ) %} {{ post.author-fields.authors-website }}May 20, 2023 at 7:45 PM in reply to: ✅MB Views shortcode not rendering in block theme template #41862dmccan
ParticipantThis was a bug in WordPress 6.2.1. It has been fixed in WordPress 6.2.2.
dmccan
ParticipantI expected the post Author fields in the Post Fields group, but found them in the User group via the drop down.
dmccan
ParticipantThis works: {{ mb.get_the_author() }}
-
AuthorPosts