Pluralitas non est ponenda sine neccesitate

EricaFeatured0 Comments

The last few days I’ve been trying to troubleshoot a Woocommerce product display search problem in WordPress. I found the .php file the page was displaying…couldn’t find any problem. Looked through the functions file for the child theme…everything was perfect.

Finally, I added a filter to the bottom of the functions file:

add_filter('post_limits', 'postsperpage');
function postsperpage($limits) {
if (is_search()) {
global $wp_query;
$wp_query->query_vars['posts_per_page'] = 16;
}
return $limits;
}

Did a test search – and the page said: Displaying 1-16 search results…except only 5 were showing up. WTF? Then it occurred to me…maybe I was making a mountain out of a molehill? What if the theme has a setting that overwrites my filter in the functions file???

Sure enough…it was as easy as changing a value in a box.

Which got me to thinking about all the other ways we overcomplicate things.

Mathematicians know the simplest explanation is usually the right one (Ockham’s Razor). Formulated by 14th century logician and Franciscan friar William of Ockham – scientists often phrase the theory like so: when you have two competing theories that make exactly the same predictions, the simpler one is the better.

And yet, simplicity is often elusive. Leonardo da Vinci said “simplicity is the ultimate sophistication”. And Mark Twain was fond of saying: “I didn’t have time to write a short letter, so I wrote a long one instead.”

Have you ever given someone really great advice – simple, obvious advice (leave him, quit, say yes), only to have them reply – “Well…it’s not that simple”. Maybe you’ve even answered this yourself a time or two? “It’s not that simple”. Yes. It is.

My teacher says, “Happiness is simple. Everything we do to find it is complicated.” Most people are unhappy because their expectations are not in alignment with their reality. Put another way, they want to control outcomes. So they are constantly living in the future or obsessing about the past. Wanting more or wanting things to be different – and never actually living in the present moment.

Life is simple when we live in the now. And the now is all we ever have.

LIVE FIERCE,

“The life we’re most devoted to is the one we do not have.”Karen Maezen Miller

Leave a Reply

Your email address will not be published. Required fields are marked *