پرش به محتوا
GutenBook

مستندات GutenBook

راهنمای راه‌اندازی و سفارشی‌سازی قالب وردپرس GutenBook — نصب، هدر، فوتر، چیدمان، ابزارک‌ها و تنظیمات صفحه اصلی.

نصب

From your WordPress dashboard go to Appearance → Themes → Add New, search for “GutenBook”, then click Install and Activate.

To install manually, download the .zip from WordPress.org and upload it under Appearance → Themes → Add New → Upload Theme.

The readme lists WordPress 5.0 and PHP 7.1 as minimums. No plugin is required; Jetpack infinite scroll is supported. After activation the bundled Freemius SDK may show an opt-in screen and adds an About GutenBook page under Appearance. You can press Skip on the opt-in; the theme works either way.

Theme options and the homepage hero

All of GutenBook's own settings are in Appearance → Customize → GutenBook - Theme Options.

“Select Style” offers Theme 1 (Dark Theme), the default, and Theme 2 (Light Theme). The setting changes the hero and header colours.

“Hero Section Title” and “Hero Section Sub-title” set the large headline at the top of the blog posts page. The defaults are “WordPress blog theme made for Gutenberg.” and lorem ipsum, so change both.

To put an image behind the hero, upload a header image under Appearance → Customize → Header Image. The theme suggests 1600 × 500 pixels.

Writing with the block editor

GutenBook turns on wide and full alignment. Select an Image, Cover or Media & Text block and use the alignment control in the block toolbar to choose Wide width or Full width.

The stylesheet has dedicated rules for Cover, Media & Text and Pullquote blocks, so those render as designed. Other core blocks use WordPress's default block styles.

Content sits in a narrow centred column, so very long tables or code samples may need horizontal scrolling on small screens.

Child themes and custom CSS

For colour and spacing tweaks, use Appearance → Customize → Additional CSS.

This theme loads its main stylesheet with get_stylesheet_uri(). When a child theme is active, that function returns the child theme's style.css, so the parent's style.css is no longer loaded on its own. Your child theme's functions.php therefore has to enqueue the parent stylesheet itself: wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ). If you skip this, the site loses most of its styling the moment the child theme is activated.

Troubleshooting

My widgets do not appear: GutenBook's templates do not display the Sidebar widget area, and the footer widget areas are part of the paid version.

The hero is missing: it shows only on the blog posts page, not on a static front page.

For other problems, use the theme's public support forum on WordPress.org.

هنوز گیر کرده‌اید؟

اگر چیزی در GutenBook آن‌طور که این صفحه می‌گوید رفتار نمی‌کند، این یک باگ است که ارزش شنیدن دارد.