entered a code
-
I entered this:
// ADD CUSTOM POST TYPE
add_action( ‘init’, ‘create_post_type’ );
function create_post_type() {
register_post_type( ‘generic-content’,
array(
‘labels’ => array(
‘name’ => __( ‘Generic Content’ ),
‘singular_name’ => __( ‘Generic Content’ )
),
‘public’ => true
)
);
}
and ended up with this:
Parseerror. syntax error, unexpected T_STRING/home/content/89/99/47789/html/wp-content/themes/minimal-georgia/functions.php on line 607
deleted it out but it did nothing and now I need to know what to do. I can not get into the website. Please
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘entered a code’ is closed to new replies.