WordPress.org

Support

Support » Installation » Quick question; option out

Quick question; option out

  • 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’); ?>
Viewing 1 replies (of 1 total)
  • Delete <h2><?php _e('Categories'); ?></h2>
    <?php list_cats() ?>
    or comment it out like this

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

Viewing 1 replies (of 1 total)
  • The topic ‘Quick question; option out’ is closed to new replies.
Skip to toolbar