Correcting the content width when sidebar is inactive?

You could try something like this, within your sidebar.php file: if ( ! is_active_sidebar (‘SIDEBAR-NAME-OR-ID’ ) ) { echo ‘<style>.main-content { width: 960px; }</style>’; } This is hackish, but it should work for what you’re trying to do. There may be a better method but its hard to know without more context. The above code … Read more

Custom template for different post types

I’d recommend Custom Post Types : http://codex.wordpress.org/Post_Types#Custom_Post_Types You can add appropriate meta boxes to each post type : http://codex.wordpress.org/Function_Reference/add_meta_box You can define specific front end templates for each post type : http://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates Instead of a dropdown, you would have distinct menu items for each “thing” ( Review, Albums, etc ).

How to get post_content while the post is being edited

All the rendered content of the page is available to the page. How would it be rendered otherwise? jQuery(‘#content-textarea-clone’).html() gives you the current contents of the editor window, using jQuery. And jQuery(‘textarea#content’).html() holds the initial content of the page (the saved one).

Adding editable content above posts

I have a few thought on this. You can very easily build yourself a dynamic area above your posts for the purpose of information or announcements I prefer to make use of a non-hierarchical custom post type for this purpose. Just something very simple. No taxonomies attached. The custom post type should also not have … Read more

Content alignment in Twenty Fourteen Theme

I recommend a tool like firebug (http://getfirebug.com/). It will give you the precise values and locations of the applicable css-styles in your style.css. If you use the same file in both installations there should be no differences except for different content or different devices.