📝 Homework Assignment: Create Sample Content
Build a complete WordPress website with comprehensive sample content including posts, pages, media, and proper organization.
📋 Assignment Overview
In this homework assignment, you will create a fully functional WordPress website for a fictional business or organization. You'll practice everything you've learned about content management, including creating posts, pages, managing media, moderating comments, and organizing content effectively.
🎯 Key Deliverables
- A complete WordPress site with at least 10 pages
- Minimum 15 blog posts with categories and tags
- Organized media library with optimized images
- Functional comment system with moderation
- Multiple user accounts with appropriate roles
- Custom menus and navigation structure
- Documentation of your work
Part 1: Website Structure & Pages (25 points)
Select one of the following fictional businesses for your website:
- Tech Startup:"InnovateTech Solutions" - A software development company
- Restaurant:"The Garden Bistro" - A farm-to-table restaurant
- Non-Profit:"Green Earth Foundation" - An environmental organization
- E-Learning Platform:"SkillMaster Academy" - Online courses platform
- Creative Agency:"Pixel Perfect Design" - Web design and branding agency
Build a comprehensive page structure with parent-child relationships:
Required Page Structure:
Page Requirements:
- Each page must have at least 300 words of relevant content
- Use appropriate page templates where available
- Set proper page attributes (parent, order)
- Include featured images for main pages
- Add SEO meta descriptions (if plugin available)
Part 2: Blog Posts & Categories (25 points)
Set up a logical category structure for your blog:
Category Structure (minimum 5 categories):
- Create parent and child categories where appropriate
- Add category descriptions
- Assign custom slugs
- Consider your business type for relevant categories
Create 15 blog posts with varied content types:
Post Requirements:
- 5 standard blog posts (400-600 words each)
- 3 news/announcement posts
- 2 tutorial/how-to posts with step-by-step instructions
- 2 listicle posts (Top 10, 5 Ways to, etc.)
- 2 case studies or success stories
- 1 interview or Q&A post
Each post must include:
- Compelling title with proper capitalization
- Featured image (unique for each post)
- Proper formatting (headings, paragraphs, lists)
- 2-3 relevant categories
- 5-8 descriptive tags
- Custom excerpt (not auto-generated)
- At least 2 internal links to other posts/pages
Demonstrate different post statuses:
- 10 posts published immediately
- 3 posts scheduled for future dates
- 1 post in draft status
- 1 post pending review
Part 3: Media Library Management (20 points)
Build a comprehensive media library:
Media Requirements:
- 20+ images (mix of photos, graphics, logos)
- 2 PDF documents (e.g., brochures, menus, reports)
- 1 video file or embed
- Different image sizes for various uses
Organization Tasks:
- Add descriptive titles to all media
- Fill in alt text for all images
- Add captions where appropriate
- Set descriptions for important media
Implement different types of media displays:
- Create a gallery with at least 6 images
- Implement a slider or carousel
- Use different image sizes appropriately
- Ensure all images are optimized for web
Part 4: Comments & User Management (15 points)
Configure and test the comment system:
Comment Tasks:
- Configure discussion settings appropriately
- Add sample comments to 5 posts (mix of approved and pending)
- Create threaded comment discussions
- Test comment moderation queue
- Set up comment blacklist words
Set up multiple user accounts with different roles:
Required Users:
- 1 Administrator (you)
- 2 Editors (e.g., "Content Manager", "Senior Editor")
- 3 Authors (e.g., staff writers)
- 2 Contributors (e.g., guest writers)
- 3 Subscribers (e.g., newsletter subscribers)
For each user:
- Complete profile information
- Add biographical info
- Set display names appropriately
- Assign Gravatar or profile picture
Part 5: Navigation & Menus (10 points)
Build comprehensive navigation for your site:
Menu Requirements:
- Primary navigation menu with all main pages
- Footer menu with legal/policy pages
- Social media menu (if theme supports)
- Proper menu hierarchy with dropdowns
- Custom menu item labels where needed
Part 6: Advanced Implementation (5 points)
Create Custom Functionality
Add at least one custom function to your theme's functions.php file:
<?php
// Example: Custom excerpt length
function custom_excerpt_length($length) {
return 30; // 30 words
}
add_filter('excerpt_length', 'custom_excerpt_length');
// Example: Add custom image sizes
function custom_image_sizes() {
add_image_size('blog-thumbnail', 400, 300, true);
add_image_size('hero-banner', 1920, 600, true);
}
add_action('after_setup_theme', 'custom_image_sizes');
// Example: Disable comments on pages
function disable_page_comments() {
remove_post_type_support('page', 'comments');
}
add_action('init', 'disable_page_comments');
?>
Choose one or more:
- Custom excerpt length for posts
- Custom image sizes for your theme
- Modify comment form fields
- Add custom dashboard widget
- Create shortcode for special content
🌟 Bonus Tasks (Extra Credit: +10 points)
- Install and configure a backup plugin
- Set up Google Analytics
- Implement a contact form with spam protection
- Create a custom 404 page
- Add schema markup for better SEO
- Implement lazy loading for images
- Create a child theme
- Add custom CSS for unique styling
✅ Submission Checklist
Before submitting your assignment, ensure you have completed:
📊 Grading Rubric
| Component | Criteria | Points |
|---|---|---|
| Pages & Structure | Complete page hierarchy, quality content, proper organization | 25 |
| Blog Posts | Variety of post types, proper categorization, quality writing | 25 |
| Media Management | Organized library, optimized images, proper metadata | 20 |
| Comments & Users | Functional comment system, diverse user roles | 15 |
| Navigation | Logical menu structure, user-friendly navigation | 10 |
| Advanced Features | Custom functionality implementation | 5 |
| Bonus Tasks | Extra features and enhancements | +10 |
| Total Possible Points | 100 (+10) | |
📤 Submission Guidelines
-
Export Your Content:
- Go to Tools → Export in WordPress admin
- Choose "All content" and download the XML file
-
Create Documentation:
- Screenshot of your site's homepage
- Screenshot of your page hierarchy
- Screenshot of your media library
- List of custom functions implemented
- Admin credentials (username/password)
-
Database Backup:
- Export your database using phpMyAdmin
- Save as .sql file
-
Submission Package:
- Create a folder named:
YourName_Module4_Homework - Include: XML export, SQL backup, screenshots folder, documentation.pdf
- Compress as .zip file
- Create a folder named:
Due Date:Submit via the course portal by Sunday, 11:59 PM
Late Policy:-10% per day late, up to 3 days maximum
💡 Tips for Success
- Plan First:Sketch out your site structure before starting
- Use Real Content:Avoid lorem ipsum - write relevant content for your chosen business
- Be Consistent:Maintain consistent tone and style throughout
- Optimize Images:Resize images before uploading (max 1920px width for full-size)
- Test Everything:Click all links, test forms, check responsive design
- Regular Saves:Save drafts frequently to avoid losing work
- Use Categories Wisely:Don't over-categorize - keep it logical
- SEO Matters:Write descriptive titles and meta descriptions
📚 Helpful Resources
⏰ Suggested Timeline
Day 1: Planning & Setup (30 min)
- Choose your business type
- Plan site structure
- Gather resources and images
Day 2: Pages & Content (1.5 hours)
- Create all pages
- Write page content
- Set up page hierarchy
Day 3: Blog Posts (1.5 hours)
- Create categories and tags
- Write and publish posts
- Add featured images
Day 4: Media & Users (45 min)
- Upload and organize media
- Create user accounts
- Set up comments
Day 5: Finalize & Submit (45 min)
- Review and test everything
- Create documentation
- Export and submit
📸 Sample Work Examples
Here are examples of what your completed work should look like:
📷 Homepage Screenshot
Should show professional layout with navigation, hero image, and clear business identity
📷 Blog Page Screenshot
Should display multiple posts with featured images, excerpts, and metadata
📷 Media Library Screenshot
Should show organized media with proper titles and alt text
❓ Frequently Asked Questions
Can I use a different business type than the ones listed?
Yes, but please get approval from your instructor first. Make sure your alternative is equally complex and allows you to demonstrate all required skills.
Do I need to write all content from scratch?
While you can use AI tools or content generators to help, ensure all content is customized for your specific business and makes sense contextually. Pure lorem ipsum text will receive reduced points.
What if I can't find appropriate images?
Use free stock photo sites listed in the resources. You can also create simple graphics using Canva or use placeholder images from services like placeholder.com.
How detailed should the documentation be?
Include screenshots of key areas, list any custom code you added, note any plugins you installed, and provide brief explanations of your design choices.
Can I work with a partner?
This is an individual assignment. However, you can help each other with technical issues and provide feedback on each other's sites.
🆘 Need Help?
If you're stuck or have questions:
- Review the Lessons:All required techniques are covered in Module 4 lessons
- Check the Forums:Post questions in the course discussion board
- Office Hours:Tuesday & Thursday, 3-5 PM via Zoom
- Email Support:instructor@course.com (24-48 hour response time)
🎯 Final Thoughts
This assignment is your opportunity to demonstrate mastery of WordPress content management!
Focus on quality over quantity. It's better to have 10 well-written posts than 15 rushed ones. Pay attention to details like image optimization, proper categorization, and user experience.
Remember: This site could be a portfolio piece. Make it something you'd be proud to show to potential employers or clients!