Tag Info

New answers tagged

0

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, ...


0

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 just spits ...


0

@qwerty, I was having a similar issue and I was able to use http://codex.wordpress.org/Function_Reference/wpautop Some more info on this thread: get_post_custom stripping styling issue



Top 50 recent answers are included