1. Halo Guest, pastikan Anda selalu menaati peraturan forum sebelum mengirimkan post atau thread baru.

[help] ngedit menu theme ini...

Discussion in 'Wordpress' started by Archer26, Jun 18, 2011.

  1. Archer26

    Archer26 Hero

    Joined:
    Feb 4, 2011
    Messages:
    573
    Likes Received:
    13
    Location:
    Medan, Indonesia
    agan, mas, bro, om, sis, tan, help me donk...

    ane mau coba pake theme nyang ini

    hxxp://tricks-collections.com/tricks-collections-seo-friendly-wordpress-theme-v2/

    trus bawaannya aslinya kan top menunya nampilin list dari page, nah itu mau ane ganti jadi nampilin list category... tapi ane gak tau perintahnya apaan

    help me dunk...

    kayaknya disini nih... kayaknya sih ane juga gak ngerti coding soalnya :swt:

    header.php

    <!-- Menu START -->
    <div class="menu">
    <ul>
    <li <?php if ( is_front_page() ) echo ' class="current_page_item"'; ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    <?php wp_list_pages('depth=1&title_li='); ?>
    </ul>
    </div>
    <!-- Menu END -->

    tapi ane gak ngerti di ganti apaan, :damnmate:

    thanks b4
     
  2. gembel-intelek

    gembel-intelek Lurker

    Joined:
    Mar 29, 2009
    Messages:
    4,349
    Likes Received:
    906
    Location:
    New Coral
    coba gini bro

    PHP:
    <!-- Menu START -->
     <div class="menu">
     <ul>
     <li <?php if ( is_front_page() ) echo '  class="current_page_item"'?>><a href="<?php echo  get_option('home'); ?>/">Home</a></li>
     <?php wp_list_categories('depth=1&title_li='); ?>
     </ul>
     </div>
     <!-- Menu END -->
     
    Archer26 likes this.
  3. Archer26

    Archer26 Hero

    Joined:
    Feb 4, 2011
    Messages:
    573
    Likes Received:
    13
    Location:
    Medan, Indonesia
    :heh?: pages jadi categories (agak anehan dikit napa :swt3:)

    Problem solved, makasih banyak om gembel-intelek
     

Share This Page