WordPress Archives

Tips and Tricks on WordPress usage and development. I am very passionate about WordPress, but it doesn’t work just by itself – it needs a rich environment to live and breathe in.

If you’re after theme and plugin alterations, we have a category for that.

How to style the WordPress Login Page

It’s relatively easy to add your own logo and a custom message to the default WordPress login page. Several plugins let you do that, but I’m a big fan of a little “hard coding”. It makes it easy to have all changes contained in your own files. Here are the four little helper functions I’ve … Read more

How to remove the Title and Description from Archive Pages in GeneratePress

I’ve been having great fun with the Page Hero feature in GeneratePress, and I wanted to use it for archive pages too. By default however, the Archive Title and Description show up in the Page Hero as well as underneath it. This doesn’t happen on single posts, so we’ll have a bit of work to … Read more

How to display the Category Title and Description in the Page Hero with GeneratePress

I’ve not had the best of luck adding the Category Title with the GeneratePress shortcuts in the Page Hero (the ones using the {{curly}} braces). There’s no shortcut for the description either, so I thought I’d write my own and show you how I did it. First I’ve created two regular WordPress shortcuts for the … Read more

Where is the WordPress is_blog() Function

At first glance, there appears to be no conditional function to test if we’re on the user’s blog page. Which is weird, since can test so many other things with WordPress Conditionals: is_singular(), is_page() or is_front_page() and is_home(). Sadly we cannot test if the current page is in fact displaying the blog with something like … Read more

Removing the Link Menu Item in WordPress Admin

Remember the Links Manager in WordPress? This was an option for us to add a custom post type or “link” in the admin interface, so that we could easily link to other websites as something popularised as a Blogroll. Nowadays it’s a somewhat outdated term, and for that reason the whole Links Manager component was hidden by default in WordPress 3.5 back in late 2012.

The component is still built into WordPress though and won’t show up by default on newer installations. Older installations that have been continually updated and containing links in the database however will still show this menu item even with newer versions of WordPress. Here’s what the menu looks like:

You may also find a “New Link” item at the top of the admin page, which lets you add a new link to your database if you like:

The question is, how do we remove these options, if they still show up in newer versions of WordPress? You’d think that deleting all links and link categories would be enough, but you may have tried and already found out that it is not.

In this article I’ll show you how to do this. I’ll also explain how to bring the Links Manager back if you ever need it.

Read more