https://github.com/imagewize/thaiconomics
Thaiconomics Theme
https://github.com/imagewize/thaiconomics
Last synced: 4 months ago
JSON representation
Thaiconomics Theme
- Host: GitHub
- URL: https://github.com/imagewize/thaiconomics
- Owner: imagewize
- Created: 2025-04-23T03:02:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-16T03:09:51.000Z (9 months ago)
- Last Synced: 2025-09-16T04:30:27.997Z (9 months ago)
- Language: HTML
- Size: 832 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thaiconomics Theme
A custom WordPress child theme built on the Moiraine block theme for Thaiconomics.com. This theme provides specialized features for economic content about Thailand, with custom styles and functionality.
## Features
### Custom Header with Hamburger Menu
The theme implements a specialized header with a hamburger menu for improved mobile navigation and a cleaner interface.
### Custom Typography
- **Bodoni** - Used for post titles and dates for an elegant, classic serif appearance
- **Open Sans** - Used for body text and excerpts for improved readability
### Enhanced Block Features
- **Custom Post Excerpt Block** - Adds a "Link to Post" option to the standard excerpt block, allowing excerpts to link to their parent posts
- **Custom Post Templates** - Specialized templates for featured posts and grid layouts
## File Structure
- `/assets/` - Theme assets
- `/js/` - JavaScript files including custom block enhancements
- `/parts/` - Template parts that override the parent theme
- `header.html` - Custom header with hamburger menu
- `/patterns/` - Block patterns
- `post-loop-grid-tc.php` - Grid layout for post loops
- `post-single-featured.php` - Enhanced featured post display
- `/styles/` - Custom CSS styles
- `/templates/` - Block templates for various page types
## Custom Block Functionality
### Post Excerpt with Link Option
The theme includes JavaScript that extends WordPress's core post excerpt block with a "Link to Post" toggle in the block editor. When enabled, the entire excerpt becomes a link to the full post.
## Installation
1. Make sure the parent Moiraine theme is installed
2. Upload the Thaiconomics theme folder to `/wp-content/themes/` or `/app/themes/` in a Bedrock installation
3. Activate the theme through the WordPress admin panel
## Development
This theme is built as a child theme of Moiraine. When making changes:
- Custom patterns should be added to the `/patterns/` directory
- JavaScript files should be placed in `/assets/js/`
- Custom template parts should go in `/parts/`
## Requirements
- WordPress 6.0 or higher
- Moiraine parent theme
- PHP 7.4 or higher
## Credits
- Developed by Imagewize
- Built on the Moiraine block theme
- Uses Google Fonts: Bodoni and Open Sans