• Resolved myitali1

    (@myitali1)


    Hi,
    Hope you can help me.
    I’m using Wedding Bells theme and I can’t see my header anymore. I’ve made the following changes which might have created problems:

    – create 1 new sidebar (sidebar2.php)
    – create 1 new page2.php
    – create a function.php which is as following:
    <?php
    if ( function_exists(‘register_sidebars’) )
    register_sidebars(2);
    ?>
    Everything is working a part from the fact I can’t see the pic of the header. I am wondering if these things might have cause this problem. Maybe the funcion.php should have more info…
    Any idea?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Try re-uploading a fresh copy of the theme. My guess is that you’ve over-written the original functions.php file.

    Thread Starter myitali1

    (@myitali1)

    That’s what I thought, but there wasn’t a function.php before. I created it from scratch…that’s why I’m stuck…but if I take it off then the sidebars won’t work.
    My main index template is this:

    <?php get_header(); ?>

    <div id=”page-wrap”>

    <div id=”content”>

    <div class=”post-wrap”>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <small><?php the_time(‘F jS, Y’) ?> by <?php the_author(); ?></small>

    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>

    <p class=”postmetadata”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?> / <?php the_tags(‘Tags: ‘, ‘, ‘, ‘ / ‘); ?> Posted in <?php the_category(‘, ‘) ?> <?php edit_post_link(‘Edit’, ‘ / ‘, ”); ?></p>
    </div>

    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
    </div>

    <div class=”clear”></div>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div><!– .post-wrap –>

    </div><!– #content –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Not sure if it’s of any help to sort it out…

    Thread Starter myitali1

    (@myitali1)

    Sorry,
    Just solved!
    You were right, I had overwritten the old function. Now that I’ve put it back is working perfectly.

    May thanks Esmi

    Stefania

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘header disappeared’ is closed to new replies.