John Parris

In the woods…

Menu
Social Links
Search
Skip to content
  • Home
  • Topics
    • Musings
    • Quotes
    • WordPress
  • Photos
  • Plugins
  • Connect
    • Email
    • RSS
    • Github
  • Contact
  • Twitter
  • Instagram
  • GitHub

Tech Talk

Thoughts on technology

Hide WordPress update notices from non-admin users

When an update is available for WordPress, it shows a notice at the top of the screen in the administrative backend. It does this for all users, including those who don’t have access to install the updates. If you want to hide the update message from users who cannot install updates, such as editors, authors … Continue reading→

December 28, 2012John Parris WordPress 4 Comments

Exclude certain pages from WordPress search results

For various reasons, we may need to exclude certain pages from WordPress search results. This isn’t the same as excluding all pages from the search results. We only want to exclude specific pages. Here’s one way to do that. Add this code to your child theme’s functions.php, or better yet make it a plugin. If … Continue reading→

November 2, 2012John Parris WordPress 15 Comments

How to remove WordPress post meta boxes

The WordPress post screen contains a number of meta boxes that allow you to do things with your posts. For example, you can select the post category in the Categories meta box, and you can control the comments setting for individual posts in the Discussion meta box. But, what if you want to prevent some … Continue reading→

September 27, 2012John Parris WordPress

Redirect WordPress users during logout

Normally in WordPress when a user logs out, he is directed to the login page. But what if we want to redirect users to another page? No problem. With the following code we can redirect users to the home page when they log out.   What if we need to redirect users to a special … Continue reading→

September 3, 2012John Parris WordPress

Remove the WordPress logo from the admin bar

If you’re like me, you’ve accidentally clicked the WordPress logo in the admin bar a hundred times while meaning to go to the main Dashboard screen. That logo just gets in my way. I already know about WordPress, so I don’t need a link to the “about” page cluttering up my admin bar. Using the … Continue reading→

August 22, 2012John Parris WordPress

Redirect WordPress users during login

Normally in WordPress when a user logs in, he is directed to some place in the administrative back end. If he is assigned the role of Subscriber, this usually sends him to his profile page, which isn’t very useful under most circumstances. If he is assigned the role of Contributor, Author, Editor or Administrator, he … Continue reading→

August 22, 2012John Parris WordPress

Multiple excerpt lengths in WordPress

The default WordPress excerpt length is 55 words. Sometimes we need to change this, and sometimes we need multiple excerpt lengths depending on where we are. For example, we might want a short excerpt on the home page and the default excerpt for everywhere else – archives, author pages, etc. The example above changes the … Continue reading→

August 18, 2012John Parris WordPress

Posts navigation

→
←
© 2025 John Parris