Mehdi Nazari: WordPress Developer
4 subscribers
3 photos
45 links
Download Telegram
SQL Joins Visualization
Did you know developers can extend WordPress Posts Query and include custom data to each post item?

For example, it's possible to create a custom table for post views in database, then include a view counter field in post items.

Read my new tutorial for advanced WP developers:

How to Extend WordPress Posts Query and Join Custom Tables?

You can use examples in this tutorial to create a DIY post view counter plugin.

Here is the Roadmap that you can use to navigate to every chapter of this tutorial:

🥇Chapter 1: WP Way of Handling Post Storage in Database

🥈Chapter 2: Extend and Modify Posts Query in WordPress

🥉Chapter 3: Build a Post View Counter by Extending Posts Query

🏅Chapter 4: Tips for Extending WordPress Posts Query

🏆Final Chapter: Resources to Learn about the Posts Query
#WordPress Statistics in Winter of 2022
#Laravel Statistics in Winter of 2022
When i started writing my recently published tutorial about WordPress absint() function, I did not expect it to be this much surprising, even for myself!

absint() supposed to get a number, and convert it to positive in return.

But this simple function may return unexpected results based on your passed value.

For example, absint() also accepts string data type.
But what happens if you pass a non-numeric string?
Or a mixed string of numbers and characters?
Can absint() function calculate math operation inside a string?
What about array elements or object?

To find answers of these questions (and many more!) checkout the examples at the bottom of my tutorial about this function.