Tara on "Styles not loading Correctly for Child Theme"

ساخت وبلاگ

Greetings, I have a website located at http://weddingphotographersaintlouis.com/bride-grooms/ that I'm working on and I'm very confused because I set my active theme to be my child theme of the "SOHO Theme", I followed the directions for creating a child theme and have a functions.php that contains

<?php
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . 'css/theme.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . 'css/woo.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . 'css/responsive.css' );
}
?>

and I've also created a child CSS file that has this in it

/* Theme Name: SOHO Child Theme URI: http://example.com/twenty-fifteen-child/ Description: Soho Child Theme Theme Author: Matt Bauer Author URI: http://example.com Template: soho Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: soho
*/

While I think I'm doing this right, because most of the pages load correctly there are a few that don't pull all the resources in.

For example the About page and the Contact Page aren't loading their resources, and it's very confusing because every other page has loaded said resources that are missing from those two pages.

Thank you for any and all your help, getting to lea wordpress is proving to be somewhat difficult but with this community I'm sure I'll be able to grow and give back eventually!

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

برچسب : نویسنده : استخدام کار wpss بازدید : 228 تاريخ : سه شنبه 18 خرداد 1395 ساعت: 0:36