Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Themes and Templates
    In reply to: wp_list_cats ?
    Thread Starter thediamondbuyingguide

    (@thediamondbuyingguide)

    This document was successfully checked as XHTML 1.0 Transitional!

    Nice! That was the most stupid mistake ever… I found the answer myself. Believe it or not… I had put this in sidebar.php

    <div class="box">
            	<h3>Categories</h3>
            	<ul>
            	    <?php wp_list_cats('sort_column=name&hierarchical=1'); ?>
            	<ul>
            </div>

    instead of:

    <div class="box">
            	<h3>Categories</h3>
            	<ul>
            	    <?php wp_list_cats('sort_column=name&hierarchical=1'); ?>
            	</ul>
            </div>

    I can’t believe I spent like 3 hours looking on the net and rereading the code over and over to figure that out… ! Duh!

    thediamondbuyingguide

    (@thediamondbuyingguide)

    You can do both techniques. I personally think it’s easier via the WordPress admin area then you go in design, theme editor.. and then click on sidebar.php … locate where you want to have your ads and then paste it there and save the changes. That works like a charm

    Thread Starter thediamondbuyingguide

    (@thediamondbuyingguide)

    Thank you very much for the information. I’ll definitely take a look at it. Alternatively, I was thinking that maybe I should simply write the code manually since I don’t intend to add a lot of new pages to the site (they are mostly static pages)

    Thanks stvwlf.

Viewing 3 replies - 1 through 3 (of 3 total)