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 » Atahualpa 3 Wordpress theme » New Versions, & Updating »

[SOLVED] 3.4.2: where to make changes that used to be in index.php?

Old Jul 13, 2009, 11:24 AM
85 posts · Feb 2009

I'm updating from 3.2 to 3.4.2 and have to edit the 404 error message section and above the loop to exclude some categories from displaying on the home page. I am trying to find where that code is located in 3.4.2.

For the error message, in 3.2 in index.php the code was
PHP Code:
<h2><?php _e('Not Found','atahualpa'); ?></h2>
<p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?></p>
Where is this code now?

I use Dunstan-sty Error Page plug-in for an enhanced 404 error message and need to change it to:
PHP Code:
<?php if ( is_404() ) {
if (
function_exists('afdn_error_page')) afdn_error_page();
and to exclude posts of certain categories on the home page, I need to add:
PHP Code:
<?php if ( is_home() AND !is_paged() ) {
query_posts($query_string "&cat=-145,-420,-435");
above the loop.

Where the best place to put this code in 3.4.2?


Old Jul 13, 2009, 11:48 AM
85 posts · Feb 2009
I found the answer to my second question: ATO -> Content ABOVE the Loop.

Nice, now I don't have to make this edit at the next theme update.
Old Jul 13, 2009, 11:52 AM
85 posts · Feb 2009
...and I found the solution to my first question: ATO -> Content IF NOT FOUND

so I can now update and not have to edit theme php files any more!

Thanks Flynn!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
make index.php be a "page" and blog postings go to different php page zhidoni Atahualpa 3 Wordpress theme 0 Jun 21, 2009 05:25 PM
[SOLVED] messed up header.php and footer.php monochrome Header configuration & styling 0 Jun 20, 2009 03:16 PM
[SOLVED] Make top level page links inactive? BigG Page & Category Menu Bars 5 Jun 14, 2009 01:55 PM
[SOLVED] Where are the Pages I create in Atahualpa, stored on the file index configur Leoni Atahualpa 3 Wordpress theme 2 Jun 11, 2009 09:08 PM
How to not have Google index my sidebar data? gabrielnovo Atahualpa 3 Wordpress theme 5 May 6, 2009 07:46 AM

All times are GMT -6. The time now is 02:31 AM.

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