Title: a problem in blooks theme
Last modified: August 19, 2016

---

# a problem in blooks theme

 *  [chefmyklove](https://wordpress.org/support/users/chefmyklove/)
 * (@chefmyklove)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/a-problem-in-blooks-theme/)
 * i’m really green at code and so perhaps should not have attempted this:
 * The BlogNetwork application on facebook asked me to install a widget to confirm
   ownership of a blog. i decided to try it out and so tried installing the code
   in various places (and deleting if it didn’t work) it finally worked but in the
   process i somehow altered how the blog looks on the page. The margins are all
   wrong and the information is written in ascending order on the page and not in
   blocks throughout the page. i have no idea how to tell what happened as i don’t
   know what the original code is supposed to look like (i’ve previously modified
   the theme slightly as well)
 * the strange thing is this: i’ve tried a few different minor changes over the 
   last few hours and everytime i modify something, when i view the site it’s fine…
   the first time. subsequent reloads or any further navigation reverts to the ‘
   faulty’ site.
 * i understand a little little bit about code stuff… mostly just **markup** stuff.
   i see by this website that my version of wordpress may be seriously out of date
   too…
 * …another thing that has hapened over the last few months is that my content is
   doubled on every page. the post is there and then it’s repeated….
 * i would just like to get my blog back… i blog erratic but i Love this little 
   space i’m slowly creating and feel a little helpless right now… can anyone please
   help?
 * many thanks and blessings
    MyKL followed are some of the files that i’m thinking
   may have been accidentally modified.
 * this file is called <s>’stylesheet'</s>
 * > /*
   >  Theme Name: Blook Theme URI: [http://not-that-ugly.co.uk](http://not-that-ugly.co.uk)
   > Description: A unique theme for publishing your book online. Unlike a normal
   > blog theme, readers start at the beginning rather than the end! Remember to
   > set the number of posts [here](https://wordpress.org/support/topic/a-problem-in-blooks-theme/options-reading.php?output_format=md)
   > to ‘1’ Author: not (that) ugly Author URI: [http://not-that-ugly.co.uk](http://not-that-ugly.co.uk)
   > */
   >  body {
   >  margin:0; padding:0; text-align:center}
   >  #wrap, #wraphome {margin:auto;}
   > #wrap {width:500px;}
   > #wraphome {width:600px}
   > ul li {list-style-image:url(blookflourish.gif);
   >  padding-left:3px}
   >  #content, #blurb, #excerpt, #nav, #archives {text-align:left}
   >  #blurb {float:left;
   >  width:300px; padding:0px}
   > #excerpt {
   >  padding:0px; float:right; width:280px}
   >  #content { padding:500px;}
   > #archives {float:left;
   >  width:400px; padding:5px;}
   > #nav {float:right;
   >  width:175px; padding:5px}
   >  .clearer {clear:both}
   > .paging {text-align:center}
 * this file is called **‘cosmetic.css’**
 * > body {
   >  background:#996 url() fixed; color:#000; font:0.7em verdana, arial,
   > sans-serif;}
   > /* links */
   >  a {color:#669966; text-decoration:none}
   >  a:hover {text-transform:uppercase}
   > /* main div */
   >  #wrap, #wraphome {border:4px #ccffcc double; background:#fff;
   > color:#000}
   > /* banner */
   >  #header {background:#ffe; border-bottom: 4px #ccffcc double;}
   > /* title */
   >  #header h1 {font:2em ‘georgia’, serif}
   > /* subtitle and subheadings on front page */
   >  h2 {font: 1.5em ‘georgia’, serif;
   > color:#009999}
   > /* post title */
   >  h3 {font:1.5em ‘georgia’, serif; background:url(blookflourish.
   > gif) top left no-repeat; padding-left:35px;}
   > /* date & link to comments */
   >  .feedback {text-align:right}
   > /* front page sections, forms and blockquote */
   >  #excerpt, #archives, input,
   > textarea, blockquote { border:1px #ccffcc solid; background:#ffe;}
   > input, textarea, blockquote {padding:3px}
   > /* front page image (use display:none if not wanted) */
   >  #image { background:#
   > ccffcc url(blook.jpg) no-repeat; width:400px; height:200px; margin:auto; margin-
   > top:10px; margin-bottom:10px;}
   > /* unordered list (used for displaying chapters on front page) */
   >  ul li {list-
   > style-image:url(blookflourish.gif); padding-left:3px}
   > /* divider between previous & next links */
   >  .divider {background:url(blookflourish.
   > gif) center no-repeat;}
   > /* comments submit button */
   >  #submit {background:#ffe url(blookflourish.gif)
   > top left no-repeat; color:#663; padding-left:22px; border: 4px #cc9 double;
   > font-family: ‘georgia’, serif}
   > /* footer (duh) */
   >  #footer {background:#ffe; border-top: 4px #ccffcc double;}
   > /* background in comments popup window */
   >  #commentspopup {background:#fff}
 * this file is called **home.php**
 * > <?php
   >  get_header(); ?>
   > <div id=”image”>
   > </div>
   >  <div id=”blurb”> <?php include (TEMPLATEPATH . ‘/blurb.php’); ?> </
   > div> <div id=”excerpt”> <?php $posts = get_posts(‘numberposts=1’); foreach (
   > $posts as $post) : start_wp(); ?> <h2>Latest installment (<?php the_time(‘j
   > F Y’); ?>)</h2> <?php the_excerpt(); ?> “>read more of <?php the_title(); ?
   > > <?php endforeach; ?> </div>
   > <div class=”clearer”>
   > </div>
   > <div id=”archives”>
   >  <h2>Contents</h2>
    -  <!–delete the code below if you don’t want to archive by individual post –
      >
    - <?php query_posts(“order=ASC&posts_per_page=-1”); ?>
       <?php if ( have_posts()):
      while ( have_posts() ) : the_post(); ?>
    - 
    - <?php endwhile; else: ?>
       <p><?php _e(‘No posts yet!’); ?></p> <?php endif;?
      >
    - <!– uncomment the code below to archive by category –>
    - <?php //wp_list_cats(); ?>
 * </div>
 * <div id=”nav”>
    <h2>Further Information</h2>
    -  <?php wp_list_pages(‘title_li=’ ); ?>
 * </div>
 * <div class=”clearer”>
   </div>
 * <?php get_footer(); ?>
 * finally, this file is called **single post**
 * > <?php
   >  get_header(); ?>
   > <div id=”content”>
   > <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   > <div class=”post” id=”post-<?php the_ID(); ?>”>
   >  <h3 class=”storytitle”>” rel
   > =”bookmark”><?php the_title(); ?>
   > </h3>
   >  <div class=”storycontent”>
   >  <?php the_content(__(‘continued…’)); ?> </div>
   >  <div class=”feedback”>
   >  <?php wp_link_pages(); ?>
   > published on <?php the_time(‘j F Y’) ?> <?php edit_post_link(__(‘| edit’));?
   > >
   >  <?php comments_popup_link(__(‘no annotations’), __(‘one critic’), __(‘% 
   > annotations’)); ?> </div>
   > </div>
   > <p class=”paging”>
   >  <?php previous_post_link(‘%link’, ‘previous’); ?> <?php
   > next_post_link(‘<span class=”divider”>          </span> %link’, ‘next’); ?>
   > </p>
   > <?php endwhile; else: ?>
   >  <p><?php _e(‘No posts yet’); ?></p> <?php endif; ?
   > >
   > </div>
   > <?php get_footer(); ?>
 * as for the doubling of the posts, maybe there is an answer somewhere in there
   too. i don’t think i’ll ever be an expert at this stuff but as frustrating as
   it can be, i’m appreciating the process. much thanks for any input
    M

Viewing 1 replies (of 1 total)

 *  Thread Starter [chefmyklove](https://wordpress.org/support/users/chefmyklove/)
 * (@chefmyklove)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/a-problem-in-blooks-theme/#post-849734)
 * RESOLVED
 * YAY! i found out where to put the additional code.
 * still can’t figure out how to get it to stop doubling every post
 * any ideas? based on the files i provided?

Viewing 1 replies (of 1 total)

The topic ‘a problem in blooks theme’ is closed to new replies.

## Tags

 * [deleted files](https://wordpress.org/support/topic-tag/deleted-files/)

 * 1 reply
 * 1 participant
 * Last reply from: [chefmyklove](https://wordpress.org/support/users/chefmyklove/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/a-problem-in-blooks-theme/#post-849734)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
