How anamfathonaya/plstn-u works
Plstn-U is a WordPress news theme with separate must-use plugins for editorial content types and RSS feeds. The main reader workflow is WordPress routing a request to a view composer, which prepares query-backed data for Blade templates to render as news pages and shared interface components. Composer modules also cover article, archive, trending, and page states. The README documents these responsibilities; unsampled template wiring is represented only where documented, and optional integrations remain separate.
Main entry points: FrontPage.php Front-page data · Single.php Article data · components Shared Blade interface · Trending.php Trending data
Components 21
WordPress integration
- Theme bootstrap
theme/functions.php - Theme setup
theme/app/setup.php - Sage provider
theme/app/Providers/ThemeServiceProvider.php
Editorial content
- Editorial post types
mu-plugins/pu-content-types.php - RSS feeds
mu-plugins/pu-feeds.php
View composition
- Front-page data
theme/app/View/Composers/FrontPage.php - Article data
theme/app/View/Composers/Single.php - Archive and search data
theme/app/View/Composers/Archive.php - Trending data
theme/app/View/Composers/Trending.php - Shared site data
theme/app/View/Composers/App.php - News index URL
theme/app/Support/NewsIndex.php - Page composers
theme/app/View/Composers
Reader experience
- Home templates
theme/resources/views/front-page.blade.php - Article templates
theme/resources/views/single.blade.php - Archive templates
theme/resources/views - Video and infographic views
theme/resources/views - Shared Blade interface
theme/resources/views/components - Application layout
theme/resources/views/layouts/app.blade.php - Browser interactions
theme/resources/js/app.js
Other components
- WordPress
- Post Views Counter
Connections 23
- WordPress → Theme bootstrap: loads theme
theme/functions.php - Theme bootstrap → Sage provider: boots provider
theme/functions.php - Theme bootstrap → Theme setup: loads setup
theme/functions.php - WordPress → Editorial post types: loads plugin
mu-plugins/pu-content-types.php - WordPress → RSS feeds: loads plugin
mu-plugins/pu-feeds.php - WordPress → Front-page data: routes request
- WordPress → Article data: routes request
- WordPress → Archive and search data: routes request
- Front-page data → Home templates: provides data
- Article data → Article templates: provides data
- Archive and search data → Archive templates: provides data
theme/app/View/Composers/Archive.php - Archive and search data → Video and infographic views: serves archive views
theme/app/View/Composers/Archive.php - Front-page data → News index URL: uses URL
theme/app/View/Composers/FrontPage.php - Article data → News index URL: uses URL
theme/app/View/Composers/Single.php - Front-page data → WordPress: queries posts
theme/app/View/Composers/FrontPage.php - Article data → WordPress: queries posts
theme/app/View/Composers/Single.php - Trending data → WordPress: queries posts
theme/app/View/Composers/Trending.php - Trending data → Post Views Counter: orders by views
theme/app/View/Composers/Trending.php - Shared site data → Shared Blade interface: supplies shared data
- Trending data → Shared Blade interface: supplies trending list
theme/app/View/Composers/Trending.php - Application layout → Shared Blade interface: renders components
- Browser interactions → Shared Blade interface: supports interactions
- Page composers → WordPress: prepares page data