Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
"no-nested-ternary": 0,
"prettier/prettier": "off",
"no-shadow": "warn",
"camelcase": "warn"
"camelcase": "warn",
"@wordpress/i18n-text-domain": ["error", {
"allowedTextDomain": ["templates-patterns-collection"]
}]
},
"ignorePatterns": ["**/vendor/**"]
}
2 changes: 1 addition & 1 deletion editor/src/components/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Filters = ( {
return (
<div className="filters">
<div className="display-sorting">
<div className="sorting-label">{ __( 'Sort by' ) }</div>
<div className="sorting-label">{ __( 'Sort by','templates-patterns-collection' ) }</div>

<div className="sorting-filter">
{ Object.keys( sortByOptions ).map( ( i ) => (
Expand Down
5 changes: 3 additions & 2 deletions editor/src/components/list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ const ListItem = ( {
<div className="popover-content">
<TextControl
label={ __(
'Template Name'
'Template Name',
'templates-patterns-collection'
) }
value={ itemName }
onChange={ setItemName }
Expand Down Expand Up @@ -272,7 +273,7 @@ const ListItem = ( {
<div className="row-controls">
{ item.link ? (
<Tooltip
text={ __( 'This template is synced to a page.' ) }
text={ __( 'This template is synced to a page.', 'templates-patterns-collection' ) }
>
<Button
label={ __(
Expand Down
2 changes: 1 addition & 1 deletion editor/src/components/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Preview = ( { isFetching, importBlocks } ) => {
<div className="tpc-modal-content">
<div className="preview-header">
<div className="left">
{ item.template_name || __( 'Template' ) }
{ item.template_name || __( 'Template','templates-patterns-collection' ) }
</div>

<div className="right">
Expand Down
4 changes: 4 additions & 0 deletions includes/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ public function enqueue() {
wp_localize_script( 'tiobObd', 'tiobDash', apply_filters( 'neve_dashboard_page_data', $this->get_localization() ) );
wp_enqueue_script( 'tiobObd' );

wp_set_script_translations( 'tiobObd', 'templates-patterns-collection' );

if ( ! empty( $this->google_fonts ) ) {
$font_chunks = array_chunk( $this->google_fonts, absint( count( $this->google_fonts ) / 5 ) );
foreach ( $font_chunks as $index => $fonts_chunk ) {
Expand Down Expand Up @@ -787,6 +789,8 @@ public function enqueue() {
}
wp_localize_script( 'tiob', 'tiobDash', apply_filters( 'neve_dashboard_page_data', $tiob_dash ) );
wp_enqueue_script( 'tiob' );

wp_set_script_translations( 'tiob', 'templates-patterns-collection' );
}

/**
Expand Down
15 changes: 3 additions & 12 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,18 @@ This plugin gives you access to 100+ templates and ready-to-use starter sites. N
= A cloud based templates library which enables you to create or use existing ready-made website with 1-click. =

### More than 100 Starter Sites and Templates available for the most popular page builders ###
Browse a wide selection of templates and starter sites that are designed to help you build beautiful websites with Elementor and Gutenberg. All templates can be previewed on [demosites.io](https://demosites.io/) and you can seamlessly import them to any of your sites. Whether you're a beginner or a seasoned pro, our templates can help you save time and create stunning websites without any coding knowledge.
In addition to our Elementor and Gutenberg templates, we also offer a handful of page templates for Beaver Builder. These templates are perfect for creating basic pages such as contact pages, about pages, and blog pages. If you're a Beaver Builder user, be sure to check out our selection of page templates.

### Your own private Templates Cloud [PRO] ###
Boost productivity and speed up your workflow by saving all your designs and share them automatically to all your sites in 1-click.
Check more details about this in our [documentation](https://docs.themeisle.com/article/1354-neve-template-cloud-library) guide.

The plugin is relying on the service behind api.themeisle.com for accessing the template collection list and their individual structure on import.

No account is required to access the service template collection and the privacy policy can be found [here](https://themeisle.com/privacy-policy/).
Browse a wide selection of templates and starter sites that are designed to help you build beautiful websites with Gutenberg. All templates can be previewed on [demosites.io](https://demosites.io/) and you can seamlessly import them to any of your sites. Whether you’re a beginner or a seasoned pro, our templates can help you save time and create stunning websites without any coding knowledge. These templates are perfect for creating basic pages such as contact pages, about pages, and blog pages.

== Frequently Asked Questions ==

= Does it work with any WordPress theme? =
Right now we are supporting only [Neve](https://wordpress.org/themes/neve/) theme
Right now we are supporting only the [Neve](https://wordpress.org/themes/neve/) theme.

= Which starter sites and templates are free and which are not? =
You can check the full collection on [demosites.io](https://demosites.io/)

= Can I import just one page from one starter site? =
Yes, you can. You can either chose to import one template or the entire starter site.
Yes, you can choose to import either one template or the entire starter site.

== Changelog ==

Expand Down
Loading