Forum Replies Created

Viewing 15 replies - 76 through 90 (of 162 total)
  • index.php

    query_posts($query_string . '&orderby=date&order=ASC');
    
    while(have_posts()) :
     /* do stuff */
    endwhile;
    
    wp_reset_query();

    it gets broken into two line

    No, I see the tag as one tag.

    wp_footer() executes ‘wp_footer’ action.
    The action includes wp_print_footer_scripts() by default
    and some plugins may add their actions to ‘wp_footer’ action.

    wp_print_footer_scripts() and plugin’s action output some javascript code. wp_footer() is not for the footer design in your page,
    but for some scripts.

    In my browsers(firefox, safari and chrome), the image shows up.

    Try to refresh your page,
    or add above rule at the end of style.css AND refresh the page.

    body{
    background:url("http://sylvainmeret.com/sylvainmeret/wp-content/uploads/2010/01/waterfall3.jpg") 800px -20px no-repeat;
    }

    Forum: Themes and Templates
    In reply to: Page Center

    Add rule to your style.css:
    body{margin:0 auto;}

    I think you copied the code with line # from ‘Stuff’ area on http://wordpress.pastebin.ca/1771387
    So, an error occurred.

    You should copy the code from ‘update paste below’ area that is editable.

    Here is new code.

    functions.php

    <?
    function the_menu($link, $selected){
      if($selected) :
    ?>
    <li class="selected_page">
      <div class="selected">
        <div class="selected_left"></div>
        <div class="selected_middle">
    <?php
      endif;
      echo $link;
      if($selected) :
    ?>
        </div>
        <div class="selected_right"></div>
      </div>
    </li>
    <?php
      endif;
    }
    ?>

    menu.php

    <ul class="main_menu">
      <li><?php the_menu('<a class="homepage" href="' . get_bloginfo('url') . '">Home</a>', is_home()); ?></li>
      <li><?php the_menu('<a href="' . get_permalink(1) . '">About us</a>', is_page(1)); ?></li>
      <li><?php the_menu('<a href="' . get_permalink(2) . '">Work</a>'    , is_page(2)); ?></li>
      <li><?php the_menu('<a href="' . get_permalink(3) . '">Services</a>', is_page(3)); ?></li>
      <li><?php the_menu('<a href="' . get_permalink(4) . '">Contact</a>' , is_page(4)); ?></li>
    </ul>

    I modified after line 64 in header.php.

    Your header.php is the same as http://wordpress.pastebin.ca/1771387 ?
    and save in UTF-8 format?

    Drop the code for your header.php in http://wordpress.pastebin.ca/ and paste the url here. I’ll clean up the code.

    Delete duplicated codes:

    <div class="description">by Studio Reflections</div>
    <div class="star">
    <ul>
    <li class="page_item page-item-42"><a href="http://studioreflections.com/ausrmusings/?page_id=42" title="About">About</a></li>
    <li class="page_item page-item-2"><a href="http://studioreflections.com/ausrmusings/?page_id=2" title="She Is Random">She Is Random</a></li>
    </ul>
    </div>

    These code are added after my code above.

    Try this: in style.css from line 14,
    use
    background:url("http://sylvainmeret.com/sylvainmeret/wp-content/uploads/2010/01/waterfall3.jpg") 800px -20px no-repeat;
    instead of

    background-image:url("http://sylvainmeret.com/sylvainmeret/wp-content/uploads/2010/01/waterfall3.jpg");
    background-repeat:no-repeat;
    background-position: 800px -20px;

    You MUST edit header.php.

    <div id="header">
    <h1><a href="http://studioreflections.com/ausrmusings/">.ausr. musings underground</a><span style="display: inline; padding: 0 0 0 160px;"><a href="http://studioreflections.com/ausrmusings/"><img src="http://studioreflections.com/ausrmusings/wp-content/themes/blackcherry/images/home.gif" alt="Home" title="Home" /></a>&nbsp;<a href="http://studioreflections.com/ausrmusings/?feed=rss2" title="Syndicate this site using RSS">
    <img src="http://studioreflections.com/ausrmusings/wp-content/themes/blackcherry/images/rss.gif" alt="RSS Feed" title="RSS Feed" />
    </a> </span></h1>
    <div class="description">by Studio Reflections</div>
    <div class="top">
    <div class="star">
    <ul>
    <li class="page_item page-item-42"><a href="http://studioreflections.com/ausrmusings/?page_id=42" title="About">About</a></li>
    <li class="page_item page-item-2"><a href="http://studioreflections.com/ausrmusings/?page_id=2" title="She Is Random">She Is Random</a></li>
    </ul>
    </div>
    </div>
    </div>

    Maybe, footer.php:

    <div id="footer">
    <?php bloginfo('name'); ?> is powered by WordPress using theme Renegade
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    Make sure the closing tag </div><!--c1//--> for c1 block places before footer.php

    Try this:

    <div id="header">
    <h1><a href="http://studioreflections.com/ausrmusings/">.ausr. musings underground</a><span style="display: inline; padding: 0 0 0 160px;"><a href="http://studioreflections.com/ausrmusings/"><img src="http://studioreflections.com/ausrmusings/wp-content/themes/blackcherry/images/home.gif" alt="Home" title="Home" /></a>&nbsp;<a href="http://studioreflections.com/ausrmusings/?feed=rss2" title="Syndicate this site using RSS">
    <img src="http://studioreflections.com/ausrmusings/wp-content/themes/blackcherry/images/rss.gif" alt="RSS Feed" title="RSS Feed" />
    </a></span></h1>
    <div class="description">by Studio Reflections</div>
    <div class="top">

    style.css

    #header{position:relative;}
    #header h1{
    position:absolute;
    left:20px;
    top:10px;
    }

Viewing 15 replies - 76 through 90 (of 162 total)