Recreate WooCommerce Pages

When you first install WooCommerce you see a site-wide notice instructing you to install specific Pages required by WooCommerce to function properly. But, what if you want to recreate or create these pages from scratch?

Continue reading

How To Modify WordPress Search Widget

I am currently creating a custom WordPress theme. I had the HTML/CSS built first and I am in the process of converting it into theme compatible code. One of the problems I had to solve was displaying custom search form html in a WordPress sidebar.

Continue reading

Custom post type archive pagination showing 404 error

I recently ran into an error while creating an archive page for a WordPress custom post type that had me really stumped. The archive page for the custom post type showed a 404 error when an existing paginated page was meant to be shown in its place. Say you create a custom post type called …

Continue reading

Unexpected ‘function’ (T_FUNCTION) on line 1

Were you presented with the following PHP error after uploading a WordPress theme to a web server using FileZilla ftp client? If you open the file that’s mentioned in the error locally you won’t find anything unusual. The key is to download the same file from your server and open it. Is all the code …

Continue reading

XMLRPC and ini_set disabled warning in WordPress

If you wish to use the WordPress JetPack plugin on your WP website you must verify your WordPress.com account before any of the JetPack features are enabled and usable. To verify your WordPress.com account, JetPack uses the WordPress xmlrpc.php file located at yourdomain.com/xmlrpc.php. When you attempt verification you might encounter the following error: Warning: ini_set() …

Continue reading

How to create your own WordPress shortcodes

What is a WordPress shortcode? Shortcodes are a part of WordPress since WordPress 2.5. Shortcodes represent just that, short pieces of code developed to be inserted anywhere on a WordPress website in place of repetitive content. What does a WordPress shortcode look like? A WordPress shortcode is represented by a descriptive string inside square brackets …

Continue reading

Fixing FTP Connection Error on Localhost WordPress

If you have configured a LAMP or WAMP setup on your local machine and you have installed WordPress for testing purposes, you might be surprised to be asked for your ftp connection details when you attempt to run the automated update feature of a theme, plugin or WordPress itself. This usually happens if you haven’t …

Continue reading