1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress Image Problem

Discussion in 'Content Management' started by shafiq, Mar 27, 2010.

  1. #1
    shafiq, Mar 27, 2010 IP
  2. wwws

    wwws Notable Member

    Messages:
    3,385
    Likes Received:
    285
    Best Answers:
    0
    Trophy Points:
    225
    #2
    When I click the post "under" I see an image, I don't know if you had just corrected it. Usually the "Cache" of your template needs to be given permission to 0777.

    Just to note that your URL is not SEO set. To do this you need to go to Setting>Permalink> then below to Custom Structure, apply this code.
     
    wwws, Mar 27, 2010 IP
  3. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #3
    Open index.php file of the template you are using and copy all codes from index.php
    Open category.php file of the template, delete all codes and paste codes copied from index.php .

    You are done.
     
    aap, Mar 27, 2010 IP
  4. shafiq

    shafiq Well-Known Member

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #4
    Plz help me category.php is not in my skin
     
    shafiq, Mar 28, 2010 IP
  5. shafiq

    shafiq Well-Known Member

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    <?php get_header(); ?>

    <?php global $options; foreach ($options as $value) {if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }} ?>

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

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

    <?php if (in_category($theme_featured_category)) continue; ?>

    <div class="post-date">
    <span class="day"><?php the_time('j'); ?></span>
    <span class="month"><?php the_time('M y'); ?></span>
    </div>
    <div class="post" id="post-<?php the_ID(); ?>">

    <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

    <div class="entry-content">
    <?php if (get_option('theme_truncate_option') == 'Disabled') : ?>
    <?php the_content(''); ?>
    <?php else : ?>
    <?php global $more; $more = 0; ?>
    <?php echo truncate($theme_post_excerpt, ' ... '); ?>
    <?php endif; ?>
    </div>

    <div class="commentleft"></div><div class="commentbg"><?php comments_popup_link( __( '0 Comments', 'blank' ), __( '1 Comment', 'blank' ), __( '% Comments', 'blank' ), 'post-comments-a', __('-', 'blank')); ?></div><div class="commentright"></div>
    <div class="spacer"></div>
    <div class="catleft"></div><div class="catbg"><?php the_category(', '); ?></div><div class="catright"></div>
    <div class="spacer"></div>
    <div class="readmore"><a href="<?php the_permalink() ?>/#more" title="<?php the_title(); ?>"> Read More</a></div>


    </div><!-- end .post -->
    <div class="hr"></div>

    <?php endwhile; ?>

    <div class="paged-navigation">
    <?php
    $prevlink = '<span class="prev-link">&laquo; Previous Page</span>';
    $nextlink = '<span class="next-link">Next Page &raquo;</span>'; ?>

    <?php posts_nav_link(' ',$prevlink,$nextlink); ?>
    </div>

    <?php else : ?>

    <h2><?php _e('This page has no posts on it, please try another or return to the homepage.', 'blank'); ?></h2>

    <div class="search-404">
    <?php _e('Do you want to search for it?', 'blank'); ?><br />
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    </div>

    <?php endif; ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
     
    shafiq, Mar 28, 2010 IP
  6. shafiq

    shafiq Well-Known Member

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #6
    Above is mine index.php code
     
    shafiq, Mar 28, 2010 IP