Skip to content

Commit 28acd9d

Browse files
committed
Update descriptions for special offer templates and add post content block to templates
1 parent 6e5d41e commit 28acd9d

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

classes/class-to-specials-templates.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function register_post_type_templates() {
3939
$post_types = [
4040
'single-special' => [
4141
'title' => __( 'Single Special Offer', 'to-specials' ),
42-
'description' => __( 'Displays a single tour', 'to-specials' ),
42+
'description' => __( 'Displays a single special offer', 'to-specials' ),
4343
'post_types' => ['special'],
4444
],
4545
'archive-special' => [

includes/metaboxes/config-special.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
$metabox['fields'][] = array(
160160
'name' => esc_html__( 'Gallery', 'to-specials' ),
161-
'desc' => esc_html__( 'Add images related to the accommodation to be displayed in the Accommodation\'s gallery.', 'to-specials' ),
161+
'desc' => esc_html__( 'Add images related to the special to be displayed in the special\'s gallery.', 'to-specials' ),
162162
'id' => 'gallery',
163163
'type' => 'file_list',
164164
'preview_size' => 'thumbnail', // Image size to use when previewing in the admin.

templates/archive-special.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
<!-- wp:template-part {"slug":"header","area":"header"} /-->
2+
<!-- wp:post-content {"align":"wide","fontSize":"medium","layout":{"type":"default"}} /-->
23
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

templates/single-special.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
<!-- wp:template-part {"slug":"header","area":"header"} /-->
2+
<!-- wp:post-content {"align":"wide","fontSize":"medium","layout":{"type":"default"}} /-->
23
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

0 commit comments

Comments
 (0)