screenshot.png /* Theme Name: Theme URI: Author: ; Author URI: ; Description: Version: License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: Text Domain: This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */ 'main-menu', 'container' => '', 'menu_class' => 'inline' )); ?> function register_my_menus() { register_nav_menus(array( 'main-menu' => 'Main Menu', 'social-menu' => 'Social Menu' )); } add_action('init', 'register_my_menus'); if (function_exists('add_theme_support')) { add_theme_support('post-thumbnails'); set_post_thumbnail_size(369, 227); }
the_post_thumbnail() add_filter('next_posts_link_attributes', 'posts_link_attributes_1'); add_filter('previous_posts_link_attributes', 'posts_link_attributes_2'); function posts_link_attributes_1() { return 'class="next"'; } function posts_link_attributes_2() { return 'class="prev"'; } add_filter('next_post_link', 'post_link_attributes1'); add_filter('previous_post_link', 'post_link_attributes2'); function post_link_attributes1($output) { $code = 'class="next"'; return str_replace(' __( 'Main Sidebar', 'theme-slug' ), 'id' => 'sidebar-1', 'description' => __( 'Widgets in this area will be shown on all posts and pages.', 'theme-slug' ), 'before_widget' => '