Articles of troubleshooting

How do I change the description of the same image which is to be found in multiple instances?

We have the site from http://asceticexperience.com/ Feel free to dig the site in order to understand our question below. Of course, any feedback appreciated 🙂 but my main question is the following: We have a photo multiple times on site (in blog, portfolio, and in slide-shows from the menus Body, Mind, Heart). The description of […]

Copying wordpress to another server breaks it on original server

I am working on a new version our site. Today I was going to put the blog on the new version. Our current website and the successor I am building are on different servers and accessed by different domain names. So what I did was import the database the blog uses into the dev site. […]

Find source of notice / warning / errors efficiently

While debugging plugins or themes I will often come across a notice / warning / error which doesn’t really provide useful debugging info. Notice: get_current_site_name is deprecated since version 3.9.0! Use get_current_site() instead. in /wp-includes/functions.php on line 3835 I understand there is a reference to get_current_site_name somewhere that needs to be changed, but there are […]

Widgets not expanding on wordpress 3.3 widget dashbord

I updated to WordPress 3.3 (manual update) and cleaned browser cache. Widgets dashbord stop working when tring to expand dynamic sidebars for custom theme when it works for previous wordpress 3.2 installation (using register sidebar on functions.php) I have tried to install Hotfix 0.8 exension and now it works for twentyten theme but not for […]

Forgot password not working

I have been trying to reset my admin password for my local install of wordpress running on MAMP. Previously had been working fine but I forgot the password but when I go through the process of ‘Lost your password’ I am meant to get an email with new password but it never arrives in my […]

W3 Total Cache active but not working

Update: Found the reason for the issue. The theme had this add_action(‘init’,’ezgz_buffer’); function ezgz_buffer() { ob_start(‘ob_gzhandler’); } The above code enables gzip-compression if the visitor’s browser can handle it. Actual Question: This is really really strange for me and I’m trying to figure out it for several hours. W3 Total Cache plugin is installed and […]

get_template_directory_uri() and other URL tags not working in theme

So, I’m trying to add get_template_directory_uri or bloginfo() to my header.php file to create relative paths for the CSS and JS files in the theme. E.g., <link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/style.css”> In theory this should show <link rel=”stylesheet” href=”http://mysite.com/wp-content/themes/myTheme/css/style.css”> Problem is, when I view the <head> tag in source all I see is: <link […]

Why is save_post hook not running?

I am trying to save my meta box, I have something like function xxx_meta_box_callback() { add_meta_box(‘xxx-meta’, ‘xxx Details’, ‘xxx_meta_box’, ‘xxx-post-type’, ‘side’, ‘default’); add_action(‘save_post’, ‘xxx_save_meta_box’); error_log(‘meta box cb’); } function xxx_save_meta_box($post_id, $post) { error_log(‘running …’); die(‘OK!!!’); } I am getting “meta box cb” ok in my error log, but xxx_save_meta_box() does not seem to run. Why […]

Troubleshooting fetch_feed and SimplePie

I’ve got a very basic solution using fetch_feed() and SimplePie to pull in RSS items which is working on my localhost, but for some reason is_wp_error() persists as true on the live server. Is there anyway for me to get specific output about the nature of the error so as to work towards a solution […]

Plugin screenshots not showing in the repository

I’m having major trouble getting the screenshots to show in my plugin. I have validated the readme file and placed the screenshots in both the /trunk and /tags/1.0 directories (1.0 is stable). I have looked at many search results and quite a few existing plugins to see what I’m doing different but I’m failing to […]