How to make different custom post layouts?

To rephrase, I believe what you’re asking is how can you have a different style or template for your custom post types when they are displaying as a list? It looks like the Custom Post Templates plugin you’re using only allows you to switch templates for the single view of a post, not the listing … Read more

Understanding the theme details in style.css

Prince’s answer is technically true, but doesn’t answer your specific questions. In the interest of getting you to learn more about WordPress, I’ll get those: For Author, is that the blog owner, or the theme creator? This should represent the theme author/creator. Author URI, is that the blog owner’s personal website, or the creator’s? Again, … Read more

WordPress code editor messed up my code!

This isn’t as good as line numbers but you can add a dummy class every so often. #_________section_1 { display: none; /* Just in-case it strips the empties */ }; It may help you to quickly scroll to the relevant section. To be honest though, you should have a mirror of your site stored locally … Read more

Change a Page’s Header Image

The body tag has quite a few classes eg “home page page-id-### page-template page-template-template-name” you could make use of to customize the header with css. Just specify a different target: .home .header-wrapper { background-image: url(img/some-other-image.png); }

Style file inclusion

You need to hook it to an action. Add the below code to the theme’s functions.php file. It should work. add_action( ‘wp_enqueue_scripts’, ‘theme_flexslider_css’ ); function theme_flexslider_css() { wp_register_style( ‘flexslider’, get_template_directory_uri() . ‘/css/flexslider.css’ ); if( is_page( ‘home’ ) ) { wp_enqueue_style( ‘flexslider’ ); } }