The user-facing side of the blog we’ve been building together counts as part of your in-class assignment grade. Complete the following bullet points for full credit.
(this list is in order of easiest to most challenging:)
- Ensure all features we’ve built together are fully functional. The current copy of my code is in this gitHub repo, You just need to add your own db-config.php file. If the “notice:” errors are driving you crazy, you may want to add the following code at the top of your header.php file
<?php error_reporting( E_ALL & ~E_NOTICE ); ?>
- Change the search input field so that after the user searches, their ‘keywords’ stay visible in the field. hint: look at the way we used the “value” attributes on day 5
- Links Template Page– build a new template (links.php) that displays a list of all “links” from the database, showing their title and description (See wireframe below). The user should be able to click the title of the link and go to the url. Add a link to this page in the sidebar.
- Authors page (authors.php) list all the users who are admins alongside their bio (see wireframe below). Add a link to this page in the sidebar.
- Category Template– If the user clicks on one of your category names (like in the sidebar), Send them to a page that lists the latest 10 published posts in that category. Achieve this with just one template file. (category.php) Hint: Look at the way we used single.php to display any post by adding a post_id to the query string.
- Blog styled with your own css
Due March 7, 2017