Forums

Subcategory Showing in Category Page (2 posts)

  1. acidlake
    Member
    Posted 1 year ago #

    Hi there, i want to see if some body can help me on this

    what i want to do is, when i click on one of the category i want to show the subcategory of this parent, i have this code, it was working good, but a few days a go the server was down, and now is not working, if i use this code, is show me a blank page.

    <div class="slides">
        <?php boxframe_start(); ?>  
    
        <!-- Topics -->
        <div class="slide slide-topics">
          <?php
          if (is_category() && $cat) {
            subcat($cat);
          } else {
            parent_cats();
    
          }?>
          <div class="clear">&nbsp;</div>
        </div>
    
        <?php if (is_category() && $cat): ?>
        <!-- Articles -->
        <div class="slide slide-articles">
          <?php wp_cat_posts($cat); ?>
        </div>
        <?php endif; ?>
    
        <!-- Popular -->
        <div class="slide slide-popular">
          <?php readfile("tabs/popular.html"); ?>
        </div>
    
        <!-- Giveaways -->
        <div class="slide slide-giveaways">
          <?php readfile("tabs/giveaways.html"); ?>
        </div>
    
        <!-- Deals and Steals -->
        <div class="slide slide-deals">
          <?php readfile("tabs/deals.html"); ?>
        </div>
    
        <!-- More/less -->
        <div class="more"><a href="#" class="more-more">view more</a><a
        href="#" class="more-less">view less</a></div>
    
        <?php boxframe_end(); ?>
      </div>

    can some one take a look to this and letme know,
    Thanks,

  2. acidlake
    Member
    Posted 1 year ago #

    Any one can help me on this???
    please,

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic