vi32
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding pages to home menu in Decode themeI figured it out. Thank you!
Forum: Themes and Templates
In reply to: Broken Child Theme in Dashboard; template stylesheetNever mind! I figured it out! My child theme is active now!
Thank you so much for your help, Stephen!!! ??Forum: Themes and Templates
In reply to: Broken Child Theme in Dashboard; template stylesheetThis is the message I got:
Unpacking the package…
Installing the theme…
The package could not be installed. The theme is missing the style.css stylesheet.
Theme install failed.
After I tried to upload the following zip file entitled style.css:
/*
Theme Name: Spectrum Child
Theme URI: https://healthylifewithvi.com/
Description: Child Theme for Spectrum by Vi
Author: Vi
Template: spectrum
Version: 2.1.2
*/<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’What did I do wrong now? Thank you!
Forum: Themes and Templates
In reply to: Broken Child Theme in Dashboard; template stylesheet<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’Is the above what I should enter in its entirety and verbatim?
Thanks!
Forum: Themes and Templates
In reply to: Broken Child Theme in Dashboard; template stylesheetMy parent theme is in the under “This PC” > “Downloads” and under “spectrum” folder. Is that what you’re referring to? Or did you mean my File Manager in my host?
I just realized I have it capitalized in Template… but the folder is not capitalized… so I will change it to lower case.
For the functions.php, are you referring to this? (taken from the site your provided)
<?php // Opening PHP tag – nothing should be before this, not even whitespace
// Custom Function to Include
function favicon_link() {echo ‘<link rel=”shortcut icon” type=”image/x-icon” href=”/favicon.ico” />’ . “\n”;}
add_action( ‘wp_head’, ‘favicon_link’ );How do I customize it for my parent theme?
Thank you so much for your help, Stephen.