-
I added Highend child theme to my WP dashboard. I noticed that in functions.php file there is a text ‘// your php code goes here’, does this mean I need to add php code to functions.php file? If yes then I would request you to provide me with the exact code I need to put there. My primary reason for using child theme is to keep my modifications.So I need the exact php code which will protect my child theme site from future updates.
According to http://codex.wordpress.org/Child_Themes, ‘@import url’ is no longer best practice. The correct method of enqueuing the parent theme stylesheet is to add a wp_enqueue_scripts action and use wp_enqueue_style() in your child theme’s functions.php.
So here I am kind of lost as highend child theme style.css has used previous method which is ‘@import…..’ [which wordpress is stating that it is out of date] and functions.php is left for us to put codes there.
So what exactly I need to put to functions.php file so that I can protect my site from future updates. I need help ASAP as I want to activate my child theme.
Another request I have if is there any way that I can transfer all my modifications to my child theme and then activate it? Or do I need to install all plugins[woocommerce and more]
from the scratch?REQUEST: Please give me the exact code I need to put to functions.php as I am not able to understand the format. My info. is as follows:
website: theshoestop.org
theme: HighendWP
want to use: HighendWP-child
wordpress version: 4.1
HighendWP version: 2.1.2Thanks
Moon
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,508
- Aegaeus WP Theme 1,616
- Requests and Feedback 133