Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Where is Not Found text generated?


  #1  
Old Apr 11, 2013, 10:49 AM
sstudebaker
 
24 posts · Dec 2011
[SOLVED] Where is Not Found text generated?

Not Found

Sorry, but you are looking for something that isn't here.

I have modified home page. Search box still works fine but I need to modify not found text by basically adding a surrounding div. Where is this generated please?
  #2  
Old Apr 11, 2013, 11:49 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I generally put a copy of the Twenty Eleven 404.php in the Atahualpa folder and modify the text.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 11, 2013, 12:56 PM
sstudebaker
 
24 posts · Dec 2011
Okay but what about when doing a search such as

http://74.115.229.75/?s=hello

And it is not found. When it is found search is in a good format but when not found it needs to be styled but I don't have a hook on it.
  #4  
Old Apr 11, 2013, 01:16 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
That 'Not Found' can be found at the bottom of the index.php - you can style it using
HTML Code:
.search-no-results h2 {color: red;}
.search-no-results p {color: orange;}
  #5  
Old Apr 11, 2013, 01:37 PM
sstudebaker
 
24 posts · Dec 2011
but funny thing is that I am not using the index page - I have custom page. Is it still referencing that code anyhow somehow?
  #6  
Old Apr 11, 2013, 02:44 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
define a 'custom page'? did you create a new page template? did you copy index.php to make it?

If you look at the source code for the page you get with your link the body statement is
HTML Code:
<body class="search search-no-results">
which is where I got the class from.

Last edited by juggledad; Apr 12, 2013 at 09:20 AM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
change text on 'not found' Ilke Languages & Translations 9 Jan 15, 2013 01:50 AM
Issue with generated names of custom widgets crashley1784 Sidebars & Widgets 32 Apr 14, 2012 12:48 PM
[SOLVED] Features of the Ata-generated Archive Page Fux Excerpts, Read more, Pagination 2 Jul 5, 2011 06:18 AM
Editing "Not Found" Text in Search Results Pedalo Languages & Translations 5 Dec 10, 2010 10:28 AM


All times are GMT -6. The time now is 01:19 AM.


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