So in this tutorial, we're going to put all of the pieces together. Specifically, we're going to revisit the source code of our plugin, namespace all relevant classes, and write an autoloader so that we can remove all of our include statements. I'll discuss everything in detail as we work through the code. Again, if this is the first tutorial you're reading in this series, catch up with what we've covered so far and then return to this tutorial.
The Internet eliminates the geographical barrier between buyers and sellers. As long as there’s an internet connection, you could live on a remote island in the middle of nowhere and sell your goods or services to someone from other parts of the world, all thanks to the revolution of online payment.
Creating your own portfolio may seem intimidating, especially if you’re not tech-savvy. And if that’s what’s stopping you from finally taking the plunge, you’re in luck. In today’s article, we’ll show you how to create a great portfolio website with WordPress and give you pointers on what your website should include and how to effectively promote it so you can land more freelance writing gigs.
Recently, one of our readers asked if it was possible to add a link to custom post type archive pages in WordPress navigation menus. An archive page in WordPress displays a list of all posts under a specific post type, category, or tag. In this article, we will show you how to add post type archive in WordPress navigation menus.
Do you want to setup Google AMP on your WordPress site? Accelerated mobile pages or AMP is a way to make your website load faster on mobile devices. Fast loading websites offer better user experience and can improve your traffic. In this article, we will show you how to set up Google AMP in WordPress.
Have below questions? Then you are at right place: Formatting text in wordpress pages WordPress visual editor plugin best wordpress visual editor how to modify TinyMCE without plugin Modify WordPress Visual Editor...
wp_list_categories() function is full of different options, and that’s why it’s a good idea to use it if we want to display a list of our categories. However, it can’t cover all the possible cases, and that’s the reason why we find other functions in the Categories API. These functions allow us to retrieve raw data: in place of a HTML list of our categories, we can retrieve arrays containing these same categories.
In the previous tutorial, we covered a handful of concepts, all of which are going to be necessary to fully understand what we're doing in this tutorial. Specifically, we covered the following topics: In some series, it's easy to skip tutorials that may not build on one another; however, this series isn't intended to be like that. Instead, it's meant to be read in sequential order, and it's meant to build on the content of each previous tutorial.
The art of storytelling might have started long before homo sapiens can speak. It evolves with us and adapts to the available tools. The stories that used to be told and passed down from one generation to another orally embraced literal evolution from handwritten books, to mass printing, to digital word processing, and recently the Internet. From the human evolution point of view it feels like we haven’t tapped the full potential of all the available technologies that we have today. While videos have already started their virtual world domination campaigns, the majority of the web’s content is still in text.
In this series, we're going to take a look at exactly what PHP namespaces are, why they are beneficial, and how to use them. Then we're going to take a look at how to use autoloaders to automatically load the files that we need without having to manually load them in our code. While working on the series, specifically that of the autoloader, I couldn't help but recognize a number of code smells that were being introduced as I was sharing the code with you.
Would you like to use custom formats in the visual writing editor of WordPress? Good idea, as adding styles gets you a lot of advantages. You can use your elements without having to change into the text mode. Thus, in this article, we’ll show you how to extend the editor with custom formats.
Yes, it's simple and it's not likely something that anyone will use outside of studying the concepts we're covering in this blog. But the means by which we're teaching the concepts that we're using are what's important. This plugin gives us the ability to do exactly that. At the end of the last tutorial, we left with a plugin that displays a random question to the writer at the top of the sidebar in the WordPress post creation screen.
When you create new content types with add_post_type you can specify if you want your individual post items to be accessible via the WordPress menu builder, giving you quick access to link to your single post. It’s a pretty useful feature, and all you need to do to take advantage of it is to specify that the add_to_menu property is set to true. What’s not so easy is if you wanted to link directly to your post types archive page.
Ajax has rapidly become a popular web technology, you’ll find it used on most websites. The key feature of Ajax is it can manage database operations without reloading the web page. This means, you can fetch data from the database and display it on the front-end without needing to refresh the page. It’s a fast and smooth way for displaying content, and as a result Ajax is now used in many various ways on a website, such as submitting blog comments, liking posts and uploading files.
If you are a WordPress user, you will know that the default login URL is at “/wp-login.php”. This default login URL is very convenient, but there are times when you’d be better changing it. There are a few good reasons to change the default login URL and there are some easy ways to do it. Read more about this in this article.
There can be many reasons for changing your website’s permalink structure. Maybe you made the wrong choice while setting up your blog, or you want to change it for performance reasons. You didn’t dare to do it yet because you feared ranking losses? Today, we’ll show you how to change your permalink structure without having to be afraid of any losses in the visibility of the Google ranking.
In this series, we're going to take a look at exactly what PHP namespaces are, why they are beneficial, and how to use them. Then we're going to take a look at how to use autoloaders to automatically load the files that we need without having to manually load them in our code.
Debugging is an essential skill for any developer. This tutorial will show you 11 powerful ways to debug WordPress and PHP errors. The first item in the list is the famous WP_Debug, then we’ll jump into some more advanced methods.
Recently, one of our users asked us how to reset WordPress admin password on localhost? If you are running WordPress on localhost and forget your password, then you can’t reset it by email. In this article, we will show you how to reset WordPress admin password on localhost.
Now that you’ve learned how to install WordPress themes and plugins, let’s go over the most important part: adding content. Sure, you can install themes and plugins regularly, but you’ll need to add content regularly in order to grow your blog. Refresher: by default, the menu on the WordPress dashboard is collapsed, but you can expand it by clicking on the little arrow at the bottom.