ag4Official
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: Parse error: syntax error, unexpected T_STRINGIn fact, the edit has now completed. It worked! Thank you so much.
Forum: Themes and Templates
In reply to: Parse error: syntax error, unexpected T_STRINGI have deleted those lines and cleared the cache, then checked straight away and the page is still only showing the error.
Now it is like this…
<?php while ( have_posts() ) : the_post() ?> <section class="content"> <article id="post-<?php the_ID(); ?>" <?php post_class('post-home'); ?>> <h2 class="post-title"> <?php $format = get_post_format(); $format_link = get_post_format_link($format); ?> <?php if ( has_post_format('link') ) { the_title(); } elseif (is_sticky() ) { ?> <a class="title-link" href="<?php the_permalink(); ?>" title="Permalink to <?php printf( the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a><span class="sticky-title">Featured</span> <?php } else { ?> <a class="title-link" href="<?php the_permalink(); ?>" title="Permalink to <?php printf( the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a> <?php } if ($format !== false) { if ($format == "status") { $format = 'comment'; } ?> <a href="<?php echo $format_link; ?>" alt="The Post Format Archive"><span class="post-type glyphicon glyphicon-<?php echo $format; ?>"></span></a> <?php } ?> </h2> <?php if ( has_post_format('link') ) { ?> <div class="format-link"> <?php the_content(); ?> </div> <?php } else { if (has_post_thumbnail() ) { if (is_sticky() ) { echo '<div class="sticky-featured-container"><a href="', the_permalink(), '">', get_the_post_thumbnail($post->ID, 'full', array('class' => 'sticky-featured-img')), '</a></div>'; } else { echo '<a href="', the_permalink(), '">', get_the_post_thumbnail($post->ID, 'thumbnail', array('class' => 'alignleft thumbnail')), '</a>'; } } if ($format == 'video') { ?> <div class="video-container"> <?php the_content(); ?> </div> <?php } else { the_content('Read more →'); } } ?> </article> <div class="meta-container"> <p class="meta"> <span><i class="glyphicon glyphicon-user"></i> <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author_meta( 'display_name' ); ?></a></span> <span><i class="glyphicon glyphicon-link"></i> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"">Permalink</a></span> </p> </div> </section> <?php endwhile; ?>
Forum: Themes and Templates
In reply to: [Summit Lite] Remove date and comment.I am still looking for the answer to this, how do I get to content-page.php? I can’t find ‘Assets’.
Forum: Themes and Templates
In reply to: [Summit Lite] Change Page Button Colors?Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)