bjacobs09
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Querying a post by taxonomy parent exact and child LIKEI just did a $wpdb query and it worked perfectly. Thanks for your help.
Forum: Developing with WordPress
In reply to: Querying a post by taxonomy parent exact and child LIKEYes I added an action on the save_post to always select the parent on save. So a child selected will always have the parent selected. However, there may be a parent selected without having a child selected.
Forum: Plugins
In reply to: [CMB2] How to use WP_Query on a repeatable groupThank you. Yes I just figured that out. The solution is:
$value = array('type'=>'A', 'units'=> '1'); $meta_query[] = array( 'key' => $meta_key, 'value' => serialize( $value ), 'compare' => 'LIKE' );
- This reply was modified 6 years, 10 months ago by bjacobs09.
Forum: Developing with WordPress
In reply to: Using WP_Query for a repeatable groupI figured it out:
$value = array('type'=>'A', 'units'=> '1'); $meta_query[] = array( 'key' => $meta_key, 'value' => serialize( $value ), 'compare' => 'LIKE' );
Forum: Developing with WordPress
In reply to: Querying a post by taxonomy parent exact and child LIKEP.S. Is it not possible with WP_Query bc of the LIKE match as opposed to an exact match? Or is it not possible because it’s a nested taxonomy?
Forum: Developing with WordPress
In reply to: Querying a post by taxonomy parent exact and child LIKEThank you very much for your answer. I will try the $wpdb functions to query.
Forum: Plugins
In reply to: [Slick Slider] transform: translate3d(-1285px, 0px, 0px); going off screenGotcha. Sorry I didn’t catch anywhere where it said the two galleries are identical. Thank you. Feel free to close.
Forum: Plugins
In reply to: [Slick Slider] transform: translate3d(-1285px, 0px, 0px); going off screenThank you for the answer. I have yet to add any css to my custom theme yet, so not sure what the conflict would be. But I’ll investigate further if it is out of your scope of help.
As for the asNavFor, I could use a bit more clarification. I have created a gallery and inserted it into my Editor. I checked off the ‘Use Slick Slider’ so that the gallery uses the slider settings. This would be my .slider-nav. But how do I make my .slider-for in this case? Do I create another gallery on top of it with just one image in it that happens to match an image in the gallery below it?