Software Engineering in Web Development, Backend Services, and More

Search: “wp_query” (Page 12 of 29)

We found 145 results for your search.

Using WordPress For Web Application Development

[…] Introduction Rethinking Architecture The Conceptual Model Understanding Events, Actions, and Filters User Management Sessions Email Saving Data Retrieving Data URL Rewriting (or Routes) Caching Custom Queries with WP_Query Custom Queries with WP_User_Query Custom Database Queries A Review Throughout the series, I’m aiming to make it as informative and practical as possible, as well as […]

How To Properly Test Responsive Design

Now that all the rage that responsive design has become a bit more common place in our day-to-day work, I think it’s worth sharing how to test for responsive design. Specifically, this is how I think a lot of us has historically tested for responsive design: It’s funny because it’s true, right? But here’s the thing: Is […]

Debugging with Query String Parameters

There are a number of ways that we debug our WordPress-based projects. Some people end up going through the code and setting up `print_r` statements or `var_dump` statements Some end up working through the code and changing variables or function names until they find where something breaks (or changes) Some use debugging software (or the […]

Programmatically Search WordPress Posts By Date Range

[…] date range, here’s what needs to happen: Register a callback with the posts_where filter, Make sure the function accepts the string for where and the instance of WP_Query that’s running on the page Get todays date and time and the date and time for four weeks ago Prepend the where clause to constrain the […]

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑