Pagely staging site

How to create a Pagely staging site (for the non-developer)

…again): $ wp search-replace http://production-site-domain.com http://pagelysite.sites.pressdns.com –dry-run If this looks good and produced no issues, do a live run by entering (replace domain names again): $ wp search-replace http://production-site-domain.com http://pagelysite.sites.pressdns.com This should resolve the issue – check your Pagely temporary URL again in a new browser or incognito window. This part you may still need. If you still e…

Read More

Terms of Service

…he entire agreement between you and SkyVerge and govern your use of the Website, superseding any prior agreements between you and SkyVerge (including, but not limited to, any prior versions of the Terms). DISPUTES, BINDING INDIVIDUAL ARBITRATION AND WAIVER OF CLASS ACTIONS AND CLASS ARBITRATIONS PLEASE READ THIS SECTION CAREFULLY. FOLLOW THE INSTRUCTIONS BELOW IF YOU WISH TO OPT OUT OF THE PROVISIONS REQUIRING YOU TO RESOLVE DISPUTES THROUGH INDIV…

Read More

Cookie Policy

…r actions across multiple sites. First-party cookies are those set by a website that is being visited by the user at the time in order to preserve your settings (e.g., while on our site). Third-party cookies are placed in your browser by a website, or domain, that is not the website or domain that you are currently visiting. If a user visits a website and another entity sets a cookie through that website this would be a third-party cookie. Cookies…

Read More

Timezones

Down the Rabbit Hole: WordPress and Timezones

…make this happen. Let’s make one: /** * Returns the timezone string for a site, even if it’s set to a UTC offset * * Adapted from http://www.php.net/manual/en/function.timezone-name-from-abbr.php#89155 * * @return string valid PHP timezone string */ function wp_get_timezone_string() { // if site timezone string exists, return it if ( $timezone = get_option( ‘timezone_string’ ) ) return $timezone; // get UTC offset, if it isn’t set then return UTC…

Read More

WP Development

WordPress Comments Feed 404 Fixed

…I can’t be sure that making this change won’t have dire consequences for a site. If you’re foolish enough to try this and your blog catches fire and falls from the sky, don’t blame me! And with that out of the way, my solution is to add a !is_feed() check to the handle 404 method to exclude feed pages from the 404 check, as shown in the complete and modified method below: function handle_404() { global $wp_query; if ( ! is_admin() && ( 0 == count(…

Read More

WooConf 2016 Recap

…and how to take it to the next level for massive stores, and Bryce Adams’s super-futuristic demos on using the WooCommerce REST API / Webhooks to do everything from display notices on your clock when you get a sale to powering a delivery drone. Day 2 Day 2 continued with more fantastic presentations — huge props to Michael Steele for talking about membership site offerings, and completing his talk like a boss when slides stopped being available ha…

Read More

Upgrading PHP Versions

…ng to PHP7 in case a roll-back is needed. Request an upgrade for your live site! If you use SiteGround, you can even flip the switch yourself. Email Your Host If your host doesn’t provide a way for you to upgrade yourself to PHP7, then you can email to request an update. The Yoast Team also has a very good collection of popular hosts and their instructions to upgrade PHP. If your host is not listed, consider sending the following (you could also r…

Read More

Exclude Your Traffic From Jetpack Site Stats

…ion are discussed in the remainder of this article. Excluding Traffic from Site Stats… So Close By default Jetpack Site Stats won’t record traffic from logged-in visitors. You can verify this is enabled by clicking the Jetpack top menu item, and then clicking ‘Configure’ under ‘Wordpress.com Stats’: This will bring you to the Site Stats settings page, which oddly doesn’t seem to be linked to from the main Site Stats dashboard. But regardless, from…

Read More

Guide for Upgrading to WooCommerce 2.1

site. This is another reason we love WP Engine. You can use their staging site capabilities to clone your site to a staging environment, make any changes needed, then copy those changes back to your live site. BackupBuddy can do this as well by copying your domain to a sub-domain, such as staging.mysite.com. You could also achieve this with a plugin like WP Stagecoach. Performing Upgrades Once you have a backup and testing site ready, you should…

Read More

Changing WooCommerce Custom Order Status Icons

…r media file in the content: url(); part. Notice that I didn’t need http://www.mysite.com/ – I can just start from the /wp-content/ part. Check out your orders list. You’ve now got shiny new WooCommerce custom order status icons! Adding your custom status icons is simple, and is a great way to help you see your order statuses at a glance when viewing them in your WooCommerce shop. We’d love to hear about it in the comments if you use this tip! Ple…

Read More