chlustanec
Forum Replies Created
-
Forum: Plugins
In reply to: [Image Gallery - Responsive Photo Gallery] Gallery setting not savingHi,
it really does not. As i wrote previously, it does not save. I can put anything between 1 and gazillion and it just do not save to DB.Forum: Plugins
In reply to: [Image Gallery - Responsive Photo Gallery] User level changeIt would be enough to create custom capabilities. Third party plugins, which already exists would do the trick with assigning those capabilities to speciffic or new roles. This is really downside that only administrator can create galleries and it goes against the ide of multi level role system.
Forum: Fixing WordPress
In reply to: metaquery with array of valuesthat is what was affraid of ??
Forum: Fixing WordPress
In reply to: metaquery with array of valuesHi, thanks.
That’s my fault, I should have pst the args in the first post. Thing is, I have args like this$args = array( 'post_type' => 'product', 'meta_query' => array( 'relation' => 'AND', array( 'key' => 'number', 'value' => array(1, 1000), 'compare' => 'BETWEEN' ), array( 'key' => 'county', 'value' => array('OC','CO'), 'compare' => 'IN' ), ..., array( // AND there I need what I asked for, so something like. 'relation' => 'OR', array(...LIKE...), array(...LIKE...), array(...LIKE...) ) ) );
Args in the begining are from inputs like dropdown, multiselect, radio and numeric inputs (so the inputs are exact), but the last part of query is “fulltext” input of words divided with “,” and I wanted to assure, that I eliminate some of human mistakes during input of text strings (so I wanted to use wildcards = LIKE comparison).
Maybe I am approaching it from completely wrong way, so If somebody knows prettier, better or working way, you are welcome to throw me some hint ??
Forum: Fixing WordPress
In reply to: metaquery with array of valuesHi, thanks for reply.
That’s what I’ve end up with so far. But it is not kind of the same, because when u use LIKE, it searsech %value% with wildcards. When you have IN, it searches exact VALUE. And even if I send %value% to IN comparison, it does not work.Forum: Plugins
In reply to: [WooCommerce] Custom Override – Cannot modify header informationyou solved my problem and now I don’t have to commit a suicide ?? THANKS
hi bruce,
that’s the solution ?? Thanks a lot ??