mirror of
https://ghproxy.net/https://github.com/elementor/hello-theme-child.git
synced 2025-10-04 02:17:43 +08:00
Update child theme
This commit is contained in:
parent
4e75036056
commit
7a5fbcd196
4 changed files with 26 additions and 18 deletions
|
@ -1,19 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* Theme functions and definitions
|
||||
* Theme functions and definitions.
|
||||
*
|
||||
* For additional information on potential customization options,
|
||||
* read the developers' documentation:
|
||||
*
|
||||
* https://developers.elementor.com/docs/hello-elementor-theme/
|
||||
*
|
||||
* @package HelloElementorChild
|
||||
*/
|
||||
|
||||
// Version of child theme
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
define( 'HELLO_ELEMENTOR_CHILD_VERSION', '1.0.0' );
|
||||
|
||||
/**
|
||||
* Load child theme css and optional scripts
|
||||
* Load child theme scripts & styles.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function hello_elementor_child_enqueue_scripts() {
|
||||
function hello_elementor_child_scripts_styles() {
|
||||
|
||||
wp_enqueue_style(
|
||||
'hello-elementor-child-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
|
@ -22,5 +31,6 @@ function hello_elementor_child_enqueue_scripts() {
|
|||
],
|
||||
HELLO_ELEMENTOR_CHILD_VERSION
|
||||
);
|
||||
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 );
|
||||
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_scripts_styles', 20 );
|
||||
|
|
16
readme.txt
16
readme.txt
|
@ -4,8 +4,8 @@ Contributors: elemntor, KingYes, ariel.k, jzaltzberg, mati1000, bainternet
|
|||
Requires at least: 5.9
|
||||
Tested up to: 6.2
|
||||
Stable tag: 1.0.0
|
||||
Version: 1.0.1
|
||||
Requires PHP: 5.4
|
||||
Version: 1.0.0
|
||||
Requires PHP: 5.6
|
||||
License: GNU General Public License v3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
|
||||
|
@ -16,16 +16,16 @@ The Hello Elementor Child Theme is a starter blank child theme for [Hello Elemen
|
|||
|
||||
== Description ==
|
||||
|
||||
A basic, plain-vanilla, lightweight theme, best suited for building your site using Elementor page builder.
|
||||
Hello Elementor Child is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor page builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website.
|
||||
|
||||
This theme resets the WordPress environment and prepares it for smooth operation of Elementor.
|
||||
The theme's main focus is on providing a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. It is optimized for speed and performance, and its simplicity and flexibility make it a great choice for both beginners and experienced website designers.
|
||||
|
||||
Screenshot's images & icons are licensed under: Creative Commons (CC0), https://creativecommons.org/publicdomain/zero/1.0/legalcode
|
||||
The theme supports common WordPress features which can be extended using a child-theme. In addition, there are several ways to add custom styles. It can be done from **Elementor**, from the WordPress customizer, using a child-theme, or with an external plugin. To customize the theme further, visit [Elementor developers docs](https://developers.elementor.com/docs/hello-elementor-theme/).
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. In your admin panel, go to Appearance > Themes and click the 'Add New' button.
|
||||
2. Click 'Upload theme' and upload the zipped child
|
||||
2. Click 'Upload theme' and upload the zipped child.
|
||||
3. Click on the 'Activate' button to use your new theme right away.
|
||||
4. Navigate to Elementor and start building your site.
|
||||
|
||||
|
@ -48,7 +48,7 @@ Yes, ***but*** best practice is to use the styling capabilities in the Elementor
|
|||
|
||||
== Copyright ==
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
This theme, like WordPress, is distributed under the terms of GPL.
|
||||
Use it as your springboard to building a site with ***Elementor***.
|
||||
|
||||
Hello Elementor bundles the following third-party resources:
|
||||
|
@ -63,5 +63,5 @@ Source: https://stocksnap.io/photo/4B83RD7BV9
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 - 2019-05-23 =
|
||||
= 1.0.0 =
|
||||
* Initial Public Release
|
||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 330 KiB After Width: | Height: | Size: 85 KiB |
|
@ -1,17 +1,15 @@
|
|||
/*
|
||||
Theme Name: Hello Elementor Child
|
||||
Theme URI: https://github.com/elementor/hello-theme/
|
||||
Theme URI: https://github.com/elementor/hello-theme-child/
|
||||
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
|
||||
Author: Elementor Team
|
||||
Author URI: https://elementor.com/
|
||||
Template: hello-elementor
|
||||
Version: 1.0.1
|
||||
Version: 1.0.0
|
||||
Text Domain: hello-elementor-child
|
||||
License: GNU General Public License v3 or later.
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
|
||||
*/
|
||||
|
||||
/*
|
||||
Add your custom styles here
|
||||
*/
|
||||
/* Add your custom styles here */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue