27 WordPress Hacks Every Serious Blogger Needs to Know

Let me take a wild guess.

Your days aren’t exactly overflowing with free time.

You dedicate as many hours as you can to your blog, but it never seems enough.

If only you could spend more time on the stuff that really matters.

Like writing. Or researching. Or connecting with other bloggers.

Surely you must be able to save a little time somewhere.

Well, how about WordPress?

As a blogger you camp out in WordPress for hours, even days.

But are you really working as quickly, efficiently and productively as you could?

Probably not, right?

Of course, you could always research a few nifty shortcuts. But that will take time – which is exactly what you don’t have.

Fortunately, you can undo any time-wasting habits with these little-known WordPress hacks.

Each one is guaranteed to help you wring every last second out of your blogging routine.

Simple Hacks That Still Feel Like Super Powers

1. Go full-screen for zero distractions

To write as efficiently and effectively as possible, you need zero distractions.

Problem is, the standard WordPress editor has a ton of them.

The simple solution is to switch to full-screen editor, which gives you a stark-white canvas to work from.

The essential formatting tools such as headings, links and lists are still there, but they’re hidden away, appearing only when you place your mouse pointer at the top of the screen.

To get into the full-screen editor (called the Distraction-Free Writing Mode in WordPress), click the full-screen icon from your standard WordPress editor menu.


You can also get there by using a keyboard shortcut. Just press Alt + Shift + w.

To close the full-screen editor, press Escape. Or click the “Exit full-screen editor” link. (Actually, just press Escape. It’s faster, and that’s what this post is all about, right?)

2. Adjust the editor to perfectly match your blog layout

The one problem with the full-screen editor? It’s way too wide. Like Marianas Trench wide. You can fit 21 words on a single line!


So here’s the solution: Change the width.

Press CTRL and – to make it narrower. Press CTRL and + to make it wider.

(Tip: If your cursor is blinking inside the headline or the body, the keyboard shortcut won’t work. Click outside the editor, into the whitespace in the margins, then try the shortcut again.)

If you shrink the width to match your blog layout, you’ll get a better sense of how your writing will actually look on the page. Content that appears balanced at one width can look dense and crowded at another, so use this hack to avoid unpleasant surprises when clicking Publish.


To get things lining up just right, open the post preview in a new tab and compare the editor view to the post preview, side-by-side. Then adjust the editor width until the lines break at the same point as the preview.

3. Switch heading styles in the blink of an eye

This hack is so useful, you might find yourself trying to use it in Google Docs and Microsoft Word. (Sadly, it won’t work outside WordPress.)

It allows you to change the heading style of a line of text with the tap of a key.

For instance, to change a piece of text to an H2, place your cursor anywhere on the line, and press the following keys:

  • CTRL+2 for Windows/Linux users
  • CMD+2 for Mac users

You can switch up the number here and change the heading to anything from H2 all the way to H6.

And here’s a pro tip: It works both ways!

If you’ve ever started typing on a line only to find it appearing as an unwanted heading, you can use the same, simple keyboard shortcut to place things right with the world again.

CTRL (or CMD) + number to make a heading. CTRL (or CMD) + number to remove a heading.

4. Never waste time hunting for the Read More button again

Ever find yourself hunting for the right icon to insert the Read More tag into your post? (Invariably, I’ll click on the horizontal bar or the kitchen sink icon first.)


With this hack you can avoid clicking altogether and insert your Read More tag in milliseconds.

Here’s how:

Place your cursor where you want the Read More tag to appear.

Press Alt + Shift + t.


5. Insert links without touching your mouse

While the correct button to click for Read More is a little elusive, the hyperlink button is so obvious and enticing that it’s all most bloggers use for inserting links.

But here’s the thing: When you’re writing in the full-screen editor (see Hack #1), you won’t see the formatting menu or the icon. Dragging your mouse up top to make the menu appear is time-consuming, jarring, and a clear opportunity to improve.

That’s why the WordPress pros use a keyboard shortcut.

Here’s how: Select the text you want to link. Press CTRL + k (if you’re a PC user) or CMD + k (if you’re a Mac user).

Of course, you’ll still need to tell WordPress where you want to link, which brings us to …

6. Let WordPress do the heavy lifting when finding internal links

On the Buffer blog, we love to build internal links from our new articles to those in our archives. So whenever we come across an opportunity to link to something we’ve written before, we’ll jump at it.

In the past, this led to a ton of “site:blog.bufferapp.com keyword” searches in Google to find suitable content.

But a far better way exists.

Inside the dialog box to insert/edit a link, there’s an easily-missed option lurking at the bottom – “Or link to existing content.”


When you click that link, the dialog box expands to show all the posts and pages you’ve ever written on your blog and a search field to find just the ones you’re looking for.

Start typing, and the results start automatically sorting to help you find exactly what you need. (The first results you get will be exact matches with your keyword and a post title, followed by results that have your keyword somewhere in the body of the post.)

Click the post you want to link to and WordPress automatically copies that post into the URL and Title fields up above.

7. Avoid funky formatting when pasting rich text

Ever tried to copy a inspirational quote into your blog post from another web page or document? If you don’t paste it just right, you can find yourself swimming in alien formatting, div tags, and a whole mess of secret code that latched onto the quote you wanted.

WordPress has a solution to this. You can paste text minus the formatting by clicking the plain-text clipboard icon in the menu.


Now, every time you paste formatted text into the editor, WordPress will remove the formatting for you.

That’s fine, except next time you cut and paste a section from your own post, it gets stripped of all the formatting. So you have to remember to change back to regular pasting, by clicking the “Paste-as-text” icon again.

So here’s the hack: Keep the WordPress settings the way they are normally, and paste as plain text – sans formatting – using a keyboard shortcut.

CTRL + SHIFT + v for Windows and CMD + SHIFT + v for Mac.

Bonus: These shortcuts work system wide, so you can use them beyond WordPress too.

8. Use this reference to compile your own go-to list of killer shortcuts

You’ve seen some of my favorite, time-saving shortcuts, but you’ll want to add a few that match your own writing flow.

WordPress has a huge list of shortcuts to choose from:



Found a shortcut that’ll make life in WordPress a little easier? Add it to your list.

Note: You can also access this shortcut list any time by clicking on the question mark icon in the WordPress post editor menu.

9. Easily keep tabs on your word count

You can check your word count at any time by looking at the bottom of your post editor:

  • In the standard editor, the word count is at the bottom of the text box, just above the custom settings.
  • In the full-screen editor, put your mouse at the top of the screen so the menus pop up, and the word count will appear below.

10. Insert an “em” without the “um”

Do dashes confound you? Em dashes, en dashes, hyphens – things quickly get confusing.

Thankfully we stick to a solid content style guide over at Buffer, using em dashes to separate ideas inside sentences.

Here’s the simplest way to insert these with WordPress.

Type three dashes in a row.
WordPress automatically converts this into an em dash when the post is published. (Note: It’ll still always appear as three dashes in your editor.)

11. Edit your posts without actually “editing” your posts

While browsing the “All Posts” page, you can quickly make changes to any post you see in the list without needing to click through to the post editor.

Hover over the title of the post you want to edit, and you’ll notice a list of links appear immediately below the title. These include a “Quick Edit” option.

“Quick Edit” saves you a click and the loading time to get to the post editor, and allows you to:

  • Change the title
  • Change the permalink
  • Change the publish date
  • Set post to password-protected or private
  • Edit the categories
  • Edit the tags
  • Turn comments and pings on/off
  • Change the status of the post
  • Make the post sticky

Basically, you can do anything except make edits to the body of your post.

12. Skip the media library and drop images right into your post

This one’s less of a WordPress hack and more just a new – and really cool – WordPress feature.

For a while now, you could drag and drop images into the media upload window inside WordPress. Super. Great. A really helpful time saver.

But with the most recent versions of WordPress, you can now drag and drop directly into the post itself, bypassing the “Add Media” button entirely!

Intermediate Hacks Worthy of a WordPress Wizard

13. Turn a standard post into a sticky announcement

If you’ve got a big announcement or a really awesome post that you’d like to stay at the top of your blog (even after you’ve published new stuff), this is the hack for you.

It’s a simple setting inside the post editor.

In the Publish module, click on the “Edit” link next to “Visibility: Public.”


Check the box to “Stick this post to the front page.”

Unchecking the box places the post back into chronological order.

14. Avoid time-consuming blunders by managing the roles of your team

If you manage a blog with multiple team members, you could save yourself a bit of time – and any prematurely published posts by guest authors or contributors – by setting up the correct roles.

Here’s an overview of the available roles:

  • Administrator – has access to all the administration features within a single site.
  • Editor – can publish and manage posts including the posts of other users
  • Author – can publish and manage their own posts
  • Contributor – can write and manage their own posts but cannot publish them
  • Subscriber – can only manage their profile

If you have a guest author for your blog, the preferred role for them is likely a Contributor.

If someone tweaks your writing before publication, but you don’t want to give them unlimited power, they’ll likely be best off with the Editor role.

And so on and so forth. You’ll be able to figure out what’s best for you here.

You can change the user roles in the WordPress settings. From the left-hand menu, go to Users > All Users.

Select the users you want to change by placing a checkmark in the box next to their name.

Above the list of names, click to open the box that says “Change role to…” Making a change here will update the role for all the users you’ve selected.


You can also change the roles individually per user by clicking through to their user settings page. But we’re all about saving time here, and the bulk edit will be the quickest, easiest way to do this job in batches.

15. Create a professional editorial workflow using “Pending Review”

While you’re poking around the “Publish” module in the post editor, you’ll also come across the “Status” option.

You may recognize this as the “Oh wait – I didn’t mean to publish that one just yet. Quick! How can I change it back to a draft?”

Indeed, it can be used to move posts from published back into drafts.

It can also be used to coordinate a publishing program with guest contributors or additional authors. When they’re finished with a post, they can set the status to “Pending Review.” Editors can then go into the “All Pages” section of WordPress and see which stories are ready to be checked.

Advanced Hacks for Seasoned WordPress Pros

16. Add code without doing any coding

If you’ve been using WordPress for a while, you may have heard about shortcodes. If not, prepare to have your mind blown.

Shortcodes are special tags you can insert in the body of your post which act as a kind of shorthand for more complicated coding. Whenever WordPress “sees” one of these tags in a post, it automatically replaces it with the corresponding HTML on-the-fly. Pretty rad, huh?

Here are a few examples of the available shortcodes for self-hosted WordPress:

  • [audio] – embeds an audio file and displays a simple audio player in the page
  • [gallery] – creates a simple gallery based on a set of images
  • [video] – embed a locally-hosted video in the page

You can type these shortcodes directly into the post editors (in either Visual or Text mode) and most take one or more additional parameters for configuration.

For instance:

[audio src="audio-source.mp3"]

[gallery ids="729,732,731,720"] (the ids represent image ids)

[video src="video-source.mp4"]

Check out the full list shortcodes to see all the possibilities.

But in some cases, embedding can be made even easier…

17. Use auto-embeds to insert media in a breeze

Shortcodes are simpler than HTML code.

Auto-embeds are simpler than shortcodes.

With auto-embeds, all you need to do is paste a URL from a supported site into your post editor on its own line.

For instance, here’s how you could embed a YouTube video:

Check out this cool video:


That was a cool video.

Simple, huh?

YouTube is just one of 28 sites that WordPress supports – here’s the complete list.

  • Animoto – video
  • Blip – video
  • CollegeHumor – video
  • DailyMotion – video
  • EmbedArticles – various
  • Flickr – images
  • FunnyOrDie.com – video
  • Hulu – video
  • Imgur – images
  • Instagram – images
  • iShare – articles
  • ISSUU – documents
  • Meetup.com – various
  • Mixcloud – music
  • Photobucket – images
  • PollDaddy – polls/surveys
  • Rdio – music
  • Revision3 – TV
  • Scribd – documents
  • SlideShare – presentations
  • SmugMug – images
  • Soundcloud – music
  • Spotify – music
  • TED – video
  • Twitter – social media
  • Vimeo – video
  • WordPress.tv – video
  • YouTube – video

Recognize any services that you use? Then get embedding!

18. Pimp your WordPress dashboard

The WordPress dashboard throws a lot of information at you, and sometimes it can be a little overwhelming.

The good news is that you can customize it to suit your own preferences and workflow.

If you don’t want to see recent comments, hide them.

If you don’t want to see the latest posts from the Automattic team, hide them too.

Here’s how to get your dashboard looking exactly the way you want.

In the upper-right corner of your dashboard, you have two buttons: “Screen Options” and “Help.”

Click “Screen Options.” Voila!

Now you can choose to show or hide any of the widgets that appear on your dashboard. Here are some of the options you may see (the exact list will depend on what plugins you’ve installed).

  • At a Glance
  • Activity
  • Quick Draft
  • WordPress News
  • Welcome

Keep what you need; hide what you don’t.

But wait, there’s more! 🙂

From the dashboard, you can also drag and drop these widgets to appear in the order and position you prefer.

But wait, there’s even more!

You can minimize each of the widgets by clicking the small triangle in the upper-right corner of any widget.

Phew, that’s a lot of customization.

Here’s what my setup looks like – lean and mean.


19. Create your ideal editing environment

Have you ever spent ages trying to find one specific setting in the WordPress interface?

I once spent 45 minutes trying to figure out how to turn off comments and pingbacks on a post. I couldn’t find the little box with the checkmark anywhere!

That’s because it wasn’t there.

Just like with the WordPress dashboard, you can show or hide different sections of your post editor. (Turns out, my comments box was hidden. Mystery solved!)

Click on the “Screen Options” button in the upper-right corner.

Here are some common screen options. (Again, your options will depend on the plugins you’ve installed.)

  • Excerpt
  • Send Trackbacks
  • Custom Fields
  • Discussion (<– my missing comments box!)
  • Slug
  • Author
  • Categories
  • Tags
  • Featured Image

I run a pretty lean setup here too. Just the essentials: Excerpt, Categories, Tags, and Featured Image.


You also have another option – under “Screen Layout” – the choice of either one or two columns.


One-column layout gives you some of the focus of the full-screen editor – the standard editor widens to fill the window. You’ll still have the main WordPress menu to the left, but without the distractions of the right-hand column.

20. Banish “Uncategorized” posts forever

As soon as you start blogging and writing a WordPress post, it receives a category.

And unless you’ve changed the category settings, your default category will always be “Uncategorized.”

Not too descriptive, right?

Fortunately, there are hacks to fix this.

First off, you can change the default category for your posts. This way, whenever you begin writing a new post, it automatically starts off with the category you’ve chosen.

From the left-hand menu, go to Settings > Writing.

Change the Default Post Category to whatever you want, for example, your most common category.


Alternatively, you could rename the “Uncategorized” category itself. Not only will this affect how new posts are categorized, but it will also update any posts from the past that were saddled with the “Uncategorized” tag.

You could, for instance, create a friendlier, catch-all category such as “General” or “Tips.”

From the left-hand menu, go to Posts > Categories.

Find the “Uncategorized” category in the list at right. Click on it.

Edit the name of the category and the category slug (the permalink for the category page).

Click the “Update” button.

Now you’ve got yourself a brand new default category that should be a little more descriptive and professional than “Uncategorized.”

21. Never lose sight of a draft again

Like many bloggers, you may have multiple WordPress drafts in development at the same time.

Sure, it’s easy enough to get to them through the “All Posts” page, but when you log into WordPress, wouldn’t it be more convenient to access any drafts-in-progress in no more than one click?

WordPress does have a Quick Draft widget that happens to show your most-recently edited three drafts, but if you have more drafts, they won’t show up.


Here’s a clever hack for people who have lots of drafts floating around at any one time. It uses the “Activity” widget to put all of your drafts front-and-center.

By default, “Activity” shows your recently published posts, your recent comments, and – here’s the kicker – your upcoming scheduled posts.

So if you schedule your drafts to be published way off in the future – like years from now – the “Activity” tab will show those posts.

You’ve now got a way to place up to eight drafts on our WordPress dashboard.

22. Add categories and tags in bulk

On occasion, you may need to update categories or tags for multiple posts at a time, either because you realized a bunch were missing or you thought of a new tag you wanted to use.

Rather than go through all the posts one by one, try this quick workflow hack.

Let’s say you wanted to add the tag “email” to all your posts that mention email marketing tips.

From the main “Posts” screen, use the “Search Posts” feature to find all posts with the keyword “email.”

On the results page, place a checkmark next to each of the posts that warrant the “email” tag.

Click the “Bulk Actions” dropdown at the top of the page. Choose “Edit.”

A “Bulk Edit” menu will appear.

You can now change the categories, tags, author, comments/pingbacks, post status, and sticky settings for all the posts you have selected.

23. Insert images at the perfect size every time

You’ve found the perfect image for your post, uploaded it to WordPress, added it to the editor, previewed your link and … hmm, it doesn’t seem to fit exactly right.

So you put on your graphic designer’s hat – resizing, re-previewing, and rechecking until the image is flush with your blog layout and everything looks pixel perfect.

It’s time-consuming and you’d rather be doing other things, right?

Here’s a hack to help.

It requires changing the default media size for uploaded images.

But what does this mean exactly?

Well, whenever you choose to insert an image as “Thumbnail,” “Medium,” or “Large,” WordPress pulls those pre-set image sizes from your blog settings.

If you want your “Large” images to take up the full-width of your post layout, you can make it so.

From the left-hand WordPress menu, go to Settings > Media.

Adjust the “Max Width” and “Max Height” settings to fit your blog sizes.

Here are a couple neat ways I’ve found to play with these settings:

  • Set the “Medium” size to take up 1/3 of your post layout, then use these “Medium” images as feature images for your posts by aligning them to the right.
  • Set the “Large” size to fill the full width of your post layout.

But what exactly is the full width of your post layout?

I find mine using the “Inspect Element” option in my Chrome browser.

Right-click anywhere inside the text of your post, and choose “Inspect Element” (the exact wording may be different, depending on your browser).

A window appears, filled with all the web code for your page. If you mouseover the code, you will see the respective parts of your blog design highlighted, along with a display of height and width of the element.

You could grab the post size from here. I like to go one step further. On the right-hand side of this new code window, click the tab for “Computed.” You should see a graphic of boxes with numbers in the middle. Those numbers are the size of your post, with the first number representing the width.


True Ninja Hacks for WordPress Warriors

The following hacks are not for the faint-hearted as they involve digging deeper into the files which implement your blog’s functionality – and one wrong step could break your entire blog.

But these are true ninja hacks, so let’s just dive in.

The functions.php file handles all the low-level customizations of your blog.

To find it, in the left-hand WordPress menu, go to Appearance > Editor.

Click on the “Theme Functions” file on the right.

This next part is super important.

While you’re here, copy all the code that appears in the code editor, and save it in a plain-text file on your computer. I like to open Notepad or Textpad and paste the code there.

This gives you a backup of the current – working – code, just in case something goes wrong.

Backup made, you can now begin adding code to the functions.php file – it’s as simple as copying and pasting.

Note that the functions.php file always starts with “<?php”, so don’t paste any code before this. I prefer to paste anything new at the very end of the file so I can keep track of what I’ve added and to avoid any mistakes.

There’s a really neat list from WP Beginner of 25 useful code snippets for functions.php, but here are some of my favorites.

24. Put a smile on your face every time you log in

If you spend a lot of time in WordPress, you’ll be pretty familiar with the standard login screen.

Somewhat boring, isn’t it?

And if you’re maintaining more than one blog at a time, it’s easy to get confused between them and wonder why your login credentials don’t work any longer.

That’s why it can be fun (and useful!) to hack the login screen to show a custom image.

Truthfully, the easiest way to achieve this is by using a plugin such as Custom Login, but to remain plugin-free – and earn some serious “props” as a WordPress maestro – you can add a bit of code to your theme to control the look of the login form – everything from logo, to colors, to background images.

Paste this code into the functions.php file for your theme:

function my_login_logo() { ?>
<style type="text/css">
body.login div#login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/site-login-logo.png);
padding-bottom: 30px;
<?php }
add_action( 'login_enqueue_scripts', 'my_login_logo' );

Notice the “background-image: url” bit in the middle of this code? That’s where you’ll enter the image url for your background image.

And if you want to change any other design element of the login page, you can add CSS code between the curly brackets above. WordPress has a complete list of all the different CSS selectors on the login page.

In my case, the end result looks like this:


25. Change the excerpt length of your posts

A post excerpt can appear in your RSS feed and in various other places around your blog, such as search results and archives.

By default, the excerpt length is set to 55 words. But if you want to make this shorter or longer, add the following code to functions.php and change the number “55” to your desired word count.

function custom_excerpt_length( $length ) {
return 55;
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

26. Change the default avatar in your comments

If you’re using WordPress comments on your posts (rather than a system like Disqus), anonymous users get assigned a generic silhouette image. If you want to change this up to extend your branding, you can update this default avatar with the following functions.php code:

add_filter( 'avatar_defaults', 'newgravatar' );

function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo('template_directory') . '/images/gravatar.gif';
$avatar_defaults[$myavatar] = "WPBeginner";
return $avatar_defaults;

27. Add a custom call-to-action to all posts in your RSS feed

This one’s a great hack for getting maximum value out of your RSS feed. Add the following code to your functions.php file, and you can control the content that appears in the footer of every post that shows in your RSS feed.

function wpbeginner_postrss($content) {
$content = 'This post was written by Syed Balkhi '.$content.'Check out WPBeginner';
return $content;
add_filter('the_excerpt_rss', 'wpbeginner_postrss');
add_filter('the_content', 'wpbeginner_postrss');

Power Up Your Productivity with These Peerless WordPress Hacks

You’re now equipped with an entire toolbox of time-saving WordPress hacks that few bloggers know.

So take them for a spin. Commit them to memory. Make them your own.

You’ll soon find you have more time to work on the blogging tasks that really count.

And if a shortcut or new workflow feels strange at first, don’t worry. Nobody becomes a true WordPress master overnight.

But time spent learning these tricks could pay back ten times over.

And with each new skill, you’ll wonder how you ever did it any other way.

About the Author: Kevan Lee creates content for Buffer, an incredibly easy-to-use social media scheduler. You can catch up with his posts about social media marketing and web writing, each one lovingly composed with WordPress.