Forum Replies Created
-
AuthorPosts
-
Jim Hunter
ParticipantSetting the limit in the Settings page did the trick. Thanks for the tip.
Have I mentioned today what a great job you guys do? I have turned a few of my friends away from ACF and to MB, because of how awesome your product is.
Jim Hunter
ParticipantI answered my own question.
If I add this line right after the first loop finishes, it does reset the loop and I can then run the second group:
{% set x = mb.wp_reset_postdata() %}
I know the x is garbage, but I get errors trying to just execute the method, I had to assign the result to a variable for it to work.
Jim Hunter
ParticipantOK, related issue. I was able to display the info I needed but there is a rub. The list of posts need to be grouped into 2 groups and displayed as groups. So, I created a view that displays one set and that works great. I then created a view that displays the second set, and that view works great. But when I try and have both views active for the same taxonomy, then only the second one displays. I have their orders set as 1 and 2 accordingly, but only 2 displays when both views are published. If I set 2 to Draft, then 1 displays correctly.
A simple solution would be to combine both views together but I found no documentation on how to reset the query in the view. If I simply try and re-loop it, I get no results. So, if there is a simple way in a view to reset the query, then that would solve my problem the easiest way.
Jim Hunter
ParticipantThat seems to have worked great, thanks!
But I never would have tried using Archive, so thanks for the response.Jim
Jim Hunter
ParticipantThanks,I took a look at the article and is there a way to register the new field so that it can be used from the MB Field Group UI? I have been doing some fun stuff with that and that is how I am doing my data input, using field groups.
July 20, 2021 at 2:28 PM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29594Jim Hunter
ParticipantWell if that don't take the cake. I did everything to make it work, but it works for you right off. I even disabled the cache on the site because that occurred to me as a potential issue.
On with my testing.
Thanks for your tenacity in assisting me.
Jim
July 20, 2021 at 1:48 PM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29593Jim Hunter
ParticipantFYI, I installed MB on a different domain (one that is up and running fine), hosted on a different server/different company, and when I try and create custom fields, the entire area where you define the fields goes blank. So far I am 0 for 2 on getting this to work. And it didn't matter if Classic Editor was enabled or not, same behavior.
July 20, 2021 at 2:23 AM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29590Jim Hunter
ParticipantMy apologies, missed the link to create a 'ticket', I created a general message apparently.
I just sent a ticket in.July 19, 2021 at 2:10 PM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29576Jim Hunter
ParticipantI just sent them, thanks!
Jim
July 19, 2021 at 12:52 PM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29573Jim Hunter
ParticipantNope, no go. I can save the shortcode to the page, no error (using classic editor), but when you display the page the form does not display. If I use an ID that does not exist, I do get a form that just has the title and content. But if I use an ID of the new group I created, then the form does not display at all. It doesn't matter if I have classic editor enabled or not, the page displays the same. If you want to contact me directly, I can set you up with a login to see what I am seeing?
Thanks,
JimJuly 17, 2021 at 3:35 PM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29558Jim Hunter
ParticipantHere are the screen shots
Group setup
Group listing
Page with shortcode and error when savingJuly 17, 2021 at 1:16 AM in reply to: Creating a simple Meta Box and trying to use the shortcode generates save error #29553Jim Hunter
ParticipantThanks for the quick response! That is exactly what I did, created a field group with 2 fields, copied the shortcode then added it into the page. Then it would not save. I have attached a few shots to illustrate. Scratch that, do not have time to create a place in the cloud to put them, thought I could just attach the images directly. I'll post some images tonight when I get back home, heading out for the day right now.
I purchased the developer bundle last night, so that is what I am using. -
AuthorPosts