How to separate each individual blog post?

You can do that entirely with CSS, almost no PHP coding required… try something like this: <div id=”services”> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>> <?php the_content(); ?> </div> <?php endwhile; ?> <?php endif; ?> </div> … that way, each … Read more

How do i create a list-posts-page?

Assuming you’re only trying to display your blog posts index on a page other than the front page (i.e. because you’ve assigned a static page as your site front page), you shouldn’t need to do anything special. Refer to the Codex for step-by-step instructions for creating a static front page and separate page for your … Read more

wp_get_archives() output

The date.php, archive.php, and index.php files control the date archive output. You need to check the contents of those files, in respective order, to find the problem. If WordPress can’t find date.php, it will check for archive.php, and load that if found. Otherwise, index.php will be used to display date archives. See my answer on … Read more

Page Title repeating

look into header.php of your theme; <title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title> when you use a seo plugin, you can control the meta title with the plugin; change that line to: <title><?php wp_title(); ?></title>

new custom theme – posts displaying on top of one another

You have closed div having content class inside if statement which causes to break nested markup, instead close it outside if statement as following. <?php /* Template Name: Blog */ ?> <?php get_header();?> <div id=”blog-container”> <div class=”content”> <?php get_sidebar( ‘blog’);?> <?php if(have_posts()) : while(have_posts()) : the_post(”); ?> <div class=”meta”> <h3><a href=”https://wordpress.stackexchange.com/questions/89410/<?php the_permalink(); ?>”><?php the_title(); ?></h3> … Read more

Fatal error: Cannot redeclare comment_theme()

Your comments.php is included multiple times for some reason. Look for comments_template() – maybe it is called too early. Each time that happens, PHP tries to create the function comment_theme() again. This cannot work, function names must be unique. Move the function declaration to the functions.php. So everything including … <?php function comment_theme($comment, $args, $depth) … Read more

Where is the “Posts”/”Blog” template?

Posts (note the plural) template does not exists. The archive of standard post type, when is not a more specific template (date archive, author archive, taxonomy archive) is handled by: home.php (and if this file doesn’t exist) by index.php. If you intend Post (note the singular) the right template file is single.php Once understood this, … Read more

Internal and External Blog

Can we have both a private company blog and a public blog with WordPress? Yes, but it depends on how you define private. We use WP multisite subdomains. We have over 200 sites, most of them public. But we have a few sites that are “private” – requires user to login. Additionally the user has … Read more