Minder: Sachez, that’s not the same as counting the result of a regular query
Sudler: It could be more or less complex depending how the database implements COUNT
Sachez: Noethics: thank you for bringing that to my attention.
Panameno: Sachez, it actually is pretty bad in huge databases 😀 that’s why pagination is notoriously annoying
Chevalier: To find for example the last page
Sachez: The question was, noethics, how do I get a count of posts. I posed two way and then looked at how one worked. So your answer is, well, pointless.
Sachez: But thanks for playing. We’ll send you off with a copy of our home game.
Sachez: It’s a beautiful day. I’m going to move things outside.
Carnevale: In this search url, what does submit=Search mean?
Carnevale: Http://192.168.10.70/?s=star&submit=Search
Minervini: That you hit the submit button
Carnevale: Why would that matter?
Douillet: Carnevale: Because it appended a parameter to the url upon submission
Macken: I think it happens when you have a name attribute on the submit tag
Carnevale: Nice noethics, that was it
Douillet: Carnevale: Look at GET and POST in php to learn more about parameters
Carnevale: My question was not what get or post was, it was why is it meaningful to a wordpress search result page?
Carnevale: But it looks like someone customized my search form
Tieszen: Carnevale: i am pretty sure your question was “why is it there”.
Scantling: Or at least thats how I read it
Douillet: Carnevale: Verbatim, your question was “In this search url, what does submit=Search mean?”
Carnevale: No, it was more an ***umption that it was native wp behavior and I wanted to know if it had any value
Douillet: Carnevale: Which, sure, has to do with WP, but is also utilized by many systems
Carnevale: Like, “oh, wp does that so you can do x or y on the result page.”
Douillet: So sorry for over specifying your question to attempt to guide you in the right direction
Douillet: I will reduce the specificity of my answers
Ehlke: He is not interested in becoming an html/http master like me
Buster: I may be imagining this, but I swear I remember finding a function that would return all of the URL’s for the different custom thumbnail sizes for a given image. P*** in image id, get back array of thumbnail URL’s with the size name as the key
Browy: Carnevale: if oyu learn more about the $_POST or $_GET object you would know what value the various params in your URL have
Stain: I can’t find any do***ented function that does that
Zerby: Developerjustin: i think wp_get_attachment_image_src does that.
Haataja: Guimares: for a single size, yeah. The do***entation says that it will get the default size if one isn’t specified, not all of them
Sznejkowski: Https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Function_Reference/wp_get_attachment_image_src
Billigmeier: Developerjustin: nope nevermind. It returns an array of ONE image
Carnevale: Guimares: Douillet answer is exactly the kind of thing I’ve seen you jump down peoples throat for so don’t act you’re suddenly a pragmatist
Douillet: Carnevale: To defuse this, sorry I responded smug to your comment
Douillet: Guimares is nice and just wants to help yo
Douillet: There, we can all be friends now
Douillet: Also developerjustin : check this out wordpress/">http://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/
Douillet: At the end of the article
Carnevale: Sure, but I didn’t ask “what r dees leturs and stuff in mah url?”
Frederiksen: Carnevale: dude. you were given a solid direction to gather more info
Siurek: Carnevale: stop being a PITA