for posts and comments. add_theme_support( 'automatic-feed-links' ); /* * Adds JavaScript to pages with the comment form to support * sites with threaded comments (when in use). */ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); //registration of custom_menu function register_nav_menus( array( 'header' => 'Header Navigacija' ) ); //Post Thumbnails features add_theme_support( 'post-thumbnails' ); add_image_size ('medium', 320, 155, true); add_image_size ('large', 646, 250, true); add_image_size ('small', 50, 50, true); } add_action( 'after_setup_theme', 'tehnonjuz_setup' ); //Excerpt of posts on front page function new_excerpt_more( $more ) { return ''; } add_filter('excerpt_more', 'new_excerpt_more'); /** * Register two widget areas. */ function tehnonjuz_widgets_init() { register_sidebar( array( 'name' => __( 'Secondary Widget Area', 'tehnonjuz' ), 'id' => 'sidebar-1', 'description' => __( 'Appears in the footer section of the site.', 'tehnonjuz' ), 'before_widget' => '
', 'before_title' => '