Skip to content

Adding a Site Login/Logout Link to an existing Menu in WordPress

You can add on to the end of an existing WordPress menu a site login/logout link. The WordPress menu must be registered and have a theme location, this will not work with custom menus. This needs to be added to your theme functions.php file function themeprefix_login_logout_link( $items, $args ) { if( $args->theme_location == ‘primary’ ) { $loginoutlink…

Read More

Create and Add Custom Taxonomy to WordPress Posts

Custom Taxonomies are a great way to organise content and should be added to WordPress via a plugin so if a theme is swapped the taxonomies are maintained. Taxonomies are either hierarchal similar to ‘Categories’ or flat, similar to ‘Tags’. You can assign custom taxonomies to regular posts as well as custom post types. Create the…

Read More
Scroll To Top