If you are changing the domain of a WordPress blog, for development purposes or just moving to a new domain, there is a simple way to achieve this using WP CLI (WordPress Command line Interface). Instead of having to rely on a database command to update all references of the WordPress domain name, there is… Continue reading WP CLI – Change Blog Domain
Tag: wordpress
WordPress: change all url/websites address in posts
The SQL statement to change all references of a string in WordPress posts is: UPDATE wp_posts SET post_content = REPLACE(post_content, ‘staging.server.com’, ‘www.productionserver.com’);
Prevent Ampersand Issues in Javascript on WordPress Pages & Posts
Ampersands in WordPress Posts and Pages are always encoded into either their numeric (&) or name (&) html entity. This can become troublesome if you are including javascript into the page or post. Using the ampersand’s unicode code point value (0026) is the best way around this issue. So writing ampersand would be done by… Continue reading Prevent Ampersand Issues in Javascript on WordPress Pages & Posts
Avoid FTP Info Request From WordPress Updates
When performing WordPress updates, some installations prompt for FTP information. This request for FTP information is because WordPress cannot write the updates to files on the server through PHP and therefore requests FTP login information to attempt to write files via FTP instead of PHP. But, if you do not have FTP access, or do… Continue reading Avoid FTP Info Request From WordPress Updates
Alternative to Akismet
Aksimet is a paid anti-spam comment service that comes standard with your WordPress installation. As it is the standard for dealing with comment spam in WordPress, but it is a paid service. A combination of the following two plugins has proved to be a great free alternative to Akismet: Antispam Bee (Don’t let the German… Continue reading Alternative to Akismet
Triage – Handmade Leather Goods
Just finished helping a friend get a shop up and running: http://triagegoods.com On WordPress, this store represents a lot of work and fun. It’s worthing taking a peak at. Will be working hard to market with all the middle ware goodness that exists now a days.
Solving WordPress’s White Screen of Death
WordPress has an issue that can be dumbfounding to say the least. An occurrence called the “White Screen of Death” can happen for really any issue; incompatible plugin, theme bug, an update to a file, etc. But it’s the blank screen with no information that is the difficult part of solving the blank screens cause.… Continue reading Solving WordPress’s White Screen of Death
Can’t Find Documentation on a WordPress Function?
QueryPosts.com is a great site for documentation and source details on WordPress functions. WordPress.org’s Codex is an essential site for referencing the inner workings of WordPress and does have a long list of documentation covering most of the WordPress functions, but does not cover all the functions available in WordPress and doesn’t show the functions’… Continue reading Can’t Find Documentation on a WordPress Function?
Wordpess 3.4+, Using Theme Customizer
WordPress 3.4 introduced the Theme Customizer API. An excellent way to include customization options into a theme build. These features are not well documented on the WordPress.org Codex site, but there are several pages online that dig a bit deeper into the options and inner working of the Theme Customizer API. External References: https://codex.wordpress.org/Theme_Customization_API http://wp.tutsplus.com/tutorials/theme-development/digging-into-the-theme-customizer-components/… Continue reading Wordpess 3.4+, Using Theme Customizer
Access additional hidden options in WordPress
By visiting http://yourblog.com/wp-admin/options.php (Where yourblog.com is your blog’s url), you can access additional settings and options for fine-tuning your blog. It’s literally called the ‘All Settings’ page, which is a great place to change default settings you normally would have to hack around or download a plugin for.