Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterYes, that's what the condition says. However, I think the problem might be: the value of a taxonomy is always an array (as we can select multiple terms to assign to a post). So it's not correct to says one array "in" another array. Can you try "contains" one value, and add another condition for the other value?
Anh Tran
KeymasterHello,
Can you give me more details on "get the MetaBox to tie to the Post Type and then put them into the sidebar"? Do you mean registering a meta box (with custom fields) for the custom post type and outputting the custom fields' values in the sidebar?
Anh Tran
KeymasterHi,
Do you set the
max_cloneparameter for the field? Can you post the code that registers meta box?July 9, 2018 at 9:19 AM in reply to: ✅Conditional Logic for hiding conflicts with required fields #10480Anh Tran
KeymasterHi Doug,
I'm afraid this (removing the required attribute) is the only way to resolve this. The Conditional Logic actually hides/shows elements. It does not removes them completely from the page (cause it doesn't know how to get them back).
Anh Tran
KeymasterI got it. The thing here is the plugin detects the first element that contains the condition, which is the first clone in this case.
It would be very confusing if it detects all elements and parse the conditions. The plugin can't understand whether to show "room-availability" when all clones satisfy the condition or any clone satisfy it. In this case, this is "any", but in general, there's no way to know that :(.
I think to solve this problem, please just set the first clone as the trigger for the rules.
Anh Tran
KeymasterHello,
This is the way WordPress's editor work. According to the documentation, the
editor_classis "Any extra CSS Classes to append to the Editor textarea".Anh
Anh Tran
KeymasterHi,
Thanks a lot for your very detail topic!
After looking at the bug and the code, I found a bug in this case. I've released a new version of the plugin. Please update it.
Anh Tran
KeymasterHi,
I think there's no problem if you use all of them. Or did you see any bug?
Anh Tran
KeymasterHi Doug, we actually missed to include it. Let us work on that.
Updated: The new version of Builder has supported this.
Anh Tran
KeymasterHi Doug,
That's a good point. Let me add that to the Builder.
Updated: It's added to the Builder.
Anh Tran
KeymasterAnh Tran
KeymasterHey guys,
I'm almost done the OSM field for Meta Box. It's available on Github, in the map-field branch. You can try it now. Here is how it looks so far:
https://imgur.elightup.com/bqpCvwN.png
However, I see OSM doesn't provide Geocoding service, which doesn't allow us to look up for an address and find its location on the map. There are several services out there (Bing, Mapbox, ArcGIS), but they are not OSM-official and of course have some limitation on usage.
I'd probably will put the OSM field into a separate extension because of this limitation. While Google wants to take money from us, its product is really good and widely used.
What do you guys think about that?
Anh Tran
KeymasterHello,
I'd recommend using the Better Search Replace plugin.
Or you can use a script called Database Search and Replace.
July 3, 2018 at 5:33 PM in reply to: ✅How to use conditional logic and then display custom meta on a page. #10426Anh Tran
KeymasterThanks for your details!
Because the Tampa and St. Pete are terms that are connected to People CPT, to get the address, we actually go from post (People) -> taxonomy term (Tampa/St. Pete) -> term field.
So I think the Beaver addon doesn't work. It can only get post field for the current post.
I'd suggest you write a custom shortcode to get the term address. Then you can put it in the Text/Heading field in the Beaver Themer. Adding prefix text is also easy then.
Anh Tran
KeymasterHi Tony,
You can set the redirect URL for each form. Please see this documentation for more info.
-
AuthorPosts