Skip to content

Commit 1bcb608

Browse files
committed
- Updating and fixing docs
- Adding Zooey theme docs
1 parent 17d7f2e commit 1bcb608

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+91
-171
lines changed

0app/includes/_vars.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ else
8787
}
8888
8989
if config.imageNote && 'core' === config.imageNote
90-
- config.imageNote = '<svg class="svg-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 256 256"><path fill="currentColor" d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88m16-40a8 8 0 0 1-8 8a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m-32-92a12 12 0 1 1 12 12a12 12 0 0 1-12-12"/></svg> Illustrative image. May not display this actual theme.';
90+
- config.imageNote = '<svg class="svg-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 256 256"><path fill="currentColor" d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88m16-40a8 8 0 0 1-8 8a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m-32-92a12 12 0 1 1 12 12a12 12 0 0 1-12-12"/></svg> Illustrative image. May not represent this actual theme.';
9191

9292
-
9393
var image_notes = {
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
block editor/about
22
p <strong>#{config.name}</strong> theme is compatible with WordPress block editor and supports wide alignment, color palettes, font sizes, and others. Using block editor allows you to create beautiful and performant websites with intriguing page layouts without a page builder plugin. Have a look at <a href="#{config.url.demo}">theme demo website</a> for inspiration.
33

4-
+video( 'https://wordpress.tv/2021/10/12/how-to-create-a-post-or-page-with-the-wordpress-block-editor/' ) How to use block editor
4+
+video( 'https://www.youtube.com/watch?v=jA6AbrVwd3o' ) How to use block editor
5+
6+
+video( 'https://wordpress.tv/2021/10/12/how-to-create-a-post-or-page-with-the-wordpress-block-editor/' ) Alternative, older video about how to use block editor
57

68
+info( 'Available blocks', 'h3' )
79
p Visit <a href="https://wordpress.org/documentation/article/blocks-list/">WordPress blocks list</a> for information on available blocks and how to set them up.
810

9-
+warning( 'Incompatibility', 'h3' )
10-
p Please note that WordPress editors are not compatible with each other. Editing content built in one editor will not work when using a different editor. <a href="https://support.webmandesign.eu/demo-content-editor/">Read knowledge base article</a> for further information.
11+
if true !== config.compatibility.no_demo
12+
+warning( 'Incompatibility', 'h3' )
13+
p Please note that WordPress editors are not compatible with each other. Editing content built in one editor will not work when using a different editor. <a href="https://support.webmandesign.eu/demo-content-editor/">Read knowledge base article</a> for further information.

0app/includes/content/faq/answer/font.pug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
block faq/answer/font
22

3-
+tip( 'WordPress fonts library', 'h4' )
3+
+tip( 'Use WordPress fonts library', 'h4' )
44
p When using a block theme, you can upload your custom fonts using WordPress native <a href="#site-editor-styles-typography">fonts library</a>.
5+
p In such case, <strong>steps #1 and #2 in the procedure below are obsolete</strong>.
56

67
p By default, the theme supports any <a href="https://fonts.google.com/">Google Fonts</a> font out of the box. So, if you want to use a font family from Google Fonts, simply set it up in font family option fields in <strong>Appearance → Customize → Theme Options → Typography</strong>.
78

0app/includes/content/plugins/others.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
+sub_section( 'Useful Plugins', 'plugins-others' )
2-
p With this theme you can use whatever plugins you like (check out <a href="#plugins">compatibility info</a> above). Here is a selection of additional useful plugins:
2+
p With this theme you can use whatever plugins you like (check out <a href="#plugins">compatibility info</a> above). Here is a selection of some useful plugins:
33

44
dl.list-default.has-quoted-terms
55
block plugins/others/list

0app/includes/content/site-editor/styles.pug

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ block site-editor/styles
5454
p Theme applies a palette of colors throughout the site elements. You can modify each individual color in palette, modify WordPress default color palette, and add your own custom colors.
5555
+important( 'Use solid colors', 'h4' )
5656
p As the theme automatically calculates additional colors from its palette, it is recommended to use solid colors, not a semi-transparent ones.
57+
if true === config.compatibility.fse_colors_elements
58+
+info( 'Link & element colors', 'h4' )
59+
p Editing global styles Colors section also allows you to set colors for "Text", "Background", "Link", "Captions", "Button" and "Heading" elements.
60+
p Please note this is <strong><em>not advisable</em></strong> for this theme. Instead, change the theme color palette accordingly - check the colors information below.
61+
p Actually, the only "safe", usable option from elements colors setup group is the "<strong>Link</strong>" color setup. If needed, you can tweak that one to your needs.
5762
block site-editor/styles/colors/bottom
5863
+image( 'core/fse/styles-colors.png', 'Editing theme colors' )
5964
+tip( 'Editing tips', 'h4' )

0app/includes/footer.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ p.has-small-font-size.has-small-line-height
66
| Please note that images used in this documentation are illustrative only.
77
| <br>
88
| They might not represent the actual theme or WordPress user interface 100%. They were created to provide help visualizing certain procedures.
9-
| Although the interface may look a bit different in your website, the steps shown in the images are the same.
9+
| Although the interface may look a bit different in your website, the steps shown in the images should be the same.
1010

1111
p Once again, <strong>thank you for using #{config.name}</strong> WordPress theme!
1212

angelica/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

auberge/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

bjork/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cindy/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

deborah/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

eimear/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

forstron/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

francesca/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

gwyneth/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

hilda/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

icelander/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

ileana/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

michelle/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

modern/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

monument-valley/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

mustang/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

polyclinic/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

qtron/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

receptar/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

reykjavik/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

zooey/assets/css/style.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
:root {
22
/* Theme color palette: */
3-
--color_base: $color_base;
4-
--color_contrast: $color_contrast;
5-
--color_contrast_alt: $color_contrast_alt;
6-
--color_primary: $color_primary;
7-
--color_primary_mixed: mix( $color_primary, $color_base, 12.50% );
8-
--color_secondary: $color_secondary;
9-
--color_secondary_mixed: mix( $color_secondary, $color_base, 38.20% );
3+
--color_base: #f7fff7;
4+
--color_contrast: #474f47;
5+
--color_contrast_alt: #171f17;
6+
--color_primary: #5f1a37;
7+
--color_primary_mixed: #e4e2df;
8+
--color_secondary: #ff6b6b;
9+
--color_secondary_mixed: #fac6c2;
1010
--color_black: #000000;
1111
--color_white: #ffffff;
1212
--color_gradient_primary: var(--color_secondary);
@@ -23,11 +23,11 @@
2323
--color_nav_text: var(--color_black);
2424
--color_nav_background_active: var(--color_primary);
2525
--color_nav_text_active: var(--color_white);
26-
--color_nav_background_hover: var(--color_primary_mixed);
26+
--color_nav_background_hover: var(--color_secondary_mixed);
2727
--color_nav_text_hover: var(--color_nav_text);
2828
--color_nav_border: rgba(0, 0, 0, var(--border_opacity));
29-
--color_nav_prefix_content: var(--color_primary);
30-
--color_nav_prefix_customizing: #0660e5;
29+
--color_nav_prefix_content: #1a375f;
30+
--color_nav_prefix_customizing: #375f1a;
3131
--color_intro_background: var(--color_primary);
3232
--color_intro_text: var(--color_white);
3333
--color_content_background: var(--color_base);
@@ -47,7 +47,7 @@
4747
content: "";
4848
position: absolute;
4949
inset: 0;
50-
background: url("assets/images/pexels-amina-filkins-5410071.webp");
50+
background: url("assets/images/intro.webp");
5151
background-position: 50% 50%;
5252
background-size: cover;
5353
opacity: 0.1;

zooey/assets/images/blog-layout.jpg

25 KB
-4.5 KB
59.2 KB

zooey/assets/images/intro.webp

52.3 KB
Binary file not shown.

zooey/assets/images/megamenu.jpg

17.7 KB

zooey/assets/images/menu-image-1.jpg

-15.9 KB

zooey/assets/images/menu-image-2.jpg

-20 KB

zooey/assets/images/mobile-header.jpg

-71.9 KB
Binary file not shown.

zooey/assets/images/mobile-menu.png

19.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

zooey/assets/sass/style.scss

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
$color_base : #fffae6;
2-
$color_base_alt : #efead6;
3-
$color_contrast : #3f3a36;
4-
$color_contrast_alt : #0f0a06;
5-
$color_primary : #30533f;
6-
$color_secondary : #437358;
1+
$color_base : #f7fff7;
2+
$color_base_alt : #e7efe7;
3+
$color_contrast : #474f47;
4+
$color_contrast_alt : #171f17;
5+
$color_primary : #5f1a37;
6+
$color_secondary : #ff6b6b;
77

88
:root {
99

1010
/* Theme color palette: */
11-
--color_base: $color_base;
12-
--color_contrast: $color_contrast;
13-
--color_contrast_alt: $color_contrast_alt;
14-
--color_primary: $color_primary;
15-
--color_primary_mixed: mix( $color_primary, $color_base, 12.50% );
16-
--color_secondary: $color_secondary;
17-
--color_secondary_mixed: mix( $color_secondary, $color_base, 38.20% );
11+
--color_base: #{ $color_base };
12+
--color_contrast: #{ $color_contrast };
13+
--color_contrast_alt: #{ $color_contrast_alt };
14+
--color_primary: #{ $color_primary };
15+
--color_primary_mixed: #{ mix( $color_primary, $color_base, 12.50% ) };
16+
--color_secondary: #{ $color_secondary };
17+
--color_secondary_mixed: #{ mix( $color_secondary, $color_base, 38.20% ) };
1818
--color_black: #000000;
1919
--color_white: #ffffff;
2020

@@ -36,11 +36,12 @@ $color_secondary : #437358;
3636
--color_nav_text: var(--color_black);
3737
--color_nav_background_active: var(--color_primary);
3838
--color_nav_text_active: var(--color_white);
39-
--color_nav_background_hover: var(--color_primary_mixed);
39+
--color_nav_background_hover: var(--color_secondary_mixed);
4040
--color_nav_text_hover: var(--color_nav_text);
4141
--color_nav_border: #{ rgba( #000, var(--border_opacity) ) };
42-
--color_nav_prefix_content: var(--color_primary);
43-
--color_nav_prefix_customizing: #0660e5; // Split complementary, https://www.colorhexa.com/e51c06
42+
// Triadic colors, https://www.colorhexa.com/5f1a37 (from primary color)
43+
--color_nav_prefix_content: #1a375f;
44+
--color_nav_prefix_customizing: #375f1a;
4445

4546
--color_intro_background: var(--color_primary);
4647
--color_intro_text: var(--color_white);
@@ -64,7 +65,7 @@ $color_secondary : #437358;
6465
content: '';
6566
position: absolute;
6667
inset: 0;
67-
background: url('assets/images/pexels-amina-filkins-5410071.webp');
68+
background: url('assets/images/intro.webp');
6869
background-position: 50% 50%;
6970
background-size: cover;
7071
opacity: .1;

zooey/includes/_custom-content.pug

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ block prepend pages/templates/about
1414
block pages/templates/list
1515
include template-content-only.pug
1616
include template-no-intro.pug
17-
include template-overlaid-header.pug
1817
include template-with-sidebar.pug
1918

2019
block append menu/fse
@@ -27,29 +26,18 @@ block prepend customizer/fse/theme-options
2726
block append site-editor/styles/colors/bottom
2827
include colors.pug
2928

30-
block append plugins/recommended/woocommerce
31-
include plugin-wc.pug
32-
3329
block faq/answer/page-builder
3430
include faq-answer-page-builder.pug
3531
block append faq/questions/list
3632
include faq-question-custom-header.pug
37-
include faq-question-mobile-header.pug
3833
include faq-question-sticky-header.pug
3934
include faq-question-progress-bar.pug
4035
include faq-question-space.pug
41-
include faq-question-wc-cart-checkout.pug
42-
include faq-question-wc-layout-product.pug
43-
include faq-question-wc-shop-page.pug
4436
block append faq/answers/list
4537
include faq-answer-custom-header.pug
46-
include faq-answer-mobile-header.pug
4738
include faq-answer-sticky-header.pug
4839
include faq-answer-progress-bar.pug
4940
include faq-answer-space.pug
50-
include faq-answer-wc-cart-checkout.pug
51-
include faq-answer-wc-layout-product.pug
52-
include faq-answer-wc-shop-page.pug
5341

5442
block append sidebars/fse/display
5543
include sidebar-block.pug

zooey/includes/colors.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ul
99

1010
li "<strong>Contrast alternative</strong>" color is used for <em>headings</em>. Set this for an appropriate contrast against "Base" color.
1111

12-
li "<strong>Primary</strong>" color is an accent color <em>used on links and buttons</em>. Set this for an appropriate contrast against "Base" color.
12+
li "<strong>Primary</strong>" color is an accent color <em>used on links and buttons</em>. Set this for an appropriate contrast against "Base" color. This color is also used in theme's default <a href="#custom-header">decorative images</a>.
1313

1414
li "<strong>Primary mixed</strong>" color is a subtle or contrasting version of "Primary" color. By default it was set as a blend of "Base" and "Primary" color. It is used by the theme only in predefined patterns. It is helpful as a subtle background for various sections and elements.
1515

16-
li "<strong>Secondary</strong>" color is another accent color. It is used by the theme in predefined patterns and template parts. Set this according your preference.
16+
li "<strong>Secondary</strong>" color is another accent color. It is used by the theme in predefined patterns and template parts. Set this according your preference. This color is also used in theme's default <a href="#custom-header">decorative images</a>.
1717

1818
li "<strong>Secondary mixed</strong>" color is a subtle or contrasting version of "Secondary" color. By default it was set as a blend of "Base" and "Secondary" color. It is used by the theme predefined patterns and template parts. It is helpful as a subtle background for various sections and elements.
1919

zooey/includes/custom-header.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
+mark( 'nav', 'Appearance', 'Customize', 'Header Image' ).is-path-featured
44
+mark( 'nav', 'Appearance', 'Header' ).is-path-featured
55

6-
p The theme displays a decorative image in page intro section and in footer. It is also used in <a href="#block-patterns">block patterns</a>. By default this image is set to "Flowers" image. You can change it to custom image or choose from the theme predefined images.
6+
p The theme displays a decorative image in site header and footer. It is also used in <a href="#block-patterns">block patterns</a>. By default this image is set to theme's "Fingers" dynamic colors SVG image. You can change it to custom image or choose from other theme predefined images (check out <a href="https://themedemos.webmandesign.eu/zooey/?layout=decoration">theme demo example</a>).
77

8-
+image( 'decorative-image.jpg', 'Preview of decorative image - flowers' )
8+
+image( 'decorative-image.jpg', 'Preview of decorative image' )
99

1010
+tip( 'Remove header images' )
1111
p To disable the header image go to #[+mark( 'nav', 'Appearance', 'Customize', 'Header Image', '"Current header"', '"Hide image" button' )].
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
li
22
+answer( 'How to set decorative image', 'decorative-image' )
33

4-
p The theme displays a decorative image in page intro section and in footer. It is also used in <a href="#block-patterns">block patterns</a>.
4+
p The theme displays a decorative image in site header and footer. It is also used in <a href="#block-patterns">block patterns</a>.
55

6-
p By default this image is set to "Flowers" image. You can change it to custom image or choose from the theme predefined images.
6+
p By default this image is set to theme's "Fingers" dynamic colors SVG image. You can change it to custom image or choose from other theme predefined images (check out <a href="https://themedemos.webmandesign.eu/zooey/?layout=decoration">theme demo example</a>).
77

88
p The image is taken from <a href="#custom-header"><strong>custom header</strong></a> images.
99

10-
+image( 'decorative-image.jpg', 'Preview of decorative image - flowers' )
10+
+image( 'decorative-image.jpg', 'Preview of decorative image' )
1111

1212
p Alternatively, you can simply change it in <a href="#site-editor-template-parts">template parts</a> where it is used. (As this would be more tedious work, we recommend setting up <a href="#custom-header">custom header</a> instead.)

zooey/includes/faq-answer-mobile-header.pug

Lines changed: 0 additions & 15 deletions
This file was deleted.

zooey/includes/faq-answer-sticky-header.pug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ li
55

66
h4 Set position option on "Header" template part
77

8+
+important( 'Only works in full site editing mode', 'h5' ).has-regular-margin-bottom
9+
p This solution only works when <a href="#site-editor">Site Editor</a> is enabled so you can edit <a href="#site-editor-templates">templates</a>.
10+
811
p Set "Sticky" position to all "Header" <a href="https://wordpress.org/documentation/article/template-part-block/">Template Part blocks</a> in <a href="#site-editor-templates">templates</a>. This is a tedious task as you need to edit all (most) of the templates.
912

1013
+image( 'sticky-header.jpg', 'Setting sticky header position in Site Editor' )
1114

12-
+important( 'Only works in full site editing mode', 'h5' ).has-regular-margin-bottom
13-
p This solution only works when <a href="#site-editor">Site Editor</a> is enabled so you can edit <a href="#site-editor-templates">templates</a>.
14-
1515

1616
h4 Use a plugin
1717

zooey/includes/faq-answer-wc-cart-checkout.pug

Lines changed: 0 additions & 20 deletions
This file was deleted.

zooey/includes/faq-answer-wc-layout-product.pug

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)