Get the current post parent category ID
How to get the current post parent category ID? Just copy the codes below and paste this your template.
global $post; $category = get_the_category( get_the_ID() ); $parent = $category[0]->term_id
Uncaught TypeError: grecaptcha.render is not a function console error is showing if the recaptcha api.js is not enqueue or the `grecaptcha.render` is fire before the recaptcha api.js is being enqueue. See the JS library link below. https://www.google.com/recaptcha/api.js?hl=en&render=explicit I’m having this error when I use the Gravity Form captcha field. As I explained above, that is…
Hi guys, having a hard time looking a codes online on how to create a WordPress customize settings? I guess, your not alone. But for me, I’m done on it and converted already into a tutorial. I’m hoping to help someone with this kind of problem. I have a tutorials below on how to create…
Warning: sprintf(): Too few arguments in \wp-admin\includes\class-bulk-upgrader-skin.php on line 152 error from TGM Plugin Activation. To fixed this error is just need to edit the files describe on the screenshot. To edit just fine the `skin_update_successful` just like the image below. Make sure to remove the `onclick=”%2$s”` codes on 2 elements. Make sure you are…
var iframe_url = 'http://www.wala.com/'; var cacheParamValue = (new Date()).getTime() * 1000; var url = iframe_url + "?cache=" + cacheParamValue; jQuery( 'iframe' ).attr( 'src', url ); Output: <iframe width="100%" height="99%" src="http://www.wala.com/?cache=1406685294271000"></iframe>
Make sure you have the same file path as the image below. background-image css example : div { background-image: url('../../uploads/2014/07/bg-css.jpg' ); }
1 long and 2 short computer beep code error indicates a video error has occurred and the BIOS cannot initialize the video screen to display any additional information. In my case, my computer has a video card, I simple remove it and clean a little then put it back. Beep is gone after that. For…