In the first post in this series, I gave an overview of all of the various types of metadata offered by WordPress, where it's kept, and what we're going to be covering throughout this series.
Further, I defined what metadata is; its role within WordPress, and how it's relevant to us as developers. But the introduction was meant to be just that: a survey of what we're going to be covering throughout the rest of this series.
Starting in this post, we're going to begin exploring the WordPress Post Meta API to see why it's useful, what we can do with it, and how to take advantage of the methods offered via the WordPress application.
First, if you're an advanced developer, then it's not likely this series of tutorials is going to be of much help to you. Instead, it's geared more towards those who have worked a little bit with themes, perhaps tweaked some plugin code, and are ready to take it a step further by adding some extra information to the posts (or the post types) that compose their project.
Secondly, note that the code examples in this tutorial are not for use in a production environment. Instead, the code we're going to be looking at is not meant to be used anywhere that anyone has public access to the site.
Right now, I'm planning to cover more advanced techniques for this topic after we work our way through this series. But for now, we're only going to concern ourselves with working with the API.
Why, though? What's the delay in covering additional information? Simply put, it has to do with website security. Specifically, whenever we're writing information into the database, we have to assume that the data is not in a format that's safe for us to store; we have to sanitize the data.
There's an entirely different set of APIs for sanitizing data we need to explore that will work in conjunction with the metadata APIs, but this is not the tutorial for doing so.
I know, it may sound a little frustrating to talk about these APIs without being able to leverage them. Remember, though, this is meant to be an introduction to the API. The tutorials should provide enough information for you to get started working with post metadata on your machine, but should also leave enough questions such that we can take a deeper dive into the topic in a future series of articles.
With that said, let's go ahead and get started with the WordPress Post Meta API. And be warned: This is a long tutorial.
Before we look at the code, it's important to make sure that you have the necessary tools to browse the database on which your WordPress installation is running. Some of the available tools include:
But feel free to use whatever you like most. As long as you can view the data in the database, you're ready to go.
Next, let's understand how WordPress defines post metadata. According to the Codex:
WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data.Meta-data is handled with key/value pairs. The key is the name of the meta-data element. The value is the information that will appear in the meta-data list on each individual post that the information is associated with.
In simpler terms, WordPress allows us to write custom information to the database, associate it with any post we'd like, and then retrieve it as needed. Further, the information is stored using unique key/value pairs.
If this sounds foreign to you, don't even worry about it. The idea is that for each value that you store, it's related to a unique key (much like a doorknob has a unique key for unlocking it).
The key is how we can retrieve the value from the post. But this does raise a question: What happens if a post has multiple pieces of metadata associated with it? That is, if any given post can have multiple pieces of metadata stored alongside it, how do we retrieve unique metadata?
As we'll see when we begin looking at some of the example code below, in addition to using the key used when storing data, we also need to pass the post's unique ID to the function.
Nothing works better than seeing it in action, though. So assuming that you have WordPress set up on your local machine and that you're okay with editing functions.php
in the core of your default theme, let's get started.
I'll be using the following tools:
The most important thing is that you're running both WordPress and the theme mentioned above.
Finally, if you're more comfortable with another IDE and database front-end, that's completely fine.
We've covered a lot of information in the introduction of this article, but it will come in handy as we begin to look not only at the Post Meta API but the other APIs, as well. So keep this mind. I'll be referring to this particular article in future articles, too.
Let's dig into the API.
The way we're going to incorporate the code is not the professional way of making changes to your theme, implementing this functionality, or interfacing with an API. We are doing this for a beginner's first steps into WordPress development.
In a follow-up series, we're going to take the work we've done in this series and extract it into a more maintainable plugin that also includes a greater focus on maintainability, security, and more.
For now, we're focusing on the basics of the API.
Remember that I'm using a basic installation of WordPress along with the twentysixteen theme for the demos that we're going to see throughout this tutorial and the rest of the tutorials in the series.
Secondly, we're going to be making changes in functions.php
. This is usually not the best place to make this change; however, please make sure that you've read the note above before proceeding.
With that said, let's assume that you have your server running, your IDE up and ready, and functions.php
in your editor. Though your screenshot may look a bit different, it should resemble this:
The challenge with working with functions.php
is that it's already full of code that helps power the existing theme. Though we'll ultimately move our code into a plugin in a future series, let's at least take the first step in making our file so that we can self-contain our code.
Using your IDE of choice:
tutsplus-metadata.php
.Once done, you should have something like this on your file system:
Finally, we need to make sure we include this in functions.php
. To do that, add the following line of code just under the opening PHP tag.
<?php include_once( 'tutsplus-metadata.php' );
Reload your browser. If all goes well, you should see the theme exactly as it was before adding your file to functions.php
.
Now, let's get to work.
Recall our earlier discussion that we need three things to add metadata to the database:
For this tutorial, all we're concerned with doing is adding metadata that will appear on the default Hello World! post that comes standard in each installation of WordPress.
Let's say that we want to add some metadata that includes our name. So the meta key we'll use is my_name
and the value that we'll use is whatever your name is. In my case, it's "Tom McFarlin".
The first thing we want to do is to define a function that hooks into the_content
. This will allow us to output our text when the function runs. If you're not familiar with hooks, then please read this series.
Your initial code should look like this:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { echo "[We are here.]" } return $content; }
When you execute this code, the string "[We are here.]" should appear above the post content before anything else, and it should only happen on the Hello World! post. This is because we're checking to make sure the ID is 1 before we echo
the string.
Note that the final version of the code shared at the end of this post will be complete with comments. Until then, I'll be explaining what the code is doing as we add each new piece to our code.
Now let's add some actual metadata. To do so, add this code in the body of the conditional so that we're sure that we're doing so for Hello World. Since we're already checking for the ID of 1 in the conditional, then we can just remove the code we added in the previous section and update it.
Within the body of the conditional, we'll make a call to the add_post_meta
API function that looks like this:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { add_post_meta( get_the_ID(), 'my_name', 'Tom McFarlin' ); } return $content; }
It'd be nice if we could do something with this information. Before we do that, though, there's some more information we need to cover. Namely, about updating metadata (and how it differs from adding metadata) along with some nuances you may not expect when dealing with the API.
There's a subtle difference between adding metadata and updating metadata. You know how a key uniquely identifies a value that's associated with it? Well, that's partially accurate.
When you call add_post_meta
, you're creating an entry every single time you're making that call. So in our code above, if you refresh the page three times, then you're going to see something like this:
Curious, right? Recall what the Codex says:
Note that if the given key already exists among custom fields of the specified post, another custom field with the same key is added unless the $unique argument is set to true, in which case, no changes are made.
Ah, there's an optional parameter that the function accepts. It's a boolean called $unique
, and it allows us to pass true
if we only want to make sure that the value that's added is unique.
You may want to delete your existing records at this point. If not, that's fine—just use a different value for the my_name
key.
This means we could update our code to look like this:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { add_post_meta( get_the_ID(), 'my_name', 'Tom McFarlin', true ); } return $content; }
Now you're only creating a single entry. Furthermore, if you were to try to change the value of that key in the code, then it would not be overwritten in the database. Once writing the post metadata is complete, it's stored as it was the first time.
But it doesn't have to be that way, and that's where update_post_meta
comes into play. In fact, update_post_meta
might be used more than add_post_meta
, depending on your use case.
Before taking a look at the code, check out what the Codex has to say:
The function update_post_meta() updates the value of an existing meta key (custom field) for the specified post.This may be used in place of add_post_meta() function. The first thing this function will do is make sure that $meta_key already exists on $post_id. If it does not, add_post_meta($post_id, $meta_key, $meta_value) is called instead and its result is returned.
Did you catch that? It can "be used in place of add_post_meta
", which is useful because this means:
update_post_meta
,At this point, you may want to delete the information you have in your database, or create a new pair of keys and values. This means we can update our code to look like this:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { update_post_meta( get_the_ID(), 'my_name', 'Tom McFarlin' ); } return $content; }
This brings some inherent dangers with it, though.
Namely, if you overwrite a value that you never intended to overwrite, then that value is gone, and it can't be reclaimed (unless you do fancier work that's outside the scope of this series).
There's an optional final argument for update_post_meta
, though, and that's the $prev_value
argument. That is, you can specify which value you want to overwrite.
Take, for example, the case where you have multiple records with the same key created with add_post_meta
and you want to update only one of those records. To update that data, you'd pass in the value corresponding to that one record.
The difference between add_post_meta
and update_post_meta
may be considered subtle, but it depends on your use case.
I'll try to break them down as simply as possible here because, although it may seem complicated given the examples that we've seen above, it's more straightforward when you lay it all out.
add_post_meta
is useful when you want to introduce a record into the database. If the value already exists, then the new value may or not be written. If you pass true
for the $unique
parameter of the function, then only the first record will be created, and nothing will overwrite that except update_post_meta
.update_post_meta
can be used in place of add_post_meta
and will always overwrite the previous value that existed. If you're working with multiple records created by add_post_meta
, then you may need to specify a previous value that you wish to overwrite.And that's everything. Of course, we still have to deal with retrieving the records from the database and displaying them on the screen.
When it comes to retrieving post metadata, there are two main things you need to remember:
Sometimes it depends on how you stored the original information; other times it's based on how you want to work with it.
Before we look at the various ways we can retrieve information, let's first look at the basic API call for doing so. Specifically, I'm talking about get_post_meta
. If you've been following along so far, then understanding the API should be relatively easy.
The function accepts three parameters:
From the Codex:
Retrieve post meta field for a post. Will be an array if $single is false. Will be value of meta data field if $single is true.
Seems easy enough. So given where the last bit of our source code sits right now, I'd say we can retrieve information by making a call such as get_post_meta( get_the_ID(), 'my_name' );
.
The code, as it stands above, will return an array.
Whenever you hear the phrase "multiple values", it can be helpful to think of an array or some type of data collection in the programming language you're using.
In our examples, think of when we were storing the same key several times using add_post_meta
. As a refresher, here was what the database looked like:
If I were to retrieve the information by its key, what would I get back? Since I didn't specify that I wanted a string, I would get back an array of all of the records. This would allow me to iterate through each of them.
If, on the other hand, I were to specify true for wanting to get back a string, then I'd only get the first row that was created using add_post_meta
.
To that end, if you're looking to get back multiple values for a given key, then your code would look like this:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { var_dump( get_post_meta( get_the_ID(), 'my_name' ) ); } return $content; }
Note that I'm using var_dump
to make it easier to see what information is returning from WordPress within the browser; however, I'm more of a fan of using a debugger, which is something that we may discuss in a future post.
Now let's say that you want to get single values stored for one post. In this case, you still need the post ID and the metadata key; however, you'll also need to provide true
as the third parameter to get_post_meta
.
As mentioned above, if you're dealing with a situation in which multiple rows have been created using add_post_meta
, then you're going to get back the first row that was created; however, if you're using this function alongside update_post_meta
then you'll get back a string value of the data that was stored.
Since we've covered the former but haven't covered the latter, here's what the code looks like:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { var_dump( get_post_meta( get_the_ID(), 'my_name', true ) ); } return $content; }
And then you'll get back whatever value you saved as the meta value when making a call to the function. It's pretty simple in comparison to having to work with a set of records and arrays that may or may not contain similar information.
The last bit of working with post metadata has everything to do with being able to delete it. It's easy, but there are just a few nuances that we need to understand to make sure we're doing it effectively.
But first, here's the definition from the Codex:
This function deletes all custom fields with the specified key, or key and value, from the specified post.
Short, sweet, and to the point. The function accepts three arguments:
The meta value is optional, but it comes in handy if you've been working with add_post_meta
and want to delete one of the specific entries created by multiple calls to that function (as we've seen elsewhere throughout this tutorial).
Although making a call to delete_post_meta
is as simple as passing a post ID, the meta key, and the optional meta value, the function returns a boolean value stating whether or not the data was removed.
Example code for deleting some of the post metadata that we've been looking at thus far might look like this:
<?php add_action( 'the_content', 'tutsplus_metadata' ); function tutsplus_metadata( $content ) { if ( 1 === get_the_ID() ) { delete_post_meta( get_the_ID(), 'my_name' ); } return $content; }
However, your implementation may vary. If you're working with multiple pieces of metadata and if you want to verify that it was a successful deletion, then you may wrap the code in a conditional.
Below you're going to find a long, documented code snippet that should represent the majority of what we've talked about in this tutorial. Note that the functions are hooking into the_content
.
This is just for demonstration purposes so that you can easily trigger the firing of these functions whenever you load a particular page.
<?php /** * This file shows how to work with the common Post Meta API functions. * * Namely, it demonstrates how to use: * - add_post_meta * - update_post_meta * - get_post_meta * - delete_post_meta * * Each function is hooked to 'the_content' so that line will need to be * commented out depending on which action you really want to test. * * Also note, from the tutorial linked below, that this file is used form * demonstration purposes only and should not be used in a production * environment. * * Tutorial: * http://code.tutsplus.com/tutorials/how-to-work-with-wordpress-post-metadata--cms-25715 * * @version 1.0.0 * @author Tom McFarlin * @package tutsplus_wp_metadata */ add_action( 'the_content', 'tutsplus_add_post_meta' ); /** * Determines if the current post is the default 'Hello World' post and, if so, * adds my name as the post meta data to the postmeta database table. * * @param string $content The post content. * @return string $content The post content. */ function tutsplus_add_post_meta( $content ) { if ( 1 === get_the_ID() ) { add_post_meta( get_the_ID(), 'my_name', 'Tom McFarlin' ); } return $content; } add_action( 'the_content', 'tutsplus_update_post_meta' ); /** * Determines if the current post is the default 'Hello World' post and, if so, * updates my name as the post meta data to the postmeta database table. This * is an alternative way of writing post metadata to the postmeta table as * discussed in the linked tutorial. * * @param string $content The post content. * @return string $content The post content. */ function tutsplus_update_post_meta( $content ) { if ( 1 === get_the_ID() ) { update_post_meta( get_the_ID(), 'my_name', 'Tom McFarlin' ); } return $content; } add_action( 'the_content', 'tutsplus_get_post_meta' ); /** * Determines if the current post is the default 'Hello World' post and, if so, * retrieves the value for the 'my_name' in the format of a string and echoes * it back to the browser. * * @param string $content The post content. * @return string $content The post content. */ function tutsplus_get_post_meta( $content ) { // Note: Don't worry about the esc_textarea call right now. if ( 1 === get_the_ID() ) { echo esc_textarea( get_post_meta( get_the_ID(), 'my_name', true ) ); } return $content; } add_action( 'the_content', 'tutsplus_delete_post_meta' ); /** * Determines if the current post is the default 'Hello World' post and, if so, * deletes the post metadata identified by the unique key. * * @param string $content The post content. * @return string $content The post content. */ function tutsplus_delete_post_meta( $content ) { if ( 1 === get_the_ID() ) { delete_post_meta( get_the_ID(), 'my_name' ); } return $content; }
Typically, you'll find metadata functions associated with other hooks such as save_post
and similar operations, but this is a topic for more advanced work. Perhaps we'll cover that in another series later this year.
Every single one of the API functions is available in the WordPress Codex, so if you'd like to jump ahead and do some more reading before the next article in the series, then feel free to do so.
As previously mentioned, this is an introduction to the WordPress Post Meta API. Through the information provided in the Codex, in this tutorial, and in the source code provided, you should be able to begin writing additional content to the database related to each of your posts.
Remember, though, this is meant for demonstration purposes as we have more information to cover. Specifically, we need to examine data sanitization and data validation. Though we have additional topics to cover first (such as user metadata, comment metadata, and so on), we'll move on to more advanced topics soon.
Ultimately, we're trying to lay a foundation for future WordPress developers to build from when they go forward and work on solutions for others, for their agencies, or even for their projects.
With that said, I'm looking forward to continuing this series. Remember if you're just getting started, you can check out my series on how to get started with WordPress, which focuses on topics specifically for WordPress beginners.
In the meantime, if you're looking for other utilities to help you build out your growing set of tools for WordPress or for code to study and become more well-versed in WordPress, don't forget to see what we have available in Envato Market.
Remember, you can catch all of my courses and tutorials on my profile page, and you can follow me on my blog and/or Twitter at @tommcfarlin where I talk about various software development practices and how we can employ them in WordPress.
Please don't hesitate to leave any questions or comments in the feed below, and I'll aim to respond to each of them.
The Best Small Business Web Designs by DesignRush
/Create Modern Vue Apps Using Create-Vue and Vite
/Pros and Cons of Using WordPress
/How to Fix the “There Has Been a Critical Error in Your Website” Error in WordPress
How To Fix The “There Has Been A Critical Error in Your Website” Error in WordPress
/How Long Does It Take to Learn JavaScript?
/The Best Way to Deep Copy an Object in JavaScript
/Adding and Removing Elements From Arrays in JavaScript
/Create a JavaScript AJAX Post Request: With and Without jQuery
/5 Real-Life Uses for the JavaScript reduce() Method
/How to Enable or Disable a Button With JavaScript: jQuery vs. Vanilla
/How to Enable or Disable a Button With JavaScript: jQuery vs Vanilla
/Confirm Yes or No With JavaScript
/How to Change the URL in JavaScript: Redirecting
/15+ Best WordPress Twitter Widgets
/27 Best Tab and Accordion Widget Plugins for WordPress (Free & Premium)
/21 Best Tab and Accordion Widget Plugins for WordPress (Free & Premium)
/30 HTML Best Practices for Beginners
/31 Best WordPress Calendar Plugins and Widgets (With 5 Free Plugins)
/25 Ridiculously Impressive HTML5 Canvas Experiments
/How to Implement Email Verification for New Members
/How to Create a Simple Web-Based Chat Application
/30 Popular WordPress User Interface Elements
/Top 18 Best Practices for Writing Super Readable Code
/Best Affiliate WooCommerce Plugins Compared
/18 Best WordPress Star Rating Plugins
/10+ Best WordPress Twitter Widgets
/20+ Best WordPress Booking and Reservation Plugins
/Working With Tables in React: Part Two
/Best CSS Animations and Effects on CodeCanyon
/30 CSS Best Practices for Beginners
/How to Create a Custom WordPress Plugin From Scratch
/10 Best Responsive HTML5 Sliders for Images and Text… and 3 Free Options
/16 Best Tab and Accordion Widget Plugins for WordPress
/18 Best WordPress Membership Plugins and 5 Free Plugins
/25 Best WooCommerce Plugins for Products, Pricing, Payments and More
10 Best WordPress Twitter Widgets
1 /12 Best Contact Form PHP Scripts for 2020
/20 Popular WordPress User Interface Elements
/10 Best WordPress Star Rating Plugins
/12 Best CSS Animations on CodeCanyon
/12 Best WordPress Booking and Reservation Plugins
/12 Elegant CSS Pricing Tables for Your Latest Web Project
/24 Best WordPress Form Plugins for 2020
/14 Best PHP Event Calendar and Booking Scripts
/Create a Blog for Each Category or Department in Your WooCommerce Store
/8 Best WordPress Booking and Reservation Plugins
/Best Exit Popups for WordPress Compared
/Best Exit Popups for WordPress Compared
/11 Best Tab & Accordion WordPress Widgets & Plugins
/12 Best Tab & Accordion WordPress Widgets & Plugins
1New Course: Practical React Fundamentals
/Preview Our New Course on Angular Material
/Build Your Own CAPTCHA and Contact Form in PHP
/Object-Oriented PHP With Classes and Objects
/Best Practices for ARIA Implementation
/Accessible Apps: Barriers to Access and Getting Started With Accessibility
/Dramatically Speed Up Your React Front-End App Using Lazy Loading
/15 Best Modern JavaScript Admin Templates for React, Angular, and Vue.js
/15 Best Modern JavaScript Admin Templates for React, Angular and Vue.js
/19 Best JavaScript Admin Templates for React, Angular, and Vue.js
/New Course: Build an App With JavaScript and the MEAN Stack
/Hands-on With ARIA: Accessibility Recipes for Web Apps
/10 Best WordPress Facebook Widgets
13 /Hands-on With ARIA: Accessibility for eCommerce
/New eBooks Available for Subscribers
/Hands-on With ARIA: Homepage Elements and Standard Navigation
/Site Accessibility: Getting Started With ARIA
/How Secure Are Your JavaScript Open-Source Dependencies?
/New Course: Secure Your WordPress Site With SSL
/Testing Components in React Using Jest and Enzyme
/Testing Components in React Using Jest: The Basics
/15 Best PHP Event Calendar and Booking Scripts
/Create Interactive Gradient Animations Using Granim.js
/How to Build Complex, Large-Scale Vue.js Apps With Vuex
1 /Examples of Dependency Injection in PHP With Symfony Components
/Set Up Routing in PHP Applications Using the Symfony Routing Component
1 /A Beginner’s Guide to Regular Expressions in JavaScript
/Introduction to Popmotion: Custom Animation Scrubber
/Introduction to Popmotion: Pointers and Physics
/New Course: Connect to a Database With Laravel’s Eloquent ORM
/How to Create a Custom Settings Panel in WooCommerce
/Building the DOM faster: speculative parsing, async, defer and preload
1 /20 Useful PHP Scripts Available on CodeCanyon
3 /How to Find and Fix Poor Page Load Times With Raygun
/Introduction to the Stimulus Framework
/Single-Page React Applications With the React-Router and React-Transition-Group Modules
12 Best Contact Form PHP Scripts
1 /Getting Started With the Mojs Animation Library: The ShapeSwirl and Stagger Modules
/Getting Started With the Mojs Animation Library: The Shape Module
/Getting Started With the Mojs Animation Library: The HTML Module
/Project Management Considerations for Your WordPress Project
/8 Things That Make Jest the Best React Testing Framework
/Creating an Image Editor Using CamanJS: Layers, Blend Modes, and Events
/New Short Course: Code a Front-End App With GraphQL and React
/Creating an Image Editor Using CamanJS: Applying Basic Filters
/Creating an Image Editor Using CamanJS: Creating Custom Filters and Blend Modes
/Modern Web Scraping With BeautifulSoup and Selenium
/Challenge: Create a To-Do List in React
1 /Deploy PHP Web Applications Using Laravel Forge
/Getting Started With the Mojs Animation Library: The Burst Module
/10 Things Men Can Do to Support Women in Tech
/A Gentle Introduction to Higher-Order Components in React: Best Practices
/Challenge: Build a React Component
/A Gentle Introduction to HOC in React: Learn by Example
/A Gentle Introduction to Higher-Order Components in React
/Creating Pretty Popup Messages Using SweetAlert2
/Creating Stylish and Responsive Progress Bars Using ProgressBar.js
/18 Best Contact Form PHP Scripts for 2022
/How to Make a Real-Time Sports Application Using Node.js
/Creating a Blogging App Using Angular & MongoDB: Delete Post
/Set Up an OAuth2 Server Using Passport in Laravel
/Creating a Blogging App Using Angular & MongoDB: Edit Post
/Creating a Blogging App Using Angular & MongoDB: Add Post
/Introduction to Mocking in Python
/Creating a Blogging App Using Angular & MongoDB: Show Post
/Creating a Blogging App Using Angular & MongoDB: Home
/Creating a Blogging App Using Angular & MongoDB: Login
/Creating Your First Angular App: Implement Routing
/Persisted WordPress Admin Notices: Part 4
/Creating Your First Angular App: Components, Part 2
/Persisted WordPress Admin Notices: Part 3
/Creating Your First Angular App: Components, Part 1
/How Laravel Broadcasting Works
/Persisted WordPress Admin Notices: Part 2
/Create Your First Angular App: Storing and Accessing Data
/Persisted WordPress Admin Notices: Part 1
/Error and Performance Monitoring for Web & Mobile Apps Using Raygun
/Using Luxon for Date and Time in JavaScript
7 /How to Create an Audio Oscillator With the Web Audio API
/How to Cache Using Redis in Django Applications
/20 Essential WordPress Utilities to Manage Your Site
/Introduction to API Calls With React and Axios
/Beginner’s Guide to Angular 4: HTTP
/Rapid Web Deployment for Laravel With GitHub, Linode, and RunCloud.io
/Beginners Guide to Angular 4: Routing
/Beginner’s Guide to Angular 4: Services
/Beginner’s Guide to Angular 4: Components
/Creating a Drop-Down Menu for Mobile Pages
/Introduction to Forms in Angular 4: Writing Custom Form Validators
/10 Best WordPress Booking & Reservation Plugins
/Getting Started With Redux: Connecting Redux With React
/Getting Started With Redux: Learn by Example
/Getting Started With Redux: Why Redux?
/How to Auto Update WordPress Salts
/How to Download Files in Python
/Eloquent Mutators and Accessors in Laravel
1 /10 Best HTML5 Sliders for Images and Text
/Site Authentication in Node.js: User Signup
/Creating a Task Manager App Using Ionic: Part 2
/Creating a Task Manager App Using Ionic: Part 1
/Introduction to Forms in Angular 4: Reactive Forms
/Introduction to Forms in Angular 4: Template-Driven Forms
/24 Essential WordPress Utilities to Manage Your Site
/25 Essential WordPress Utilities to Manage Your Site
/Get Rid of Bugs Quickly Using BugReplay
1 /Manipulating HTML5 Canvas Using Konva: Part 1, Getting Started
/10 Must-See Easy Digital Downloads Extensions for Your WordPress Site
/22 Best WordPress Booking and Reservation Plugins
/Understanding ExpressJS Routing
/15 Best WordPress Star Rating Plugins
/Creating Your First Angular App: Basics
/Inheritance and Extending Objects With JavaScript
/Introduction to the CSS Grid Layout With Examples
1Performant Animations Using KUTE.js: Part 5, Easing Functions and Attributes
Performant Animations Using KUTE.js: Part 4, Animating Text
/Performant Animations Using KUTE.js: Part 3, Animating SVG
/New Course: Code a Quiz App With Vue.js
/Performant Animations Using KUTE.js: Part 2, Animating CSS Properties
Performant Animations Using KUTE.js: Part 1, Getting Started
/10 Best Responsive HTML5 Sliders for Images and Text (Plus 3 Free Options)
/Single-Page Applications With ngRoute and ngAnimate in AngularJS
/Deferring Tasks in Laravel Using Queues
/Site Authentication in Node.js: User Signup and Login
/Working With Tables in React, Part Two
/Working With Tables in React, Part One
/How to Set Up a Scalable, E-Commerce-Ready WordPress Site Using ClusterCS
/New Course on WordPress Conditional Tags
/TypeScript for Beginners, Part 5: Generics
/Building With Vue.js 2 and Firebase
6 /Best Unique Bootstrap JavaScript Plugins
/Essential JavaScript Libraries and Frameworks You Should Know About
/Vue.js Crash Course: Create a Simple Blog Using Vue.js
/Build a React App With a Laravel RESTful Back End: Part 1, Laravel 5.5 API
/API Authentication With Node.js
/Beginner’s Guide to Angular: HTTP
/Beginner’s Guide to Angular: Routing
/Beginners Guide to Angular: Routing
/Beginner’s Guide to Angular: Services
/Beginner’s Guide to Angular: Components
/How to Create a Custom Authentication Guard in Laravel
/Learn Computer Science With JavaScript: Part 3, Loops
/Build Web Applications Using Node.js
/Learn Computer Science With JavaScript: Part 4, Functions
/Learn Computer Science With JavaScript: Part 2, Conditionals
/Create Interactive Charts Using Plotly.js, Part 5: Pie and Gauge Charts
/Create Interactive Charts Using Plotly.js, Part 4: Bubble and Dot Charts
Create Interactive Charts Using Plotly.js, Part 3: Bar Charts
/Awesome JavaScript Libraries and Frameworks You Should Know About
/Create Interactive Charts Using Plotly.js, Part 2: Line Charts
/Bulk Import a CSV File Into MongoDB Using Mongoose With Node.js
/Build a To-Do API With Node, Express, and MongoDB
/Getting Started With End-to-End Testing in Angular Using Protractor
/TypeScript for Beginners, Part 4: Classes
/Object-Oriented Programming With JavaScript
/10 Best Affiliate WooCommerce Plugins Compared
/Stateful vs. Stateless Functional Components in React
/Make Your JavaScript Code Robust With Flow
/Build a To-Do API With Node and Restify
/Testing Components in Angular Using Jasmine: Part 2, Services
/Testing Components in Angular Using Jasmine: Part 1
/Creating a Blogging App Using React, Part 6: Tags
/React Crash Course for Beginners, Part 3
/React Crash Course for Beginners, Part 2
/React Crash Course for Beginners, Part 1
/Set Up a React Environment, Part 4
1 /Set Up a React Environment, Part 3
/New Course: Get Started With Phoenix
/Set Up a React Environment, Part 2
/Set Up a React Environment, Part 1
/Command Line Basics and Useful Tricks With the Terminal
/How to Create a Real-Time Feed Using Phoenix and React
/Build a React App With a Laravel Back End: Part 2, React
/Build a React App With a Laravel RESTful Back End: Part 1, Laravel 9 API
/Creating a Blogging App Using React, Part 5: Profile Page
/Pagination in CodeIgniter: The Complete Guide
/JavaScript-Based Animations Using Anime.js, Part 4: Callbacks, Easings, and SVG
/JavaScript-Based Animations Using Anime.js, Part 3: Values, Timeline, and Playback
/Learn to Code With JavaScript: Part 1, The Basics
/10 Elegant CSS Pricing Tables for Your Latest Web Project
/Getting Started With the Flux Architecture in React
/Getting Started With Matter.js: The Composites and Composite Modules
Getting Started With Matter.js: The Engine and World Modules
/10 More Popular HTML5 Projects for You to Use and Study
/Understand the Basics of Laravel Middleware
/Iterating Fast With Django & Heroku
/Creating a Blogging App Using React, Part 4: Update & Delete Posts
/Creating a jQuery Plugin for Long Shadow Design
/How to Register & Use Laravel Service Providers
2 /Unit Testing in React: Shallow vs. Static Testing
/Creating a Blogging App Using React, Part 3: Add & Display Post
/Creating a Blogging App Using React, Part 2: User Sign-Up
20 /Creating a Blogging App Using React, Part 1: User Sign-In
/Creating a Grocery List Manager Using Angular, Part 2: Managing Items
/9 Elegant CSS Pricing Tables for Your Latest Web Project
/Dynamic Page Templates in WordPress, Part 3
/Angular vs. React: 7 Key Features Compared
/Creating a Grocery List Manager Using Angular, Part 1: Add & Display Items
New eBooks Available for Subscribers in June 2017
/Create Interactive Charts Using Plotly.js, Part 1: Getting Started
/The 5 Best IDEs for WordPress Development (And Why)
/33 Popular WordPress User Interface Elements
/New Course: How to Hack Your Own App
/How to Install Yii on Windows or a Mac
/What Is a JavaScript Operator?
/How to Register and Use Laravel Service Providers
/
waly Good blog post. I absolutely love this…