-
Notifications
You must be signed in to change notification settings - Fork 0
Content Structure
The Digital Front
├── Home (static front page)
│ ├── Hero Section (featured article + sidebar articles)
│ ├── Breaking News Ticker
│ └── Recent Blog Posts
│
├── Articles Archive (/article/)
│ ├── Category Filter Tabs (Mobile Devices, Apple, Google, Samsung)
│ ├── Date Range Filter
│ └── Paginated Article Grid
│
├── Reviews Archive (/review/)
│ ├── Rating Filter (1–5 stars)
│ ├── Search
│ └── Paginated Review Grid
│
├── Trending in Tech
│ └── Posts ordered by view count
│
├── About Us
│ ├── Team (child page - member bios)
│ └── Mission (child page - editorial values)
│
└── Single Post Views
├── Article → linked opinions, video embed, source URL
├── Opinion → related article, author bio, pull quote
└── Review → product card, star rating, product image
The primary content type for tech news and tutorials.
| Property | Value |
|---|---|
| Slug | /article/ |
| Archive |
/article/ (uses archive-article.php) |
| Supports | Title, Editor, Thumbnail, Excerpt, Comments |
| Taxonomy | Category (shared with standard posts) |
| REST API | Enabled |
Digital Content Types:
- Text — Long-form written content via the block editor (body text, headings, lists, code blocks)
-
Video — Embedded video from YouTube or Vimeo via the
video_embedACF field, rendered withwp_oembed_get()
Custom Fields (ACF):
| Field | Type | Description |
|---|---|---|
video_embed |
Text | Video embed URL (YouTube, Vimeo) - rendered via wp_oembed_get()
|
reading_time |
Number | Estimated reading time in minutes (minimum: 1) |
source_url |
URL | Link to the original source material |
Opinion and editorial pieces linked to articles. Opinions do not have a standalone archive page — they appear only under their related article on single post views.
| Property | Value |
|---|---|
| Slug | /opinion/ |
| Archive | Disabled |
| Taxonomy | Tags (standard WP post_tag) |
| Supports | Title, Editor, Thumbnail, Excerpt, Custom Fields, Comments |
| REST API | Enabled |
Digital Content Types:
-
Text — Editorial opinion content with highlighted pull quotes via the
pull_quoteACF field - Images — Featured images (thumbnails) displayed on single views and in linked opinion cards
Custom Fields (ACF):
| Field | Type | Description |
|---|---|---|
author_bio |
Textarea | Short biography of the opinion writer |
pull_quote |
Textarea | Key highlighted quote from the piece |
related_article |
Relationship | Links to one or more Article CPT posts |
Product and tech reviews with star ratings.
| Property | Value |
|---|---|
| Slug | /review/ |
| Archive |
/review/ (uses archive-review.php) |
| Supports | Title, Editor, Thumbnail, Excerpt, Custom Fields, Comments |
| REST API | Enabled |
Digital Content Types:
- Text — Written review content with structured product metadata (product name, star rating)
-
Images — Product images via the
product_imageACF field, displayed in the review product card
Custom Fields (ACF):
| Field | Type | Description |
|---|---|---|
rating |
Number | Star rating from 1 to 5 |
product_name |
Text | Name of the product being reviewed |
product_image |
Image | Product image for the review card |
WordPress default posts used for general blog content. Displayed in the "From the Blog" section on the home page.
- Queries the 8 most recent articles via
WP_Query - Displays the newest article as a full-width hero with overlay text
- Shows up to 3 articles in a stacked sidebar beside the hero
- Includes an empty state fallback when no articles exist
- All Articles section with category filter shortcode
- Secondary query for 4 recent standard blog posts
- What We Cover topic grid, stats bar, newsletter CTA, and quick links
- Breadcrumb navigation (Yoast)
- Post type label badge (Article / Opinion / Review)
- Publishing date and reading time display
- Full-width featured image
- Author info block with avatar, name, and role
- Social sharing buttons (X/Twitter, LinkedIn, Copy Link)
- Video embed container (for articles with
video_embedfield) - Review product card with star rating (for reviews)
- Main content area
- For Articles: queries and displays linked Opinion posts that reference this article
- For Opinions: displays the related Article from the ACF relationship field
- Source URL link (articles only)
- Tags display
- "You may also like" related posts by shared tags
- Comment section with threaded replies (enabled on all post types)
- Previous / Next post navigation
- Breadcrumb navigation
- Archive header with title and description
- Embeds
[tdf_category_filter per_page="9"]shortcode for filtering and pagination
- Breadcrumb navigation
- Archive header with title and description
- Search input for reviews
- Rating filter pills (1-5 stars)
- Active filter indicator with result count and clear button
- Paginated review card grid with star ratings, product names, and excerpts
- Centered narrow-width layout (760px max)
- Breadcrumb navigation
- Page title and content
- Custom logo with fallback to site name text
- Primary navigation menu with fallback function
- Mobile hamburger toggle with Escape key and click-outside dismissal
- Breaking News ticker via
[tdf_breaking_news]shortcode
- Copyright notice
-
wp_footer()hook for scripts
The following categories are seeded automatically during setup:
- Mobile Devices
- Apple
- Samsung
These categories are shared between Articles and standard Posts, enabling cross-content-type filtering via the category filter shortcode.
The primary navigation menu is built automatically by setup.php:
Home | Trending (if page exists) | About ▾
├── Team
└── Mission
The menu supports dropdown sub-items and is styled as pill-shaped nav links in the header.
Note: The Opinions archive link was removed from the nav menu because the Opinion CPT archive is disabled.