Forum Replies Created
-
AuthorPosts
-
Michael Kern
ParticipantHello,
Following up on this
July 17, 2023 at 6:33 PM in reply to: ✅Switched from Builder to Code and Now Relationship Doesn't Show #42601Michael Kern
ParticipantThank you so much! I looked everywhere for something like this. Clearly I didn't look hard enough. Thanks again!!!
July 15, 2023 at 9:43 PM in reply to: ✅Switched from Builder to Code and Now Relationship Doesn't Show #42590Michael Kern
Participantignore the <div> tags btw
July 15, 2023 at 9:43 PM in reply to: ✅Switched from Builder to Code and Now Relationship Doesn't Show #42589Michael Kern
ParticipantSure. What I'm trying to achieve is related to the support you provided here. Except instead of doing it via PHP code, I want to use the tax_query array inside the Builder UI.
However, when I try to put an array inside of the Query Vars field in the Relationships Builder UI, it "sanitizes" the array with slashes, likely to escape the characters being used. I do not want it to sanitize. Unfortunately, there's no sanitization customization in Relationship Builder UI. So I must resort to registering the relationship via PHP code.
Here's what I'm putting in the builder:
https://imgur.com/a/f9xrQzXHere's the output:
'field' => [ 'query_args' => [ 'tax_query' => '[ \'taxonomy\' => \'service-types\', \'field\' => \'slug\', \'terms\' => \'concentrations\' ]', ],The problem I am experiencing with this is compatibility with another plugin, Admin Columns Pro. When registering relationships via PHP code, ACP doesn't integrate the relationship properly and therefore does not provide capabilities to do inline editing via an admin column. When doing it via the MB Builder UI, it does, which is why I want the Builder to stop sanitizing my Query Vars in this relationship.
July 15, 2023 at 10:40 AM in reply to: ✅Switched from Builder to Code and Now Relationship Doesn't Show #42580Michael Kern
ParticipantBetter yet, is there a way to make taxonomy query vars in the builder without it parsing the information in PHP with slashes?
June 24, 2023 at 10:16 AM in reply to: Emergency. All of my CFs disappeared for when I switched a radio to a switch. #42343Michael Kern
ParticipantThanks! I ended up loading a backup in the meantime. I'm all set!
Michael Kern
Participantfor clarity, im using the metabox AIO plugin and not familiar
Michael Kern
Participanthi, im not familiar with what it means to apply the changes in the commit in the context of wordpress. do i paste that code somewhere in WP? sorry, im new to this stuff, but my client absolutely needs to be able to interact with the visual editor.
March 1, 2023 at 4:05 AM in reply to: Selecting many relationships taxes forever (more efficient way)?? #40765Michael Kern
ParticipantGotta be honest: Not a fan of this reply at all. It's already clear what is supported. Could you please elaborate on whether MetaBox plans to add better UX by allowing multi-selection similar to the way one would apply multiple taxonomies to a post?
-
AuthorPosts