Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] how to make custom 404 & remove "next post" link (http://forum.bytesforall.com/showthread.php?t=19582)

sixleggedinsect Feb 6, 2013 09:07 PM

[SOLVED] how to make custom 404 & remove "next post" link
 
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)

jerryc Feb 7, 2013 06:58 PM

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>


sixleggedinsect Feb 8, 2013 05:31 PM

wow! that was so easy (when someone else does the thinking for me!)

thanks so much.


All times are GMT -6. The time now is 07:31 PM.

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