How to remove uncategorised posts from WordPress

You have to add the argument to exclude the ‘Uncategorised’ category using this: <?php wp_list_categories(‘title_li=&exclude=XX’); ?> where XX is the ID of the category to exclude. Here is the codex page http://codex.wordpress.org/Template_Tags/wp_list_categories#Include_or_Exclude_Categories

One of my posts is displayed as page

It seems that http://www.regensburgerturmtheater.de/loriotabend/ page is an attachment view page. I recommend you just change the name of this http://www.regensburgerturmtheater.de/wp-content/uploads/Loriotabend.jpg photo to different (in admin panel).

Build and ajax plugin not work

You never enqueued the ajax_init in a function. Also you can use plugins_url() and split into two functions with a shortcode, like this: (not tested) <?php /* Plugin Name: Ajax Plugin Description: Plugin for adding ajax Version: 1.0 */ /*——————————————————-*/ /* Register Scripts /*——————————————————-*/ add_action( ‘wp_enqueue_scripts’, ‘ajaxp_init’ ); function ajaxp_init(){ /* * registro del script … Read more

Adding Widgets to Reactor Theme (based on Foundation 4)

Note in the code you gave for sidebar-footer.php <?php if ( is_active_sidebar(‘sidebar-footer’) ) : ?> …is always going to return false since that no longer exists. Since this is a custom theme you can probably just comment out or remove that line and it’s endif pair since I trust you always want the markup to … Read more

making a pseudo-static page

Create single.php in your themefolder and insert this code get_header(); ?> <div id=”primary” class=”content-area”> <div id=”content” class=”site-content” role=”main”> <?php /* The loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( ‘content’, get_post_format() ); ?> <?php twentythirteen_post_nav(); ?> <?php comments_template(); ?> <?php endwhile; ?> </div><!– #content –> </div><!– #primary –>