How to Create a Custom Post Types Archive Page in WordPress
To create a custom post type archive page in WordPress, you need to create a new template file for your post type and use the wp_query class to query and…Continue Reading …
To create a custom post type archive page in WordPress, you need to create a new template file for your post type and use the wp_query class to query and…Continue Reading …
To list all authors from your blog in WordPress, you can use the wp_list_authors() function. This function displays a list of all the users who have published posts on your…Continue Reading …
404 pages, also known as “error pages,” are pages that are displayed by a web server when a user attempts to access a page that does not exist. This can…Continue Reading …
WordPress provides wp_enqueue_script and wp_enqueue_style function to add Scripts and Stylesheets in a systematic way. If you’re wondering why you should use these functions when you can simply load them in…Continue Reading …
By default, WordPress includes jQuery library with every installation. WordPress registers the jQuery library to load in header. But site performance wise, this is not always good. So, here we’ll see…Continue Reading …
Custom Post Types are awesome! They make it insanely easy to add and manage contents. Whether you’re developing a theme or creating a WordPress site, there’s a very good chance…Continue Reading …
array_unshift function is used to add one or more values at the beginning of an array. Let’s see how this works: Here’s the output : Array ( [0] => The…Continue Reading …
If you are seeing a “WordPress memory exhausted” error on your WordPress site, it means that your site is trying to use more memory than it is allowed to. This…Continue Reading …