Setting Up Scheduled Tasks (For Scripts to Run)

WordPress “cron” jobs are database entries that are run on a set schedule, rather than true Linux cron jobs. While WordPress cron jobs are relatively reliable, they do require someone to hit the site in order to check if they need to run. Meaning, if you have a very low traffic site, you may want … Read more

qTranslate in functions.php

Are we talking permalinks here or any URL? If any, create an array( ‘en’ => ‘en_url’, ‘de’ => ‘de_url’ ); and get the URL by accessing the array using qtrans_getLanguage() index. If you’re translating internal permalink use the qtrans_convertURL() function.

How to remove the cufon script from Dzonia Lite theme [closed]

You can remove scripts with wp_dequeue_script(): function wpse99450_remove_cufon() { wp_dequeue_script( ‘inktheme-confu-ui’ ); // inktheme-confu-ui is the script’s handle, according to your posted code } add_action( ‘wp_enqueue_scripts’, ‘wpse99450_remove_cufon’, 20 ); // set priority to ’20’ so it will run later than the default But be careful — as @gdaniel pointed out, if the theme depends on … Read more

Theme my Login plugin, how to update fields

The user_register hook only fires when the user first registers. To have the custom profile data show up on the Edit User screen, you should use the edit_user_profile hook (and possibly show_user_profile, if you want users to be able to edit their own custom profile information).

Override widget in function WordPress

You are getting this error because your class ass no method named widget which is a must to properly use the widgets api. Meaning that each class/widget that extends the WP_Widget class must have a method named widget which is responsible for the actual widget display. So consider this structure as a widget class skeleton: … Read more