the brightnews/functions.php seems to be corrupt…
on line 68 there is a php if construction that is not valid….
function brightnews_scripts_styles() {
global $wp_styles;
// Adds JavaScript
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
}
This is not a valid if construction and when you use an ide that reports…
expecting statement, which is correct.
Furthermore on line 369 there is this code…
function brightnews_button_shortcode($atts, $content = null) {
extract(shortcode_atts(array('link' => '#'), $atts));
return '<a class="custom-button" href="'.$link.'">' . do_shortcode($content) . '</a>';
}
$link is not available in the function, you can fix this by passing the link to the function, or to call global $link in the function.
]]>I turned on that option to show the description along with the logo, but it doesn’t work. ?How can I fix it?
]]>