Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter spyderbytes

    (@spyderbytes)

    Thanks for the reply, @bcworkz! I’m completely self-taught, so I guess I’m never really sure that the way I get things done is the most effecient way. Especially since I’ve seen articles all over the web warning to never, ever access the wp database through PHP. Add to that a desire to leverage as much of WP as I can to cut down on the work I have to do, and, as you say a desire to learn. I may be a geezer, but the day I stop learning is (as far as I’m concerned) the day to lie down and die. ??

    I dug a bit deeper in the WP guts and ran across wpdb. I must say it’s more to my liking than trying to figure out how to cram complex queries into WP_Query. Especially since I can basically just drop wpdb into my method that actually runs the query. Which allows me to drop all the connection handling code I had and leverages optimizations y’all have done that I’d never know to. ??

    I use the codex often, and generally find it quite helpful. In some cases, though, I find it raises as many questions as it answers (at least to me). Particularly when trying to cover a complex class in one page. More example code and breaking it into more digestable chunks would help, at least for me.

    Thanks again!

Viewing 1 replies (of 1 total)