Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] how to make custom 404 & remove "next post" link

Old Feb 6, 2013, 10:07 PM
12 posts · Feb 2013
hi folks. first post- please forgive a newbie.

this is my first wp site, and i have limited coding experience, dating back to HTML from ten years ago!

i am hoping to make two changes to my site, both i suspect are easy to the hardened veteran, but my browsing of this forum and my own attempts have been unsuccessful.

1) i hope to make a custom 404. i see the "not_found.php" file in montezuma editor but that is not apparently what is coding that 404 page. when i get a 404 error with my site it says "apologies. but no results were found for the requested archive, etc etc".

do you know where i find that file or text or whatever to edit it? once i find it, i shoudl be able to figure it out.

2) i am using wp as a shortcut to making my own entire site from scratch, and actually dont want people to be able to flip between posts sequentially. so: i want to remove the "previous post" and "next post" links at the top of each post. i (surprise!) cant figure out how to do this, and it might be much more complicated than editing some text.

any hints?

thanks!! (ps: definitely going to donate. im $200k in debt, but this is worth it)
Old Feb 7, 2013, 07:58 PM
367 posts · Oct 2012
1. There are many custom 404 plugins. One of them should work.

2. Remove these lines from dashboard > appearances > mz options > main templates > single.php

HTML Code:
		<nav class="singlenav cf">
			<div class="older"><?php previous_post_link(); ?></div>
			<div class="newer"><?php next_post_link(); ?></div>
Old Feb 8, 2013, 06:31 PM
12 posts · Feb 2013
wow! that was so easy (when someone else does the thinking for me!)

thanks so much.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to remove &quot;backward link to previous post&quot; at top of blog page robx Atahualpa 3 Wordpress theme 4 Apr 10, 2012 01:04 PM
[SOLVED] How to remove the &quot;Continue reading...&quot; link from a sticky post taylorefl Forum How-To 3 Jan 18, 2010 03:57 PM
How to remove the "Continue reading..." link from a sticky post taylorefl Forum How-To 0 Jan 15, 2010 11:49 AM

All times are GMT -6. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.