WordPress will have some default placeholders for input fields, like the title text input, which defaults to ‘Enter title here’. Sometimes these can be a pain, as custom fields may have other fields that show titles or content, and the title field might just be used for reference. IT also looks a little better to have these fields customised sometimes, usually when dealing with custom posts. This is something very.. Read More
The first version of WordPress that was actually called as such, was version 0.71 named “Fire”. The original blog post from 2003 announcing the release and the features can still be found here. The initial release that became WordPress was forked by Matt Mullenweg and Mike Little from a piece of online blogging software called ‘b2 cafelog’, which was originally developed by Michel Valdrighi. Even though b2 was gaining popularity, Valdrighi was unable to put a lot.. Read More
There are hundreds of posts that will tell you about the “Must have WordPress plugins!” that will reel off the same few; JetPack, probably W3 Total Cache, maybe an automatic backup plugin and then fifteen different social bars. What we’re going to look at here are plugins that will make development easier and save developers time. This doesn’t just mean making the actual process of development easier, but also taking certain plugins.. Read More
It is common to need a way to get the featured image / title or fields from the blog listing page as by default WordPress passes through all of the posts to this template, meaning functions like the_title() no longer work as in other templates, as the loop is different. This function targets specifically the blog listing page, but does so dynamically to avoid hard-coding by ID.
A sitemap page is a staple and an SEO essential for any site with a good amount of varied content. There are a lot of plugins out there that come with pages and pages of individual options customisations, usually missing the one or two things you actually want, and overcomplicating the whole process. It is very simple to build a basic sitemap page using a couple of basic queries and loops that are probably already used throughout the rest of the site.
Sometimes after creating additional custom post types in WordPress, the option to add them to a menu in the admin menu builder will not be there. This is easily solved.
Setting a permalink base can cause issues for custom post type URLs unless a rewrite rule and with_front setting are set during the post types creation
Advanced Custom Fields (ACF) is a very powerful WordPress plugin, but after adding additional fields, making the admin UI look and feel great is important. Using grouping fields, custom styles and extension plugins gives a lot more control over what admin pages look like and stops heavy content pages looking like endless lists.
Custom post types are useful for breaking page and site content down into logical groups so that individual items can be listed together by type. However it is often necessary to apply another layer of classification. Just like the default WordPress ‘post’ post-type used for the blog has ‘Categories’, other post types often require the same categorisation. Just like the posts post-type is confusingly named ‘post’, they are grouped by ‘Categories’. This means that.. Read More
Content in WordPress is easiest to manage when divided down into separate post types. A post is a piece of content in WP, and a post type is a way of categorising the posts. The advantage of defining content in this way is that built in WordPress conventions can be taken advantage of. These include many functions that collect and iterate through posts by type, and templates that are used on the.. Read More