Help in function key.
-
<?php if ( function_exists('register_sidebar') ) { register_sidebar(array( 'name' => 'Left Sidebar', 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<div id="widget"> <div class="slmenu"></div> <div class="smenu"></div> <div class="srmenu"></div> </div><h2 class="widgettitle">', 'after_title' => '</h2>', )); } function content($limit) { $content = explode(' ', get_the_content(), $limit); if (count($content)>=$limit) { array_pop($content); $content = implode(" ",$content).'...'; } else { $content = implode(" ",$content); } $content = preg_replace('/\[.+\]/','', $content); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); return $content; } if(!function_exists('get_sidebars')) { function get_sidebars($args='') { get_sidebar($args); } } if ( function_exists("add_theme_support") ) { add_theme_support("post-thumbnails"); } if ( ! function_exists( 'twentyeleven_comment' ) ) : /** * Template for comments and pingbacks. * ... etc. ... esc_html( get_the_author() ) ); } endif; /** ?>
Please help in solving in it. i m without pc now so i cant check it now
I am getting issues on line 41Any help appreciated.
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Help in function key.’ is closed to new replies.