Child Theme
-
Hi guys,
Congrats on such a great theme which is really easy to use, it’s beautifuly designed with options to customize almost anything and all that in free theme.
Since I’m newbie with no previous experience I need your help how to create child theme.?
I can handle style.css but functions I dont think that I could solve that without your help.
And I got confused when I saw scrpt below. Honestly I never saw something like that. Most of themes have sort of classic script where I could figuere it out what script or style I should enqueue in my child theme./*Define Constants for this theme*/
define( ‘COSMOSWP_VERSION’, ‘1.1.2’ );
define( ‘COSMOSWP_THEME_NAME’, ‘cosmoswp’ );
define( ‘COSMOSWP_PATH’, get_template_directory() );
define( ‘COSMOSWP_URL’, get_template_directory_uri() );
define( ‘COSMOSWP_SCRIPT_PREFIX’, ( defined( ‘SCRIPT_DEBUG’ ) && SCRIPT_DEBUG ) ? ” : ‘.min’ );
/**
* Require init.
*/
require trailingslashit( COSMOSWP_PATH ).’inc/init.php’;Can you please help me with that so I can make child theme.?
Thank you in advance and once again thank you for CosmosWP it’s really great.Cheers,
Dragan
The page I need help with: [log in to see the link]
- The topic ‘Child Theme’ is closed to new replies.