$timestamp=gmmktime(22,50,0,2,10,2015); It considers Oct 10,2015,22(hour):50(minute):0(second) is the GMT time. It calculates the seconds between this time and GMT Jan 1,1970,0:0:0.   $timestamp=mktime(22,50,0,2,10,2015); It looks for the time zone settings in […]

At this time, you must have read a lot of tutorials about css float. I bet all you know is something like “floating elements makes the elements float to the […]

Padding and margin often cause misunderstandings. <div style=”width:100;height:100;background-color:#ff0000;”></div> The above html displays a 100×100 red block. What do you think the effects of the html below? <div style=”padding: 20px; width: […]

When you activate a new wordpress theme in the dashboard of appearance/themes, switch_theme is called with the to-be-switched theme as the parameter. switch_theme saves the $$sidebars_widgets in the theme_mod-currenttheme option, […]

Ajax is used by wordpress for communication between browser and server. For example, after you login wordpress dashboard, drag a widget onto a sidebar, fill some settings and click the […]

A function in cron.php wp_cron() is hooked to init action to check crons(got from the ‘cron’  option in the wp_options table). if it sees there is a cron that should […]