Saturday, April 12, 2014

How to add menu in Wordpress Admin without Plugin

Here we are talking about Adding a menu item in wordpress admin panel to add manual functionality for your themes and plugins etc. Let's do it You need a Wordpress Function called add_action which get 2 parameter.  add_action Parameters Explanations:  First parameter is what do you want to add so we write admin menu. Second parameter is that we will tell wordpress add action that my other...

How to get Default Timezone in PHP

Here i will talk about timezone which you can't get in PHP there is no built in function to get that.... But here i am with a new technique to get timezone in PHP using Javascript. Let's do it. First of all Download a small js file from top of this website. Put this file in js folder and replace the name here bold in code function timeStamp(){     echo '<script type="text/javascript"...