• Hello everybody,

    I am new to wordpress. Whenever I want to change something important, it involves change of code. And everybody suggests not to edit parent theme code instead create a child theme and edit theme.

    So, I have read child theme codex at wordpress and created a child theme. My parent theme is ‘Findcools’. I have created both style.css and functions.php and enqueued them and also activated the child theme from my wp-admin page. Now when I try to add some code to stylesheet of child theme, it doesn’t take any effect. why?

    And another important thing is

    what is enqueuing of child and parent them?

    Basically while creating child theme, we will enqueue only stylesheet? What about other files? Do we need to enqueue all the files in parent theme to make changes to them?

    And whatever the file that we want to enqueue, do we need to need to do it in the functions.php only? and them edit the code in the enqueued file?

    for example: if I want to edit content-page.php, first I need to create content-page.php file in child theme directory and enqueue it with parent theme through functions.php and then edit the code in content-page.php of child theme. Am I correct? If not please guide me.

    I am totally confused. Also please provide me with the codes to enqueue each parent theme files to child theme?

    Thanks in advance.

  • The topic ‘what is enqueuing of child theme and parent theme?(My parent theme 'findcools'’ is closed to new replies.