But I wanted my custom 404 page fucking. I therefore asked the Genesis team to help get there.
Get the initial code
First, in the dashboard, go to Appearance> Editor and select the basic framework of genesis (not your child theme, but the actual "Genesis") drop-down list on the top right
However, DO NOT CHANGE DIRECTLY NO GENESIS CORE FILE or they will be replaced by the next update.
The above code is what spits the title at the top of the page. This is where you see "Not Found, Error 404" at the top of the 404 page by default. Change the "Not found, 404 error" in the code to anything you want to appear for the page title (mine says "Sock it to me!"):
IMPORTANT: If you are going to use an apostrophe (single quotation marks AKA) inside a PHP call (not a programmer, do not know a better word for that – or if there is even one) SAFE to add a slash in front of him. That is to say. If you want your title to say "We can not find this page", we would need:
<? php printf (__ (& # 39; page you are looking for no longer exists You may be able to return to the homepage of to see if you are looking for what you are looking for ., you can try to find it with the information below., # genesis #, home_url ()); ?>
The above is what generates the paragraph under the title at the top of page 404. Replace the text of the intro with what you want to change:
Next you will see a lot of code inside two div's called "archive-page". This is what makes the two columns that list the site pages, authors, archives, recent publications and categories. The top
The second creates the right column which lists the pages of the authors, the archives and the recent publications:
- The American Encyclopedia ]
If you want to keep two columns below your introductory text on your 404 page, you just have to edit what is in each side
to be what you want :
Your Columns Content Here.
Your content of straight columns here.
How about changing the content of the page so that there is only one column?
If you want to get rid of the columns together, just delete the left and right
in their entirety and simply add your 404 content via a new tag
just below introductory text
Optional subtitle here
Whatever you want to show after the intro
Or even simply this:
Optional subtitle here
Anything you want to show after the title as content