Slides from a recent talk on building potent WordPress websites. Includes potential paths for building out flexible themes, workflow, general tips, and best practices.
The Advanced Custom Fields color picker field is an easy way to give users control over colors on a WordPress site. It can be further enhanced to display a custom selection of color palettes, making it so you don’t have to remember the hex codes for frequently used colors.
This particular method takes advantage of ACF hooks to ensure all fields (previously saved as well as those added dynamically but not yet saved) display your custom palettes.
An important component of responsive design is handling images. Forcing mobile visitors download of full sized images isn’t optimal, neither is serving up blurry low-res images. On top of that if visitors are viewing on higher density displays then it’s all blurry.
Sometimes you have a set of custom posts that are subscriber only. Sometimes you want a couple posts to be available publicly. Unfortunately there’s not a well documented way to do this, and the last thread on the topic received the response “there isn’t that yet.”
Rough day for the internet. A vulnerability was found in the OpenSSL cryptographic library, commonly used to secure Apache and nginx servers. This affects roughly 70% – 80% of servers currently in use. From the Heartbleed Bug site:
The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).
The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.
You can test if your server is vulnerable at Qualys® SSL Labs.
A list of potentially affected sites (that you may consider changing your password on) can be viewed at Digital Trends.
Additional list of potentially affected sites can be viewed on Mashable.