Free web space - BLOG DESIGN SOLUTIONS After that step, we load
BLOG DESIGN SOLUTIONS After that step, we load the header and define a
tag with the “narrowcolumn” class (creating a 450px wide column, as defined in style.css). We load all the normal template tags that we use to call our post/page content. After the php endwhile; endif; is where the fun begins. Here, we include the form and form elements that allow our readers to send us some e-mail. We re not covering the PHP that you need to process and send off the e-mails; that again is beyond the scope of this chapter. So we save the page again and make sure that the shiny new colophon.php page is in /wp-content/themes/default/, whether that is on the local machine or on a remote server. We then go back into the WordPress admin, and load Manage . Pages and then select to edit the Colophon. When the page loads for editing, notice the drop-down menu for Page Template (halfway down the screen). Now is the time to do something with that. If you click the drop-down menu, you should now see Colophon Template as a choice, as shown in Figure 5-5. Figure 5-5. Applying the Colophon Template to our Page named Colophon in WordPress admin Select Colophon Template from that menu, and then for the fun of it, go back up to the Page Content text area and add this to the end of the text: And hey, if you think we re great, leave me a message with this nifty contact form below! Save the page; the browser will reload the page with a message at the top that says Manage Pages. Click that link and then find your colophon page in the listing on the next page. Click View. When the page loads, you should see the screen shown in Figure 5-6.
WordPress database error: [Table 'armadillowebhosting_com_-_apache.wp_comments' doesn't exist]
SELECT * FROM wp_comments WHERE comment_post_ID = '273' AND comment_approved = '1' ORDER BY comment_date