我知道这是一个有点常见的错误,但我不确定我的代码有什么问题。我收到错误 Parse error: syntax error, unexpected '<' in /home/content/56/11192256/html/wp-content/第 382 行的主题/聚合/functions.php
任何帮助将非常感激!
function et_delete_featured_ids_cache(){
if ( false !==get_transient( 'et_featured_post_ids' ) )
delete_transient('et_featured_post_ids' );
}
}
if ( ! function_exists( 'et_list_pings' ) ){
function et_list_pings($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li id="comment-<?php comment_ID(); ?>">
<?php comment_author_link(); ?> - <?php comment_excerpt(); ?> <?php ?>
}
}
?>
<style type="text/css"> body { color: #<?php echo
esc_html(get_option($shortname.'_color_mainfont')); ?>; }
# content-area a { color: #<?php echo
#esc_html(get_option($shortname.'_color_mainlink')); ?>; }
ul.nav li a { color: #<?php echo
esc_html(get_option($shortname.'_color_pagelink')); ?>
!important; } ul.nav > li.current_page_item > a, ul#top-menu
> li:hover > a, ul.nav > li.current-cat > a { color: #<?php
echo
esc_html(get_option($shortname.'_color_pagelink_active'));
?>; } h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a,
h6 a { color: #<?php echo
esc_html(get_option($shortname.'_color_headings')); ?>; }
# sidebar a { color:#<?php echo
#esc_html(get_option($shortname.'_color_sidebar_links')); ?>;
#}
.footer-widget { color:#<?php echo
esc_html(get_option($shortname.'_footer_text')); ?> }
# footer a, ul#bottom-menu li a { color:#<?php echo
#esc_html(get_option($shortname.'_color_footerlinks')); ?> }
</style>
<?php }