612-293-8629 [email protected]

Today I ran into a frustrating issue where a simple “get_posts()” query was not working in a custom widget.  The query worked fine when embedded into the page template.

The solution was actually quite simple – calling global $post; before my query in the widget did the job!

Movin’ on up!

Thanks to Aaron  and Matt for helping find a solution!


We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.



Call Now

Enroll in Our Free Beginner WordPress Class by Email

Never feel powerless in WordPress again!  Become a WordPress superstar for free in only minutes a day!

Our Beginner WordPress Email Class is delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!