Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
noblogs-wp
Commits
f9b84107
Commit
f9b84107
authored
Dec 20, 2019
by
agata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo twentynineteen-child
parent
7f8000bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
wp-content/themes/twentynineteen-child/functions.php
wp-content/themes/twentynineteen-child/functions.php
+3
-5
No files found.
wp-content/themes/twentynineteen-child/functions.php
View file @
f9b84107
...
...
@@ -4,9 +4,9 @@
*/
add_action
(
'wp_enqueue_scripts'
,
'my_theme_enqueue_styles'
);
function
my_theme_enqueue_styles
()
{
$parent_style
=
'parent-style'
;
// This is 'twenty
fif
teen-style' for the Twenty
Fif
teen theme.
$parent_style
=
'parent-style'
;
// This is 'twenty
nine
teen-style' for the Twenty
Nine
teen theme.
wp_enqueue_style
(
$parent_style
,
get_template_directory_uri
()
.
'/style.css'
);
wp_enqueue_style
(
'child-style'
,
get_stylesheet_directory_uri
()
.
'/style.css'
,
...
...
@@ -14,5 +14,3 @@ function my_theme_enqueue_styles() {
wp_get_theme
()
->
get
(
'Version'
)
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment