Skip to content

Commit 2ebb5d2

Browse files
committed
- Updating Hilda and Gwyneth docs
- Fixing information
1 parent cc86cf4 commit 2ebb5d2

Some content is hidden

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

47 files changed

+157
-43
lines changed

0app/includes/_vars.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ else
8686
}
8787
8888
if config.imageNote && 'core' === config.imageNote
89-
- 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> Illustration image. May not display this actual theme.';
89+
- 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.';
9090

9191
-
9292
var image_notes = {

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/includes/_custom-content.pug

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,17 @@ block prepend customizer/fse/theme-options
3535
block append site-editor/styles/colors/bottom
3636
include colors.pug
3737

38+
block append plugins/recommended/woocommerce
39+
include plugin-wc.pug
40+
3841
block faq/answer/page-builder
3942
include faq-answer-page-builder.pug
40-
block prepend faq/questions/list
43+
block append faq/questions/list
4144
include faq-question-space.pug
42-
block prepend faq/answers/list
45+
include faq-question-wc-cart-checkout.pug
46+
block append faq/answers/list
4347
include faq-answer-space.pug
48+
include faq-answer-wc-cart-checkout.pug
49+
50+
block append sidebars/fse/display
51+
include sidebar-block.pug

gwyneth/includes/faq-answer-page-builder.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ p <strong>#{config.name}</strong> theme automatically recognizes 2 of the most p
22

33
p If you need to tweak a layout for using a page builder plugin, do so in theme options in #[+mark( 'nav', 'Appearance', 'Customize', 'Theme Options', 'Page builders' )].
44

5-
+tip( 'Page builder with block theme' )
6-
p If you really need to use a page builder plugin even if full site editing is enabled, and you experience a layout issues, you can <a href="#site-editor-templates">create a custom "Page builder" template</a> to use whenever you need to build a page/post content with your page builder plugin.
5+
+tip( 'Page builder with block theme', 'h4' )
6+
p If you really need to use a page builder plugin even if full site editing is enabled, and you experience some layout issues, you can <a href="#site-editor-templates">create a custom "Page builder" template</a> to use whenever you need to build a page/post content with your page builder plugin.
77

gwyneth/includes/faq-answer-space.pug

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
li
2-
+answer( '"Content padding" block spacing value', 'content-padding' )
2+
+answer( 'Block spacing "Content padding" value', 'content-padding' )
33

44
p <strong>#{config.name}</strong> theme provides multiple responsive spacing options for blocks (for margin and padding, for example).
55

66
p Among these there is a special option of <em>"<strong>Content padding</strong>"</em> added for setting up intelligent spacing on <a href="https://wordpress.org/documentation/article/post-content-block/">Content block</a> (when <a href="#site-editor-templates">editing templates</a>).
77

8-
p Once this spacing value is applied as <em>top padding</em> on the Content block, the <em><strong>first</strong> block in page/post content that is also <strong>fully aligned</strong></em> will mitigate for this content spacing and stick to upper edge of the page/post content, effectively removing the spacing automatically. <br>If the block is not fully aligned, the spacing (content padding) is still present.
8+
p Once this spacing value is applied as a <em>top padding</em> on the Content block, the <em><strong>first</strong> block in the page/post content that is also a <strong>fully aligned</strong></em> block will mitigate for this content spacing and sticks to the upper edge of the page/post content, effectively removing the spacing automatically. <br>If the block is not fully aligned, the spacing (content padding) is still present.
99

10-
+image( 'faq-spacing.jpg', 'Automatic mitigation for "Content padding" spacing option' )
10+
+image( 'faq-spacing.jpg', 'Example of automatic mitigation for "Content padding" spacing option' )
1111

12-
p The opposite applies for bottom padding and the last block in page/post content (in Content block).
12+
p The opposite applies for bottom padding and the last block in the page/post content (in Content block).
1313

14-
p Feel free to use this <em>"<strong>Content padding</strong>"</em> spacing value everywhere it fits your needs. For example, it can be used for keeping vertical spacing between sections consistent in your page/post content.
14+
p Feel free to use this <em>"<strong>Content padding</strong>"</em> spacing value everywhere it fits your needs. For example, it can be used for keeping vertical spacing between sections consistent in your page/post content. The default height of the <a href="https://wordpress.org/documentation/article/spacer-block/">"<strong>Spacer</strong>" block</a> is also set to <em>"<strong>Content padding</strong>"</em> value.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
li
2+
+answer( '<strong>WooCommerce</strong>: Cart & Checkout page', 'wc-cart-checkout' )
3+
4+
+warning( 'Duplicate cart/checkout form', 'h4' )
5+
p WooCommerce adds default content to Cart and Checkout page after plugin installation. The actual content depends on whether the theme is a block theme (full site editing theme) or a <a href="#disable-fse">classic theme</a>.
6+
p This may cause an issue of rendering 2 different cart/checkout forms on such pages. <strong>Read below for the solution:</strong>
7+
8+
p As WooCommerce adds default content to Cart and Checkout page after plugin installation, this may produce displaying of 2 different cart/checkout forms on those pages. (Check the pages on your website front-end after WooCommerce plugin installation.)
9+
10+
p To resolve this issue and provide only one cart/checkout form:
11+
12+
ol.is-steps
13+
li Open "Cart" page for editing and remove its content. (Or you can set custom content using blocks instead. You can also <a href="#posts-excerpt">set page excerpt</a>.)
14+
li Do the same for "Checkout" page.
15+
li Check those pages on your website front-end now.
16+
17+
+tip( 'Alternative: Edit templates', 'h4' )
18+
p You can directly edit "Cart" and "Checkout" <a href="#site-editor-templates">templates in Site Editor</a> to your needs, which provides more advanced and thorough control over those layouts.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
li
2-
a( href="#content-padding" ) "<strong>Content padding</strong>" block spacing value
2+
a( href="#content-padding" ) Block spacing "<strong>Content padding</strong>" value
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
li
2+
a( href="#wc-cart-checkout" ) <strong>WooCommerce</strong>: Cart & Checkout page

gwyneth/includes/plugin-wc.pug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
+important( 'Setup', 'h5' )
2+
p Please check FAQ section for how to <a href="#wc-cart-checkout">set up WooCommerce</a> with the theme.

gwyneth/includes/sidebar-block.pug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
+tip( 'Sidebar Block' )
2+
p If you want to display classic widgets in the sidebar, try <a href="https://wordpress.org/plugins/sidebar-block/"><strong>Sidebar Block</strong> plugin</a>.

gwyneth/index.html

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

hilda/assets/images/faq-spacing.jpg

-384 KB
35.6 KB
40.6 KB

hilda/includes/_custom-content.pug

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,21 @@ block prepend customizer/fse/theme-options
3838
block append site-editor/styles/colors/bottom
3939
include colors.pug
4040

41+
block append plugins/recommended/woocommerce
42+
include plugin-wc.pug
43+
4144
block faq/answer/page-builder
4245
include faq-answer-page-builder.pug
43-
block prepend faq/questions/list
46+
block append faq/questions/list
47+
include faq-question-sticky-header.pug
48+
include faq-question-progress-bar.pug
4449
include faq-question-space.pug
45-
block prepend faq/answers/list
50+
include faq-question-wc-cart-checkout.pug
51+
block append faq/answers/list
52+
include faq-answer-sticky-header.pug
53+
include faq-answer-progress-bar.pug
4654
include faq-answer-space.pug
55+
include faq-answer-wc-cart-checkout.pug
56+
57+
block append sidebars/fse/display
58+
include sidebar-block.pug

hilda/includes/faq-answer-page-builder.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ p <strong>#{config.name}</strong> theme automatically recognizes 2 of the most p
22

33
p If you need to tweak a layout for using a page builder plugin, do so in theme options in #[+mark( 'nav', 'Appearance', 'Customize', 'Theme Options', 'Page builders' )].
44

5-
+tip( 'Page builder with block theme' )
5+
+tip( 'Page builder with block theme', 'h4' )
66
p If you really need to use a page builder plugin even if full site editing is enabled, and you experience some layout issues, you can <a href="#site-editor-templates">create a custom "Page builder" template</a> to use whenever you need to build a page/post content with your page builder plugin.
77

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
li
2+
+answer( 'How to set progress bar value (width)', 'progress-bar' )
3+
4+
p "Progress bar" <a href="#block-patterns">block pattern</a> consists of multiple nested blocks and it may be difficult to find out how to change the value and width of the progress bar. Here are instructions to do so:
5+
6+
p
7+
small
8+
em (The images below are only illustrative and may not represent the actual "Progress bar" pattern design supplied with the theme.)
9+
10+
ol.is-steps
11+
li
12+
p Insert "Progress bar" block pattern into page/post content.
13+
+image( 'progress-bar-1.jpg', 'Insert "Progress bar" block pattern' )
14+
15+
li Click on the text value of the progress bar (<a href="https://wordpress.org/documentation/article/paragraph-block/">Paragraph block</a> with <code>65%</code> text by default) and change the number to desired value.
16+
17+
li
18+
p Then select the parent <a href="https://wordpress.org/documentation/article/row-block/">Row block</a> and in block options change the width to your desired value.
19+
+image( 'progress-bar-2.jpg', 'Setting up progress bar width' )

hilda/includes/faq-answer-space.pug

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
li
2-
+answer( '"Content padding" block spacing value', 'content-padding' )
2+
+answer( 'Block spacing "Content padding" value', 'content-padding' )
33

44
p <strong>#{config.name}</strong> theme provides multiple responsive spacing options for blocks (for margin and padding, for example).
55

66
p Among these there is a special option of <em>"<strong>Content padding</strong>"</em> added for setting up intelligent spacing on <a href="https://wordpress.org/documentation/article/post-content-block/">Content block</a> (when <a href="#site-editor-templates">editing templates</a>).
77

8-
p Once this spacing value is applied as a <em>top padding</em> on the Content block, the <em><strong>first</strong> block in the page/post content that is also a <strong>fully aligned</strong></em> block will mitigate for this content spacing and stick to the upper edge of the page/post content, effectively removing the spacing automatically. <br>If the block is not fully aligned, the spacing (content padding) is still present.
8+
p Once this spacing value is applied as a <em>top padding</em> on the Content block, the <em><strong>first</strong> block in the page/post content that is also a <strong>fully aligned</strong></em> block will mitigate for this content spacing and sticks to the upper edge of the page/post content, effectively removing the spacing automatically. <br>If the block is not fully aligned, the spacing (content padding) is still present.
9+
10+
p
11+
small
12+
em (The image below is only illustrative and may not represent the actual theme.)
913

1014
+image( 'faq-spacing.jpg', 'Example of automatic mitigation for "Content padding" spacing option' )
1115

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
li
2+
+answer( 'How to set sticky header', 'sticky-header' )
3+
p If you need to display the site header on top of the browser window (viewport) even when user scrolls the page, try one of these options:
4+
5+
6+
h4 Use a plugin
7+
8+
p Use a plugin to set sticky position on elements, such as <a href="https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/"><strong>Sticky Menu & Sticky Header</strong> plugin</a>. This option can be very flexible approach providing conditional control over header sticky positioning (depending on the plugin capabilities).
9+
10+
+tip( 'Set up the plugin', 'h5' )
11+
p For setting up sticky header using a plugin use <code>#masthead</code> in plugin options as (theme default) site header selector.
12+
p Alternatively use <a href="https://support.webmandesign.eu/using-browser-code-inspector/">browser code inspector</a> to determine the selector for your desired sticky element. Or check your plugin documentation for tips.
13+
14+
15+
h4 Use custom CSS code
16+
17+
p You can even set the sticky positioning using a <a href="#css">custom CSS code</a>, such as:
18+
19+
+code #masthead {<br> position: sticky;<br> top: var(--wp-admin--admin-bar--height, 0);<br>}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
li
2+
+answer( '<strong>WooCommerce</strong>: Cart & Checkout page', 'wc-cart-checkout' )
3+
4+
+warning( 'Duplicate cart/checkout form', 'h4' )
5+
p WooCommerce adds default content to Cart and Checkout page after plugin installation. The actual content depends on whether the theme is a block theme (full site editing theme) or a <a href="#disable-fse">classic theme</a>.
6+
p This may cause an issue of rendering 2 different cart/checkout forms on such pages. <strong>Read below for the solution:</strong>
7+
8+
p As WooCommerce adds default content to Cart and Checkout page after plugin installation, this may produce displaying of 2 different cart/checkout forms on those pages. (Check the pages on your website front-end after WooCommerce plugin installation.)
9+
10+
p To resolve this issue and provide only one cart/checkout form:
11+
12+
ol.is-steps
13+
li Open "Cart" page for editing and remove its content. (Or you can set custom content using blocks instead. You can also <a href="#posts-excerpt">set page excerpt</a>.)
14+
li Do the same for "Checkout" page.
15+
li Check those pages on your website front-end now.
16+
17+
+tip( 'Alternative: Edit templates', 'h4' )
18+
p You can directly edit "Cart" and "Checkout" <a href="#site-editor-templates">templates in Site Editor</a> to your needs, which provides more advanced and thorough control over those layouts.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
li
2+
a( href="#progress-bar" ) How to set <strong>progress bar</strong> value (width)

hilda/includes/faq-question-space.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
li
2-
a( href="#content-padding" ) "<strong>Content padding</strong>" block spacing value
2+
a( href="#content-padding" ) Block spacing "<strong>Content padding</strong>" value
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
li
2+
a( href="#sticky-header" ) How to set <strong>sticky header</strong>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
li
2+
a( href="#wc-cart-checkout" ) <strong>WooCommerce</strong>: Cart & Checkout page

hilda/includes/plugin-wc.pug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
+important( 'Setup', 'h5' )
2+
p Please check FAQ section for how to <a href="#wc-cart-checkout">set up WooCommerce</a> with the theme.

hilda/includes/sidebar-block.pug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
+tip( 'Sidebar Block' )
2+
p If you want to display classic widgets in the sidebar, try <a href="https://wordpress.org/plugins/sidebar-block/"><strong>Sidebar Block</strong> plugin</a>.

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/includes/faq-answer-sticky-header.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ li
1515

1616
h4 Use a plugin
1717

18-
p Use a plugin to set sticky position on elements, such as <a href="https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/"><strong>Sticky Menu & Sticky Header</strong> plugin</a>. This option is more flexible approach with less work and provides more control over header sticky positioning.
18+
p Use a plugin to set sticky position on elements, such as <a href="https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/"><strong>Sticky Menu & Sticky Header</strong> plugin</a>. This option can be very flexible approach providing conditional control over header sticky positioning (depending on the plugin capabilities).
1919

2020
+tip( 'Set up the plugin', 'h5' )
21-
p For setting up sticky header using a plugin use <code>#masthead</code> in plugin options as (default) site header selector.
21+
p For setting up sticky header using a plugin use <code>#masthead</code> in plugin options as (theme default) site header selector.
2222
p Alternatively use <a href="https://support.webmandesign.eu/using-browser-code-inspector/">browser code inspector</a> to determine the selector for your desired sticky element. Or check your plugin documentation for tips.
2323

2424

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ li
22
+answer( '<strong>WooCommerce</strong>: Cart & Checkout page', 'wc-cart-checkout' )
33

44
+warning( 'Duplicate cart/checkout form', 'h4' )
5-
p WooCommerce adds default content to Cart and Checkout page after plugin installation. The actual content depends on whether the theme is a block theme (full site editing theme) or a <a href="##disable-fse">classic theme</a>.
6-
p This may cause an issue of rendering 2 different cart/checkout forms on such pages. <strong>Read below for solution:</strong>
5+
p WooCommerce adds default content to Cart and Checkout page after plugin installation. The actual content depends on whether the theme is a block theme (full site editing theme) or a <a href="#disable-fse">classic theme</a>.
6+
p This may cause an issue of rendering 2 different cart/checkout forms on such pages. <strong>Read below for the solution:</strong>
77

88
p For improved flexibility, this theme sets Cart and Checkout page default templates to also display the page excerpt and content. Excerpt is displayed before, and content after the page cart/checkout default form.
99

10-
p As WooCommerce adds default content to Cart and Checkout page after plugin installation, this may produce displaying of 2 different cart/checkout forms on those pages. (Check your pages on your website front-end after WooCommerce plugin installation.)
10+
p As WooCommerce adds default content to Cart and Checkout page after plugin installation, this may produce displaying of 2 different cart/checkout forms on those pages. (Check the pages on your website front-end after WooCommerce plugin installation.)
1111

1212
p To resolve this issue and provide only one cart/checkout form:
1313

ileana/includes/plugin-wc.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
+important( 'Setup', 'h5' )
2-
p Please check FAQ section for how to <a href="#wc-cart-checkout">set up WooCommerce</a> with Ileana theme.
2+
p Please check FAQ section for how to <a href="#wc-cart-checkout">set up WooCommerce</a> with the theme.

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.

0 commit comments

Comments
 (0)