Wilds: Noethics: thats not possible. You need two. one for the max and one for the min
Myall: Guimares, yes, the pricemin and pricemax aren’t variables in the wp_query
Kilgor: Pixolin Guimares – Oh THAT! It’s a standard reply. Hang on.
Kostelnick: Noethics: you said they were
Beteta: Guimares, the price is the variable
Umanzor: Sorry right now is ‘all the things at once’ time :
Geoffroy: Guimares, pricemin and pricemax are other variables but they are only used as values in the meta query
Popadiuk: Not actually compared
Lavalette: Shabazz: I’m sorry if I picked the wrong time. I just thought you “hang around here” often and I just might ask.
Krzemien: Noethics: then WTF are you talking about “one variable”?
Grimley: Pixolin: https://make.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/support/handbook/giving-good-support/pre-defined-replies/ has them
Aboulahoud: Guimares, sec i’ll show you code
Arney: Guimares, http://fpaste.org/270236/42947494/
Landy: Noethics: the basic meta_query provides a BETWEEN value for ‘type’
Ravotta: Shabazz: Thank you. I will look into it again.
Casten: Noethics: you should NOT have two $meta_query .
Siuda: Guimares, i have several
Hourihan: Noethics: you shold share all of your code
Westbury: Noethics: but thats just wacky, what you’re doing there
Getson: Guimares, because WP_Query accepts an array
Sauerbry: Guimares, so, the search has a lot of criteria
Teter: And each criteria is a separate meta query cosntraint
Koogler: Noethics: this just doesnt make much sense
Neelly: Noethics: but either paste ALL of your code or google the answer for BETWEEN
Voiles: Guimares, there’s a lot of code
Balton: I’ll check BETWEEN though, thanks
Cappas: Noethics: good luck have fun
Hepper: I have 1 post category that I only want Editors or Admins to post to. Is there a way I can restrict other roles from posting in that category?
Castile: Momo_: there are plugins out there that let you control who can post to stuff on the category level
Means: Momo_: Role Scoper – https://----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/plugins/role-scoper/
Stoldt: Momo_: Members – https://----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/plugins/members/
Epstein: Guimares Much appreciated.
Carnevale: How would I get the number of published posts for a custom post types?
Sachez: Wp_query has a post_count value
Sachez: Carnevale: given $wp_query = new WP_QUERY $args, the result is $wp_query-found_posts
Carnevale: Ah ok, and I can supply the cpt as an arg?
Derringer: Carnevale: https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Cl***_Reference/WP_Query
Carnevale: Right on, was just wondering if wp-query was the best option of if there was a get_number_of_cpt method
Sachez: If so, it probably calls wp_query or get_posts :-
Helbling: Carnevale: https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Function_Reference/wp_count_posts
Sachez: Hmmm. see line 2392 of https://core.trac.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/browser/tags/4.3.1/src/wp-includes/post.php#L0 — it does an SQL query
Etzler: Sachez, not the same at all 😛
Vancooten: Depends how the sql implementation handles COUNT
Douillet: Resolved the issue Guimares sterndata
Douillet: In 4.3, users who manage uploads / updates with SSH need to have the latest libssh2
Wehrli: Noethics: ah didnt know you were doing it via SSH .
Fairbank: Guimares, wrong person
Perisho: I’m trying to install the plugin “All-in-One WP Migration”. I’m at the point where it asks for the public and private key locations on the server. I enter in those locations and I get the error message “Public and Private keys incorrect for live”. What exactly does that mean?