Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • and this?

    #wp_page_numbers {
    	margin: 0 auto 0;
    	background: #fff;
    }

    Hi,

    i also had a lot of issues considering IE6, like it’s incompatibility using transparancy png’s, it’s just a bad browser! But the problem you describe seems to me like a css issue.

    i suggest you post a link to your website and your css so people can see what goes wrong!

    Hi,

    i would try to change this part:

    #wp_page_numbers {
    	margin-top: 10px;
    	width: 100%;
    	background: #fff;
    }

    which controls the outer div. try this:

    #wp_page_numbers {
    	margin: 10px auto;
    	background: #fff;
    }

    leuke site trouwens!

    Hi,

    I also have this problem. I just went from WP 2.5.1 to WP 2.6.2 and when i try to (flash)upload my pictures i get the
    “TypeError Error #2007 null Error” error.

    If i disable flash upload, the upload works fine!

    Any thoughts??

    Hi,

    you need to alter your theme’s index.php (or for example home.php, category-4.php, depending on your theme)

    Replace this tag:

    <?php the_content(); ?>

    by this tag:

    <?php the_excerpt(); ?>

    read here how to use it.

    Yes, i think you are misunderstanding

    if you open your theme’s sidebar.php you will see the line we mentioned earlier: <?php wp_list_categories(); ?>

    this line makes that you get the links in your sidebar (like tutorials/trends/general)

    now, you do not want them in your sidebar, so you need to remove this part of the code from sidebar.php and put it in the file that regulates your topmenu (probably header.php)

    that’s all you need to do (and maybe change come CSS properties to make it look fine)

    i hope you understand what i’m saying..

    Hi,

    i suggest you use

    <?php wp_list_categories(); ?>

    in your top menu (i presume header.php) so that you automatically get links to your specific categories

    read here how you can exclude categories and change sort order etc.

    That’s it!

    Try this instead:

    <?php
    $cat = get_query_var('cat');
    query_posts("cat=$cat&name=home&showposts=1");
    ?>
    
    <?php while (have_posts()) : the_post(); ?>
    <?php the_title(); ?>
    <?php the_content(); ?>
    <?php endwhile; ?>

    Hi, use this for your header:

    <div id="sitename">
    <div id="myimage">
     <img src="<?php bloginfo('template_directory'); ?>/images/logo-small.gif" />
     </div>
     <div id="searchbox">
      <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
       <input name="s" type="text" class="sb" value="Search" size="10" tabindex="1" />
       <input name="search" type="submit" value="search" />
      </form>
     </div>
    </div>

    and add this to your css:

    #myimage {
    margin: 0px;
    padding: 0px;
    float: left;
    }

    see if it works!

    Forum: Fixing WordPress
    In reply to: Permenant text

    Hi,

    if the text you plan on showing is the same on every page (always static) you can easily add it to your theme’s header.php
    note that if you do this, it will always show the same thing on every page (that uses header.php)

    but if you like the text to be different on some pages, and sometimes not even visible at all, then i would suggest adding your static textbox to the different pages in your theme

    examples:
    welcome text visible on home —> add textbox to home.php
    static text on category view —> add textbox to category.php
    static text on post view —> add textbox to single.php

    depending on where you want your text you could place your new textbox
    example:

    <div id="mystatictext">welcome to my website</div>

    just after

    <?php get_header(); ?>

    or right after

    <div id="main">

    depending on your theme.

    also see this image to understand which theme files are used for showing your pages

    no that’s it, if you want to have like a special 404 image or anything else than a just a message just replace this line:

    <?php _e('You've reached a 404, this page does not (longer) exist'); ?>

    try this:

    <?php include('header.php'); ?>
    
     <div id="container">
    
      <div class="breaker"></div>
    
       <?php include('sidebar.php'); ?>
    
       <div id="content">
    
         <div class="contentleft">
    	<?php _e('You've reached a 404, this page does not (longer) exist'); ?>
          </div> <!-- Closes the contentleft div-->
    
         </div> <!-- Closes the content div-->
    
     </div> <!-- Closes the container div-->
    
    <?php include('footer.php'); ?>

    Hi,

    you need a file in your theme’s directory called 404.php

    easiest way of doing this is just copying an existing file in your theme’s directory and rename it to 404.php (for example index.php or home.php depending on your theme)

    next you edit the just created 404.php so that the content gets replaced by your 404 message.

    Hi,

    if you open your theme’s sidebar.php there is probably a line that has this call:

    <?php wp_list_categories(); ?>

    you need to move this (probably) into your header.php and than correct the CSS properties to make sure everything looks good!

    If everything looks fine, you can remove it from your sidebar.php

    mmm.. now i’m confused as well! are you sure this is your theme’s ‘category.php’ and not ‘functions.php’ ??

    Because to me this looks like the code to define your specific functions, not the code to generate a category page/listing !

Viewing 15 replies - 1 through 15 (of 34 total)