Installing WordPress locally

If the other answers make sense I apologise for how patronising my answer must sound – but if they don’t make sense perhaps my N00B style answer will 🙂 You can’t mess up the installation of wordpress on your live server if you are simply developing a theme on the localhost installation (a skin is … Read more

Some images not found 404 in localhost

Changing the home and siteurl in your wp_options table is not enough unfortunately. You will still have your post content with your non-localhost URL (http://domain.com) causing your website to not display properly on your localhost. Once you’ve downloaded and imported your database to your localhost. Follow these steps: Go and download Interconnect IT’s Database Search … Read more

Shortcodes won’t work on live environment

So this turned out to be the problem: After running using WP_DEBUG on the live site it turned out $this was not defined in the following line: public function __construct(){ add_action(‘init’, function(){ add_shortcode(‘bbit’, array($this, ‘shortcode_handler’)); }); } shortcode_handler is a non-static function here, and this code was all called in a static context. It seems … Read more