Siobhan Bamber (siobhyb) on "[Theme: Dyad] Google Adsense to home page code installation"

ساخت وبلاگ

Hi Siobhan

i have created the child theme , called, -child,
-The child theme directory
-style.css

but i have stoped to fuctions.php file because of the below message , creating the third required step for the child theme......

https://codex.wordpress.org/Child_Themes

-----The final step is to enqueue the parent and child theme stylesheets. Note that the previous method was to import the parent theme stylesheet using @import: this is no longer best practice, as it increases the amount of time it takes style sheets to load. 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. You will therefore need to create a functions.php in your child theme directory. The first line of your child theme's functions.php will be an opening PHP tag (<?php), after which you can enqueue your parent and child theme stylesheets. The following example function will only work if your Parent Theme uses only one main style.css to hold all of the css. If your theme has more than one .css file (eg. ie.css, style.css, main.css) then you will have to make sure to maintain all of the Parent Theme dependencies.--------

i totaly lost it...... i have a file empty, Fuctions.php, and i dont know and i dont understand , what i have to do........!

any help?

thank you for your time.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 183 تاريخ : دوشنبه 24 خرداد 1395 ساعت: 19:32