Display Admin Bar when Logged

Can you reproduce this error in a clean install? Have you installed some new plugins in that site lately? Have you tried to deactivate all contrib plugins and themes and see if the error persists when only core is active? I fear we need some extra info to be helpful 🙁

WordPress Comments jQuery Doesn’t submit

Original Poster’s answer in comments also worked for me, will share it here so this can have a solution. Replace: $(‘form’).submit(); With: $(‘form’).unbind(‘submit’); $(‘#submit’).click(); I used this to submit comments with JQuery with the ENTER key rather than clicking the button: jQuery(document).ready(function($) { $(‘#comment’).keydown(function(event) { if (event.keyCode == 13) {//capture ENTER Key $(‘form’).unbind(‘submit’); $(‘#submit’).click(); return … Read more

Custom template support for custom post type?

Please refer to the Template Hierarchy. Custom Post Types use two different template files, depending on context. For custom post type single post display: single-{posttype}.php single.php index.php For custom post type archive display: archive-{posttype}.php archive.php index.php In both cases, {posttype} is the custom post type $slug, as-defined in the register_post_type( $slug, $args ) call.

Custom post type as page template

Using a page template I inserted this code: <?php $args = array( ‘post_type’ => ‘productions’, ‘posts_per_page’ => 10 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); echo ‘<div class=”entry-content”>’; the_content(); echo ‘</div>’; endwhile; ?> Works like a charm. Now I just need to customise the loop so it looks … Read more