WordPress is going through somewhat a transition lately with JSON REST API increasingly becoming a thing. And a good thing at that, because it's finally catching up with the rest of data-driven, JSON-powered world. What is JSON If you're unfamiliar with JSON (abbreviation for JavaScript Object Notation), simply put it's a standard format in which... [Continue Reading]
WordPress Tip: Quickly Import Posts via Google Sheets and JSON | Brian Coords
Recently, I found myself setting up a new WordPress site, but with an enormous legacy of content that needed to be uploaded in the form of posts and custom post types. We had about 1500 posts just in one category and a few hundred posts under different custom post types like ‘videos’ and ‘events’. To…
How To Create A WordPress Intranet Site: What You Need To Get It Setup
Learn how to create a WordPress intranet website for your business or organization. You'll learn how to create a completely internal localhost setup, as well as a more public-facing, but secured, extranet site. Plus tons of plugin and theme recommendations to get the functionality that you need.
How to Make the WordPress Editor Look Like Your Website
Though WordPress is increasingly on the verge of becoming a fully-fledged application framework, the humble post editor remains the area of the interface users spend most of their time in. It’s a part of the backend that’s seen significant improvements over the last number of years – the recent move to version 4.0 of TinyMCE in WordPress 3.9 being a highlight – but there’s still plenty of room for improvement. One of the most common problems users have with the editor is the need to constantly switch between editing and preview modes to see how content will actually look live.
How to Customize Your WordPress Post Excerpts | WPShout
The WordPress excerpts system works properly, but it uses lots of functions and it's hard to know which one does what. The WordPress post excerpts system Code snippets to change your WordPress post excerpts: set excerpt length, customize "Read More" text, count characters instead of words, and more.
I'm using the following to generate the thumbnail from a Vimeo video in Wordpress via the functions.php file: function get_vimeo_thumb($id, $size = 'thumbnail_small') { if(get_transient('vimeo_'...
Quick Tip: BEM Naming and WordPress Filters for Navigation
Maintaining CSS is difficult, especially in bigger projects working with a team. Naming conventions can help your CSS be more readable and easier to maintain. In this quick tip we’ll look at how to...
Move a WordPress Site with the Duplicator Plugin - WPShout
There are a lot of migration systems for WordPress. We’ve had lots of good experiences with All-in-One WP Migration. Some people swear by WP Migrate DB Pro. Others are partial to WP-CLI’s terminal-based systems. One of the few tools I’d never tried was Duplicator, but I recently did and I love it. I was very pleasantly surprised about a specific facet of it: I don’t need WordPress to get a new local copy of a remote WordPress site running on my local machine. You just pull down two files, put them in the same folder, and then you’re set. It’s great!
How to Build a Better Tag Cloud in WordPress — SitePoint
Craig isn't happy with the HTML produced by WordPress's wp_tag_cloud() function. In this tutorial he provides a customizable tag cloud generator which can be styled using CSS.
How to centrally align oEmbeds (including in Gutenberg) | Winwar Media
A post detailing how to centrally align oEmbeds. This includes both classic editor and the new editor (included in WordPress 5.0 - codename Gutenberg).
WordPress developers often enqueue scripts or styles for their themes or plugins. When creating a widget or shortcode, they aren't needed unless on the page
Creating a Better WordPress Loop Using PHP Generators - WP Scholar
The WordPress loop is ubiquitous. It is one of the first things you learn as a WordPress developer and it is something you must know the intricacies of in order to avoid causing problems. Learn how simple PHP generator can be used to simplify things and create a better WordPress loop...
How to Set a Default Fallback Image for WordPress Post Thumbnails
Step by step guide that shows you how to set a branded image as a default fallback post thumbnail or how to set the first post image as the default fallback post thumbnail.
How to Conditionally Enqueue a JavaScript File in WordPress - WPShout
Enqueuing is the WordPress way to add a stylesheet or JavaScript file on a page. We already published a Quick Guide about including your JavaScript in WordPress. This time, though, we’re adding an extra wrinkle: how do you only enqueue a JavaScript file on certain pages of your WordPress site. That’s the focus of this here Quick Guide.
Add Taxonomy Terms as CSS Classes to a Post | WP Beaches
You can use the body_class filter in WordPress to add the Taxonomy Terms of a Custom Taxonomy as CSS classes to a post. The CSS class appears in the body element and is only used if the post has been assigned to the taxonomy. The code goes in your functions.php file. add_filter( 'body_class', 'themeprefix_add_taxonomy_class'…
WordPress Local Development For Beginners: From Setup To Deployment
Is there a better way to make direct changes to your WordPress website? Yes, there is! Learn how to build a local WordPress environment with XAMPP and how to get your website online once it’s ready to see the light of day.
Getting started with continuous integration and WordPress | The Man in the Arena
I gave an introduction to continuous integration with WordPress at WordCamp San Diego 2018. This is the companion article that I wrote for it. If you’re just looking for the slides, click here.
I can't stop praising WordPress when it comes to the conveniences it provides. While the approach it takes on things might not suit everyone, every time, for the most part its solutions to common issues
How to Migrate from Wix to WordPress (Complete Guide)
Migrating from Wix to WordPress can be rather a complicated process, but it's definitely worth it. Check out this complete migration guide which can help make the transition a breeze!