How does WP generate html?

HTML markup can be generated in several ways: directly included in theme’s template files; generated by template tags in templates; generated by native or plugin functions attached to hooks. From quick look at this specific theme’s code I found this: array( “name” => “Socialize Icons”, “desc” => “Enter Links to Your Twitter, Facebook, and RSS … Read more

Featured images, am I missing something?

As mentioned by @Michael in his answer the theme has to support the Post Thumbnail functionality. All you need to do for it is to put this line into the theme’s function.php file: add_theme_support( ‘post-thumbnails’ ); There’s a good chance it’s there already, so search first. Now you only need to output the image somehow. … Read more

Using twitter bootstrap in a theme

Almost. Put the bootstrap stuff in your theme, and include it on the front end using wp_enqueue_style and wp_enqueue_script in functions.php e.g. for the bootstrap js: function my_scripts_method() { wp_enqueue_script( ‘bootstrap-js’, get_template_directory_uri() . ‘/js/bootstrap.min.js’, array(‘jquery’) ); } add_action(‘wp_enqueue_scripts’, ‘my_scripts_method’); And for bootstrap.css: add_action( ‘wp_enqueue_scripts’, ‘prefix_add_my_stylesheet’ ); function prefix_add_my_stylesheet() { // Respects SSL, Style.css is relative … Read more

Widget Option is Missing

Put this lines of code in function.php if (function_exists(“register_sidebar”)) { register_sidebar(); } Put this to sidebar.php <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) : ?> <?php $image = new WP_query (‘showposts=1’); if(have_posts()) : while($image->have_posts()) : $image->the_post; ?> <a href=”https://wordpress.stackexchange.com/questions/115901/<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php postimage(); ?></a> <?php endwhile; endif; rewind_posts; ?>