Skip to content

Commit 34cb246

Browse files
committed
Update function.php and readme
1 parent cbf6f88 commit 34cb246

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

functions.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
1-
<?php
1+
<?php
2+
/**
3+
* Theme functions and definitions
4+
*
5+
* @package HelloElementor
6+
*/
27

8+
/**
9+
* Load child theme css and optional scripts
10+
*
11+
* @return void
12+
*/
313
function hello_elementor_child_enqueue_scripts() {
414
wp_enqueue_style(
515
'hello-elementor-child',
616
get_stylesheet_directory_uri() . '/style.css',
717
[
8-
'hello-elementor'
18+
'hello-elementor',
919
],
1020
'1.0.0'
1121
);
1222
}
13-
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts' );
23+
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 99 );

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: elemntor, KingYes, ariel.k, jzaltzberg, mati1000, bainternet
44
Requires at least: WordPress 4.7
55
Tested up to: WordPress 5.2
66
Stable tag: 1.0.0
7-
Version: 1.0.0
7+
Version: 1.0.1
88
Requires PHP: 5.4
99
License: GNU General Public License v3 or later
1010
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -25,7 +25,7 @@ Screenshot's images & icons are licensed under: Creative Commons (CC0), https://
2525
== Installation ==
2626

2727
1. In your admin panel, go to Appearance > Themes and click the 'Add New' button.
28-
2. Type in 'Hello Elementor Child' in the search form and hit the 'Enter' key on your keyboard.
28+
2. Click 'Upload theme' and upload the zipped child
2929
3. Click on the 'Activate' button to use your new theme right away.
3030
4. Navigate to Elementor and start building your site.
3131

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Description: Hello Elementor Child is a child theme of Hello Elementor, created
55
Author: Elementor Team
66
Author URI: https://elementor.com/
77
Template: hello-elementor
8-
Version: 1.0.0
8+
Version: 1.0.1
99
Text Domain: hello-elementor-child
1010
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
1111
*/

0 commit comments

Comments
 (0)