Plugin (smart archives reloaded) crashed site / no access on admin panel
Plugin (smart archives reloaded) crashed site / no access on admin panel
Plugin (smart archives reloaded) crashed site / no access on admin panel
printf( __( ‘%1$s – %2$s’, ‘erudite’ ), the_date( ”, ”, ”, true ) ) expects two strings; you’ve only offered one (the_date()). If you want to use two strings, you have to give it two strings. If you want printf() to use the_time() and $previousday, you need to tell it so: printf( __( ‘%1$s – … Read more
Getting error when trying to redirect WP site to mobile site
That plugin is using outdated code. $wpdb->prepare used to allow the second parameter to be omitted, though using prepare without it never really made since. As of 3.5 the second parameter is required. You will need to update the plugin, if there is an update, or hack the plugin yourself which is prone to cause … Read more
It seems if you use classes you have to use array($this, $function)); in the function element as shown below. add_submenu_page( $mainmenu_slug, $submenu_title, $submenu_label, $capability, $submenu_slug , array($this, $submenu_function) );
You have two problems. First need to global $wpdb;. Then you are using the_title() and the_permalink() both of which automatically echo out a value. So you need to switch them to get_the_title() and get_permalink(). function get_post_by_alphabet($the_char){ global $wpdb; $first_char = $the_char; $postids=$wpdb->get_col($wpdb->prepare(” SELECT ID FROM $wpdb->posts WHERE SUBSTR($wpdb->posts.post_title,1,1) = %s ORDER BY $wpdb->posts.post_title”,$first_char)); if ($postids) … Read more
You would want to use the user_register and edit_user_profile_update actions. In this way you’ll take care of both scenarios. Be careful. Both of these fire after the user information has already made it to the database.
Internal 500 error: Activating rootio theme and deploying with capistrano
Any idea on how to fix this error when forcing SSL on a certain page?
This webpage has a redirect loop issue with SSL page