You’ll want to leave the.

 
Showman: It’s fine for people that want all their data spread into taxonomies just to make some metabox label/value editable by some admin

Jeng: We expect no less of you! “Lunsford: tbh*”

Lunsford: I use it mostly for gallery’s for pages.

Sgammato: OK here is the issue. I have a acf_form that is a repeater. A user puts phots and metadata into it and it is supposed to create posts from the uploads.

Montague: I use have_rows in an if and it goes straight else

Showman: Noahmg123: that sounds like a question for http://support.advancedcustomfields.com/

Wolfgang: Showman: do you know if they have an discussion?

Showman: Noahmg123: pretty sure they don’t

Vanalstin: Showman: darn. anyway since the hook automatically clears the values I turned off the filter, put in uploads and they were not cleared, turned on the filter, ran the code and it worked like a charm. I am guessing for some reason it clears it before it even gets to my code.

Showman: Noahmg123: oh, they actually DO have an discussion channel #acf – which no one resides in

Mcnab: Showman: i am going to try something real quick

Corin: Any wp pro dev around? looking on opinion on wp_cache vs transients?

Abelar: Odeland: Don’t ask to ask, just ask :

Markowitz: Right, right, havent been on discussion for a while ;

Yazzi: Basically, I want to cache local content that is sent thru ajax and looking at WP’s doc, I see I have 2 options: transients or wp_cache, but the difference is not exactly clear. Anyone have experience with that?

Showman: Odeland: here’s the key: if you want to access the same data over and over and reduce the calls to the database then use object cache i.e. wp_cache_get/set functions. If you want to cache some data and have it expire at a certain time, use transients

Filo: I don’t have experience, but wp_cache is stored in memory and by default only exist during the page request, transients in the database and exist for longer.

Showman: Well cached data in object cache will all live for the same amount of time, where as transients live for the duration of that transient – which is specific to just that data/value

Kecskes: Do you guys know if W3 Total Cache makes wp_cache calls persistant? I would think it does, if I configure the object cache, right?

Showman: You cache settings are configured with the cache plugin, but anything pulled from the database that is “cache enabled” like WP_Query, get_option, etc. will pull from wp_cache_get if it has data from object cache and only if it doesn’t have data pull from the database to then store in wp_cache

Darbonne: Sounds good, thanks, I’ll experiment with that

Dupuis: Hey LindsayM_ sorry I had disconnected some how and couldn’t get on

Mott: Mind helping me out with this query ?

Kegler: Hmmm i got an empty page, and debug.log says ‘akismet_url = https://rest.akismet.com/1.1/verify-key . body = invalid’

Vojna: Https://gist.github.com/staycreativedesign/2393e0de7d47e23d9ff4

Hust: What can i do? does that mean some key is invalid? i got a new set on https://api.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/secret-key/1.1/salt/ added it into wp-config.php but i get the same error

Showman: Dopie: what’s the problem?

Garrott: The search only searches for post_type, but I would it to search author as well and exclude a category

Showman: Dopie: well authors live in a different table than the posts table – I’d suggest just changing your search template to include that

Showman: Dopie: rather than using a pre_get_posts filter to try to mash that together in the query itself

Blank: Showman, can you give me an example to what you mean by mash that together int he query itself

Showman: Dopie: you can’t just say “add a post_type of author to the query results of a search query” and have it work because they’re from different tables

Showman: You’ll want to leave the native query alone and then change your search.php template or template partials included from there to include the user data that matches their query