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

…R ADVERTISING OR OTHERWISE) TO THIS SITE, (III) THE SERVICES FOUND AT THIS SITE OR ANY SITES LINKED (THROUGH HYPERLINKS, BANNER ADVERTISING OR OTHERWISE) TO THIS SITE, (IV) PERSONAL INJURY OR PROPERTY DAMAGE OF ANY NATURE WHATSOEVER, (V) THIRD-PARTY CONDUCT OF ANY NATURE WHATSOEVER, (VI) ANY UNAUTHORIZED ACCESS TO OR USE OF OUR SERVERS AND/OR ANY AND ALL CONTENT, PERSONAL INFORMATION, FINANCIAL INFORMATION OR OTHER INFORMATION AND DATA STORED THER…

Read More

Cookie Policy

…les placed in the memory of your web browser or device when you visit a website or view a message. Cookies allow a website to recognize a particular device or browser. There are several types of cookies: Session cookies expire at the end of your browser session and allow us to link your actions during that particular browser session. Persistent cookies are stored on your device in between browser sessions, allowing us to remember your preferences…

Read More

Timezones

Down the Rabbit Hole: WordPress and Timezones

…strtotime uses the default timezone set in PHP which may or may not be the same as the actual site timezone set within WordPress. What we need to do is grab the site timezone and then create a unix timestamp of the release date & time: try { // get datetime object from site timezone $datetime = new DateTime( $datetime_string, new DateTimeZone( get_option( ‘timezone_string’ ) ); // get the unix timestamp (adjusted for the site‘s timezone already) $…

Read More

WP Development

WordPress Comments Feed 404 Fixed

…ing a friend to leave a comment would be slightly better, but still not as satisfying as knowing what the real issue is. Under the Hood If you’ve read this far, then like me you probably spend more time than you should on trivial things. I mean, you have drive and a thirst for knowledge, sweet! This rogue 404 seems to boil down to the handle_404() method of the WP class, unsurprisingly I suppose. Being fully aware that modifying core files is a ca…

Read More

Upgrading PHP Versions

…n break when updating the PHP version, so could you assist me to update my site safely to use PHP 7? Thanks! This is the exact kind of request any hosting company should be able to fulfill. If your hosting company will not update your site’s PHP version, then you could consider moving to a modern managed WordPress host. Recommended Hosts If your host will not upgrade PHP for your site, then we recommend checking out another host. Here are some of…

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

WordPress plugins vs themes

Why Use Plugins Instead of Theme Changes?

…very worrying about losing functionality or something you’ve built for the site. Your data and functionality then belong to your site, not your theme. Plugins can usually allow for more customization than theme changes as well. For example, if you’re creating a change to your theme that modifies a lot of pages or content, this might be something that you want to put into a plugin. That way, you also gain the flexibility to exclude some pages or mo…

Read More