Simply search and replace the following in all files: Search: Replace with:
Detect the WordPress login page
As seen here: https://stevegrunwell.com/blog/quick-tip-is_login_page-function-for-wordpress/ Add this function: Then you can use:
Clean a hacked WordPress website
Use the online RedLeg fileviewer to scan the website in question for malware, malicious redirects, malicious scripts and other bad stuff. Use the online deobfuscate javascript tool to deobfuscate javascript if scripts have been hidden. Some good practises to keep your website free from hacks: Update WordPress to the latest version Web-server hosting WordPress should Full Article…
How to move content and media from one WordPress website into another
This is an awesome article written by Tom Ewer found on wpmudev. Moving your WordPress site to another location can be a stressful and fiddly experience, not helped by the fact you can’t just simply move your files and database. No, that’s just not how WordPress works. Fortunately, WordPress has a handy “Import” and “Export” Full Article…
Post type selector for Advanced Custom Fields
As seen on Github: https://github.com/thomasdebruin/acf-post-type-selector Plugin Copy the ‘acf-post-type-selector’ folder into your plugins folder Activate the plugin via the Plugins admin page Include Copy the ‘acf-post-type-selector’ folder into your theme folder (can use sub folders). You can place the folder anywhere inside the ‘wp-content’ directory Edit your functions.php file and add the code below (Make Full Article…
How to Add Information to WooCommerce Emails
As seen here: https://www.sellwithwp.com/how-to-add-information-to-woocommerce-emails/ WooCommerce emails include each line item in an order by default within an “order items” table. This table is automatically included in almost every WooCommerce transactional email, and displays the product quantity, price, and total. However, this isn’t the only data that WooCommerce has available for the order items table in its Full Article…
Customising WooCommerce Order Emails
As seen on SkyVerge. You’ve lovingly setup your first WooCommerce shop: picked out that perfect theme (maybe one we recommend), polished your product page content to an irresistible shine, tested your frictionless checkout, and… received a nice enough but totally generic order email that in no way matches the look, the style of your shop. Full Article…
Storing WooCommerce Terms & Conditions in the Database
As written by Remi Corson: http://www.remicorson.com/storing-woocommerce-terms-conditions-in-the-database/
WordPress: Custom has_embed function
Taken from the great t31os! Recently someone on the WordPress forums asked if there was an easy way to determine if a post has any content embedded and if so, a link could be provided to indicate the visitor should click it to see the full post where the embedded content is available. The well Full Article…