Home › Forums › Lite Version › version 1.7. not working for me › Reply To: version 1.7. not working for me
I’m trying to setup this code with the Twenty Fourteen theme.
When I open the page I get this:
Parse error: syntax error, unexpected end of file in /home/glamxpress/public_html/wp-content/themes/twentyfourteen/category.php on line 50
Here’s the code I’m using:
<?php
/**
* The template for displaying Category pages
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
get_header(); ?>
<section id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”>
<?php if ( have_posts() ) : ?>
<header class=”archive-header”>
<h1 class=”archive-title”><?php printf( __( ‘Category Archives: %s’, ‘twentyfourteen’ ), single_cat_title( ”, false ) ); ?></h1>
<?php
// Show an optional term description.
$term_description = term_description();
if ( ! empty( $term_description ) ) :
printf( ‘<div class=”taxonomy-description”>%s</div>’, $term_description );
endif;
?>
</header><!– .archive-header –>
<?php echo do_shortcode(‘[wmls name="My generix shortcode" id="1"]‘);?>
</div><!– #content –>
</section><!– #primary –>
<?php
get_sidebar( ‘content’ );
get_sidebar();
get_footer();
any help would be appreciated
thanks