logo, ali, hamdi

WordPress – Functions File

<?php
if ( function_exists('add_theme_support') )
add_theme_support('post-thumbnails');

remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );


if(function_exists('register_sidebar'))
register_sidebar(array('name' => 'sidebar',
 'before_widget' => '',
 'after_widget' => '',
 'before_title' => '<h1>',
 'after_title' => '</h1>'
 ));
?>

This post has 3430 Views

Leave a Reply

Your email address will not be published. Required fields are marked *