Similar Posts
get_the_ID() conflict in nested WP_Query codes
Hi guys, I have this problem during my WordPress coding journey. The `get_the_ID()` has conflict in nested `WP_Query` codes. On the first `WP_Query` loop, the ID for example is 20, then inside that loop I have another `WP_Query` (see the codes below) that makes the `WP_Query` codex more completed if you don’t code it right….
WDES rtMedia Music documentation
WDES rtMedia Music template override All files inside the “templates” folder can be override in your current theme/child theme. To do that, create a “wdes-rtmedia-music” in your current theme/child theme and place the template file inside of “wdes-rtmedia-music” folder. Example: You want to override the “all.php” to your theme/child theme. wdes-rtmedia-music > lib > templates > all.php Override…
How to merge your personal and friends activity stream using Buddypress WordPress plugin?
Hi guys, having a trouble on how to merge your personal and friends activity stream using Buddypress WordPress plugin? Codes below may help you to solve the issue. The codes will apply only in your personal activity but it is includes the friends activity also. $user_id = '1,2,3'; // this is the list of user…
Get the sub category of the current product category page
Get the sub category of the current product category page. This code is applied if you are viewing the product archive page. The codes below and a sample category hierarchy list. Example: Category Parent Category 1 Category 2 Category 3 Category 4 Category 1.1 Category 2.1 Category 3.1 Category 4.1 Here’s a code: $category_object =…
How to get the parameter value or key value on the the window location (page URL)?
How to get the parameter value or key value on the the window location (page URL)? If you have this URL “examplesite.com/?debug=1” and thinking how to get the value of debug parameter, the codes below is the answer. jQuery( document ).ready( function($){ // Example URL is examplesite.com/?debug=1 var getPostValue = function getPostValue(key) { var pageURL…


Many thanks if you are so kind to fairly share this information.