WordPress.org

Ready to get started?Download WordPress

Forums

Quick question; option out (2 posts)

  1. bull_677
    Member
    Posted 8 years ago #

    How do you option out something in php? (i.e. catagories in the sidebar.)

    <div id="sidebar">

      <!--
    • <h2>About</h2>
      You can put a small amount of info about you here.
      Name, contact details etc.
    • -->

    • <h2><?php _e('Categories'); ?></h2>
        <?php list_cats() ?>
    • <h2><?php _e('Monthly Archives:'); ?></h2>
        <?php wp_get_archives('type=monthly'); ?>
  2. Class
    Member
    Posted 8 years ago #

    Delete <h2><?php _e('Categories'); ?></h2>
    <?php list_cats() ?>
    or comment it out like this

    <!-- <h2><?php _e('Categories'); ?></h2>
    <?php list_cats() ?> -->

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags