diff --git a/admin/_header.php b/admin/_header.php index abca30a..35e74d4 100644 --- a/admin/_header.php +++ b/admin/_header.php @@ -2,20 +2,20 @@
- StylePress by dtbaker + v

- StylePress is BETA - there are bugs!
- Report issues and feedback on github +
+
- Import + Create New Style + class="button button-primary">
-

Getting Started

+

    -
  1. Create your "Site Style" in Elementor from the Styles page.
  2. -
  3. Choose which Outer Styles to apply to your site using the options below. The Outer Style is the header/sidebar/footer that wraps around your page content.
  4. -
  5. Choose which Inner Styles to apply to your site components. The Inner Styles are dynamic layouts that replace the default the_content() output.
  6. -
  7. When editing individual pages you can apply a different style to the default, look in the page metabox area.
  8. -
  9. Disable Theme CSS if the page layout looks funky (recommended).
  10. -
  11. View more help and videos at https://stylepress.org/help/
  12. +
  13. +
  14. +
  15. the_content() output.', 'stylepress'); ?>
  16. +
  17. +
  18. +
  19. https://stylepress.org/help/
-

Recommended Plugins:

-

It is recommended to install these plugins to get best results:

+

+

    -
  1. Elementor Pro
  2. -
  3. Max Mega Menu
  4. -
  5. Easy Google Fonts
  6. +
  7. +
  8. +
-

Settings updated.

+

-

TODO: Create a toggle button to enable/disable these.

-

TODO: Include the rest of these missing plugins into this package.

+

+

-

Current add-ons:

+

-

Pending add-ons:

+

diff --git a/admin/payment-modal.php b/admin/payment-modal.php index 5318d1b..6cce03f 100644 --- a/admin/payment-modal.php +++ b/admin/payment-modal.php @@ -18,26 +18,26 @@
- +
- +
@@ -45,7 +45,7 @@
- +
diff --git a/admin/settings-page.php b/admin/settings-page.php index b1150fa..45c91cc 100644 --- a/admin/settings-page.php +++ b/admin/settings-page.php @@ -29,11 +29,11 @@ -

Settings updated.

+

-

Style Imported! Your new style has been imported. Please assign it to your site below (hint: Start with "Global" and test from there).

+

Style Imported! Your new style has been imported. Please assign it to your site below (hint: Start with "Global" and test from there).', 'stylepress'); ?>

@@ -42,8 +42,8 @@

- Configure Website Styles - Choose which styles to apply on various parts of your website. See the help menu above for more details. + +

@@ -55,10 +55,10 @@ - - - - + + + + @@ -118,13 +118,13 @@
-

Need help? +


- The "Outer" style is generally the same on every page of the site.
- It contains your logo, header, footer and sidebars.
- The "Inner" style is can be different for posts, pages and CPT's.
- It contains a page title area and other dynamic fields. +
+
+
+

 

diff --git a/admin/styles-page-inner.php b/admin/styles-page-inner.php index 1d08b48..6917903 100644 --- a/admin/styles-page-inner.php +++ b/admin/styles-page-inner.php @@ -66,16 +66,16 @@

- Create New Website Style - Choose the name for your new website style. After creating a new style you can start designing the full site layout in Elementor. + +

- +

- +

@@ -84,10 +84,10 @@

Create New + class="button button-primary">
- Your Outer Styles for "post_title) : 'Create New';?>" - These styles can surround your existing website content. Activate these styles from the Settings page.
There can be multiple variations for an outer style (e.g. Home Page, Blog Page, Product Page, 404 Page).
+ "post_title) : __('Create New', 'stylepress');?>" +

@@ -97,9 +97,9 @@ class="button button-primary">Create New
Page TypeOuter Style (Header/Footer)Inner Style (Page + CPT Layouts)Remove Theme CSS?(Header/Footer)', 'stylepress'); ?>(Page + CPT Layouts)', 'stylepress'); ?>
- - - + + + @@ -123,14 +123,14 @@ class="button button-primary">Create New
Outer Style NameApplied ToActions
- Style Applied To: . + . - Style Not Used. + - Settings + @@ -146,10 +146,10 @@ class="button button-primary">Create New

Create New + class="button button-primary">
- Your Inner Styles for "post_title) : 'Create New';?>" - These are your inner website styles. Activate these styles from the Settings page.
These styles can be used to style inner website components (Blog Summary, Shop Product, Sidebars).
+ "post_title) : _e('Create New', 'stylepress');?>" +

@@ -159,9 +159,9 @@ class="button button-primary">Create New - - - + + + @@ -185,14 +185,14 @@ class="button button-primary">Create New
Inner Style NameApplied ToActions
- Style Applied To: . + . - Style Not Used. + - Settings + diff --git a/admin/styles-page.php b/admin/styles-page.php index b195857..970f17c 100644 --- a/admin/styles-page.php +++ b/admin/styles-page.php @@ -40,10 +40,10 @@
Create New Style + class="button button-primary">
- Your Styles - These are your website styles. A style can be applied to your website from the Settings page. + +
@@ -51,7 +51,7 @@ class="button button-primary">Create New Style if(!$designs){ ?> -

None yet! Create your own or install from the list below.

+

 

Create New Style @@ -122,8 +122,8 @@ class="button button-primary">Create New Style

- Available Styles - These site styles can be installed and then edited with Elementor. + +

diff --git a/extensions/dynamic-field/dynamic-field.php b/extensions/dynamic-field/dynamic-field.php index a81ecdf..8289bb3 100644 --- a/extensions/dynamic-field/dynamic-field.php +++ b/extensions/dynamic-field/dynamic-field.php @@ -58,7 +58,7 @@ function stylepress_register_dynamics( $widget, $args ){ ob_start(); ?>

-

Example Dynamic Fields:

+



    $title){ ?>
  • {{}}
  • -
  • {{your-custom-field}} Any Custom Field
  • +
  • {{your-custom-field}}
add_control( 'desc', [ - 'label' => __( 'Create an API Key from https://admin.mailchimp.com/account/api/ and find your List ID from the "Lists" page..', 'stylepress' ), + 'label' => __( 'Create an API Key from https://admin.mailchimp.com/account/api/ and find your List ID from the "Lists" page.', 'stylepress' ), 'type' => Controls_Manager::RAW_HTML, ] ); diff --git a/metaboxes/advanced-meta-box.php b/metaboxes/advanced-meta-box.php index ebc5fb6..7b9be30 100644 --- a/metaboxes/advanced-meta-box.php +++ b/metaboxes/advanced-meta-box.php @@ -19,7 +19,7 @@ // we already editing a child style. Show configuration options instead of sub list. ?> - (nothing here yet) +
-

Font Rules:

+

-

This is a font configuration file for the Easy Google Fonts plugin. This lets you configure site wide styles from the Apperance > Customize > Typography window.

+

Customize > Typography window.', 'stylepress'); ?>

-

Elementor Overrides:

+

-

This is a json Elementor configuration file for advanced Elementor tweaks. Adding things like new drop downs to existing widgets etc...

+

-

Style CSS:

+

-

We try to avoid writing manual CSS, but sometimes it is needed. These CSS rules will be applied to any page that uses one of these styles.

+

diff --git a/metaboxes/export.php b/metaboxes/export.php index f152c5a..9057494 100644 --- a/metaboxes/export.php +++ b/metaboxes/export.php @@ -6,6 +6,6 @@ }else{ ?> - Export StylePress + - ID, 'dtbaker_is_component', true ) ? ' checked' : '';?>> Make this a component. + ID, 'dtbaker_is_component', true ) ? ' checked' : '';?>>