Parse error ';' in functions.php
-
I’m getting an error code with unexpected ‘;’ on line nine
( wp_register_style(‘MyFonts’, ‘/fonts/Gotish_SB_Bold_Webkit.css?family=GotischSBOP-Bold)’; )
Please advice,
Thank you<?php // Exit if accessed directly if ( !defined('ABSPATH')) exit; /* Add custom functions below */ function load_fonts() { wp_register_style('googleFonts', 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&subset=latin-ext'); wp_enqueue_style( 'googleFonts'); wp_register_style('MyFonts', '/fonts/Gotish_SB_Bold_Webkit.css?family=GotischSBOP-Bold)'; wp_enqueue_style( 'MyFonts'); wp_register_style('MyFonts', '/fonts/Gotish_SB_Bold_Webkit_unhinted.css?family=GotischSBOP-Bold)'; wp_enqueue_style( 'MyFonts'); } add_action('wp_print_styles', 'load_fonts'); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Parse error ';' in functions.php’ is closed to new replies.