Get Current Child Page with get_children

There are many method to display current child page in WordPress, this function is usefull to do the same command. Just Paste this code in functions.php

Call the function within the template file:

more documentation about get_children.

PHP, snippet, Wordpress, Leave a comment

Razer DeathAdder Double-Clicking Issue

I have two DeathAdder Mice from Razer – DeathAdder 2013 and DeathAdder Chroma Elite, and strangely both mouse has the same issue; it resulted in double clicks when you trigger a single click. And I’m pretty sure that the problem is not on the hardware, I’ve had the same issue (which is hardware) in the past and resolved by changing the switch.

Well, after searching the Net and found out that the issue is related to the Firmware, then I updated the firmware and it fixed the issue.

You can get the firmware here, only works on Windows OS:

DeathAdder 2013 (2,4MB)

DeathAdder Chroma (2,4MB)

Download, Hardware, Windows, , Leave a comment

How to Check if Meta Value Exist in WordPress Query

On a loop that performs data from custom meta field, to check if the meta key has value or exist, we can use the following query:

The above code can be used in WordPress older than 3.5 but it still usable in the latest version of WP, currently 5.1.

snippet, WordpressLeave a comment