How to Hide “Next Post” and “Previous Post” Links in Headway

The developers were nice enough to include a new feature in 1.5 – “next post” and “previous post” links after the content on each single post page. Too bad I hate those things…

If you share my passion, then fear not. These links can be easily dealt with using just custom.css. All you need to do is add the following code to CSS file:

body.custom div#nav-below-single {display: none;}

Incidentally, this method works with hiding any and every element you can think of. Awesome, huh?

Any Questions?

Do you use the previous post box? Do you not want to show it? Share your thoughts and opinions below!

You just finished reading How to Hide “Next Post” and “Previous Post” Links in Headway. Consider leaving a comment. Is the content out of date?
Let us know so we can update it.

http://headwayhub.com/2010/06/04/how-hide-next-post-previous-post-links-headway/

Hey You! What's Powering Your Website?

No Need For WordPress Developers! Drag & Drop With Headway

Headway is a feature-rich, flexible and user-friendly WordPress theme which nearly eliminates the need for coding, and empowers average WordPress users to create unique, great looking WordPress sites.

Learn More About Headway Themes

Post comment as twitter logo facebook logo
Sort: Newest | Oldest

Any idea how to make it the 'Older Posts' button go away on the main Blog Index page (as opposed to a single post page)? Code didn't seem to work for that. I want my home page to appear more like a static page, but be easily changable. I just don't want people to be able to easily see the previous posts, as they are worded to be more like a 'home page' and less like a blog post.

Thanks!

That code was only for an old version (1.5).

It wouldn't make sense on the home page. :) People need to navigate to your posts some how.

The code would be body.custom div#nav-below { display: none; }

Hi Corey,

Is there any easy way for me to translate or change the text on the previous/next links?

Thanks, Nicolas.

An easy way? Depends on what you consider easy. You'll need to hack into the core content leaf file and find all instances of the text and translate it that way.

Foreign users on the support forums may know more about it than I do.

Hi Corey,

I haven't modify my css to hide my previous and next link, however, these 2 links are not there anymore.
Do you know what could be the reason?
I have turned off all plugins and didn't seem to affect this missing previous and next links.

Thanks.

Hi Corey,

I found out the answer.
It turned out that WP-PageNavi plugin still active and it hide the next and previous links.

Thank you for sharing this method of hiding the next and previous links. I am using it in my website now.

Ahh alright I'll look into it. Thanks

Do you know how to modify those links? Perhaps so that they display as a button or arrow?

Thanks

Not that I know of. You can hide these links and use the wordpress template tag and an "after content" easy hook to put in your own button/arrow/whatever.