Version Description
- NEW: Added support for GeneratePress page title options - title is now shown by default on the full width template and can be disabled via GeneratePress page options.
Download this release
Release Info
Developer | WPDevHQ |
Plugin | Page Templater For Elementor |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- elementemplator.php +1 -1
- inc/elementemplater-functions.php +16 -1
- inc/themes/generatepress.php +11 -0
- inc/themes/twentyseventeen.php +12 -0
- readme.txt +4 -1
elementemplator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Elementor Templater: ElemenTemplator
|
4 |
* Plugin URI: http://www.wpdevhq.com/plugins/elementor-templator
|
5 |
* Description: A helper plugin for users of Elementor Pagebuilder.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: WPDevHQ
|
8 |
* Author URI: http://www.wpdevhq.com/
|
9 |
* Requires at least: 4.4
|
3 |
* Plugin Name: Elementor Templater: ElemenTemplator
|
4 |
* Plugin URI: http://www.wpdevhq.com/plugins/elementor-templator
|
5 |
* Description: A helper plugin for users of Elementor Pagebuilder.
|
6 |
+
* Version: 1.0.5
|
7 |
* Author: WPDevHQ
|
8 |
* Author URI: http://www.wpdevhq.com/
|
9 |
* Requires at least: 4.4
|
inc/elementemplater-functions.php
CHANGED
@@ -81,4 +81,19 @@ if ( ! function_exists( 'elementor_page_content' ) ) {
|
|
81 |
the_content();
|
82 |
}
|
83 |
}
|
84 |
-
add_action( 'elementor_page_elements', 'elementor_page_content',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
the_content();
|
82 |
}
|
83 |
}
|
84 |
+
add_action( 'elementor_page_elements', 'elementor_page_content', 20 );
|
85 |
+
|
86 |
+
if ( ! function_exists( 'elementor_generate_title' ) ) {
|
87 |
+
|
88 |
+
function elementor_generate_title() {
|
89 |
+
if ( generate_show_title() ) : ?>
|
90 |
+
<header class="entry-header">
|
91 |
+
<div class="grid-container">
|
92 |
+
<?php the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' ); ?>
|
93 |
+
</div>
|
94 |
+
</header><!-- .entry-header -->
|
95 |
+
|
96 |
+
<?php endif;
|
97 |
+
}
|
98 |
+
}
|
99 |
+
add_action( 'elementor_page_elements', 'elementor_generate_title', 10 );
|
inc/themes/generatepress.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for the GeneratePress theme */
|
3 |
+
$style = '
|
4 |
+
.entry-header {
|
5 |
+
background-color: #fff;
|
6 |
+
}
|
7 |
+
.entry-header .grid-container {
|
8 |
+
padding: 10px 10px;
|
9 |
+
}
|
10 |
+
';
|
11 |
+
wp_add_inline_style( 'generate-style', $style );
|
inc/themes/twentyseventeen.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for the Twenty Sixteen theme */
|
3 |
+
$style = '
|
4 |
+
.elementor-editor-active .site-content {
|
5 |
+
padding: 2.5em 0 0;
|
6 |
+
}
|
7 |
+
|
8 |
+
.elementor-page .site-content {
|
9 |
+
padding: 0;
|
10 |
+
}
|
11 |
+
';
|
12 |
+
wp_add_inline_style( 'twentyseventeen-style', $style );
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: WPDevHQ
|
|
3 |
Tags: elementor, pagebuilder, page builder, page builder template, page builder templates, actions, storefront, twentysixteen, genesis, template builder, builder templates
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.6
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -88,6 +88,9 @@ Please visit the settings page located at Dasboard >> Settings >> Post Type Temp
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
|
|
|
|
|
|
91 |
= 1.0.4 =
|
92 |
* FIXED: Bug on hidden Elementor section seletor tabs while in edit mode [See This Forum Topic](https://wordpress.org/support/topic/column-and-section-tabs-missing/)
|
93 |
|
3 |
Tags: elementor, pagebuilder, page builder, page builder template, page builder templates, actions, storefront, twentysixteen, genesis, template builder, builder templates
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.6
|
6 |
+
Stable tag: 1.0.5
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= 1.0.5 =
|
92 |
+
* NEW: Added support for GeneratePress page title options - title is now shown by default on the full width template and can be disabled via GeneratePress page options.
|
93 |
+
|
94 |
= 1.0.4 =
|
95 |
* FIXED: Bug on hidden Elementor section seletor tabs while in edit mode [See This Forum Topic](https://wordpress.org/support/topic/column-and-section-tabs-missing/)
|
96 |
|