Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: {SHARE} Tutorial Sitemap Buatan Sendiri

  1. #1
    Verified Member
    Join Date
    Nov 2009
    Location
    In Your Heart
    Posts
    1,351
    Like
    70
    Liked 53 Times in 23 Posts
    My Mood
    Cold

    Default {SHARE} Tutorial Sitemap Buatan Sendiri

    kali ini ane mo share cara buat sitemap bikinan sendiri klo repost ane mohon maaf

    ooh iya ane baru nyoba kode ini diwordpress kg tau klo diblogcepot work apa kg

    oke lah klo beg....beg...begitu begini cerita'y :

    pertama copy file page.php di themes kalian alamat lengkap'y ada dibawah ini:

    namadomain.com/wp-content/themes/nama themes yang sedang dipakai/page.php

    dicatet yah hati2 nyasar coz ane kg bakal nganterin balik


    nah klo dah ketemu rename dah tuh file jadi sitemap.php

    second edit file sitemap.php dengan cara open with dreamweaver or notepad++ (pake aplikasi lain juga boleh yg penting ok)

    trus cari kode ini
    Code:
    <?php the_content(); ?>
    trus direplace sama yang ini
    Code:
                             <h3>Pages</h3>
                                <ul><?php wp_list_pages("title_li=" ); ?></ul>
                            <h3>Feeds</h3>
                                <ul>
                                    <li><a title="Full content" href="feed:<?php bloginfo('rss2_url'); ?>">Main RSS</a></li>
                                    <li><a title="Comment Feed" href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comment Feed</a></li>
                                </ul>
                            <h3>Categories</h3>
                                <ul><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&feed=RSS'); ?></ul>
                            <h3>All Blog Posts:</h3>
                                <ul><?php $archive_query = new WP_Query('showposts=1000&cat=-8');
                                        while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
                                            <li>
                                                <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
                                             (<?php comments_number('0', '1', '%'); ?>)
                                            </li>
                                        <?php endwhile; ?>
                                </ul>
    
                            <h3>Archives</h3>
                                <ul>
                                    <?php wp_get_archives('type=monthly&show_post_count=true'); ?>
                                </ul>
    nah klo dah beres jangan lupa disisipkan kode ini (masih dalam file sitemap.php tadi
    Code:
    <?php
    /*
    Template Name: Sitemap
    */
    ?>
    klo ane hasil jadi'y model gini

    Code:
    <?php get_header(); ?>
    /*
    Template Name: Sitemap
    <div id="content">
    
    	<div id="contentleft">
    	
    		<div class="postarea">
    	
    		<?php include(TEMPLATEPATH."/breadcrumb.php");?>
    			
    			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<h1><?php the_title(); ?></h1><br />
    		
    			                         <h3>Pages</h3>
                                <ul><?php wp_list_pages("title_li=" ); ?></ul>
                            <h3>Feeds</h3>
                                <ul>
                                    <li><a title="Full content" href="feed:<?php bloginfo('rss2_url'); ?>">Main RSS</a></li>
                                    <li><a title="Comment Feed" href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comment Feed</a></li>
                                </ul>
                            <h3>Categories</h3>
                                <ul><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&feed=RSS'); ?></ul>
                            <h3>All Blog Posts:</h3>
                                <ul><?php $archive_query = new WP_Query('showposts=1000&cat=-8');
                                        while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
                                            <li>
                                                <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
                                             (<?php comments_number('0', '1', '%'); ?>)
                                            </li>
                                        <?php endwhile; ?>
                                </ul>
    
                            <h3>Archives</h3>
                                <ul>
                                    <?php wp_get_archives('type=monthly&show_post_count=true'); ?>
                                </ul>
    
    			<?php endwhile; else: ?>
    			
    			<p><?php _e('Sorry, no posts matched your criteria.', 'studiopress'); ?></p><?php endif; ?>
    		
    		</div>
    		
    	</div>
    	
    <?php include(TEMPLATEPATH."/sidebar.php");?>
    		
    </div>
    
    <?php // The main column ends  ?>
    *\
    <?php get_footer(); ?>
    ud beres ngoprek kode'y sekarang kita lanjut masuk ke dashboard



    buat page baru dengan Judul Sitemap trus pada ribut attribut box pilih sitemap template lalu publish dan jadi deh sitemap baru hasil koding "sendiri"

    biasa motto ane klo bikin thread "You follow i Follow"

    NB:Ane belum nyoba secara live dihosting tp klo dilocalhost sih jalan
    Reply With Quote Reply With Quote Share with Facebook

  2. The Following 10 Users like zizot05's Post:

    cutlem2009 (09-27-2010), degrees22 (04-28-2011), febrilatif (04-03-2011), mawarkuning (09-27-2010), miftahur (02-11-2011), MisterMaster (04-03-2011), mooven (04-03-2011), r34l_d34l (09-28-2010), reeVes (09-27-2010), virtarich (09-28-2010)

  3. #2
    Verified Member
    Donatur
    Join Date
    Nov 2009
    Posts
    3,580
    Like
    677
    Liked 652 Times in 155 Posts
    Blog Entries
    1
    My Mood
    Amazed

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    Bookmark dulu om .. like sudah meluncur.
    Reply With Quote Reply With Quote Share with Facebook

  4. #3
    Verified Member
    Join Date
    May 2010
    Location
    New York Karto
    Posts
    781
    Like
    13
    Liked 14 Times in 8 Posts
    My Mood
    Cold

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    Mantappp gan info dan idenya,,,

    Kok di awal kalimat "sory kalau repost" gan??
    Ide sendiri pasti g mgkn repost gaan
    Reply With Quote Reply With Quote Share with Facebook

  5. #4
    Verified Member
    Donatur
    Join Date
    Aug 2009
    Location
    pustakaislam.com
    Posts
    658
    Like
    131
    Liked 18 Times in 11 Posts
    My Mood
    Amazed

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    mantap Gan...
    Reply With Quote Reply With Quote Share with Facebook

  6. #5
    Join Date
    Feb 2010
    Location
    theme-id.com
    Posts
    1,546
    Like
    174
    Liked 2,111 Times in 130 Posts
    My Mood
    Cheerful

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    wow , ane langsung praktek gan , thanks meluncur
    Reply With Quote Reply With Quote Share with Facebook

  7. #6
    Join Date
    Sep 2010
    Location
    Pedesa'an Yang Indah
    Posts
    338
    Like
    0
    Liked 2 Times in 2 Posts

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    bagus gan..
    nyobaj praktek ja gan..
    Reply With Quote Reply With Quote Share with Facebook

  8. #7
    Verified Member
    Join Date
    Oct 2009
    Location
    Jember Jatim
    Posts
    1,549
    Like
    340
    Liked 66 Times in 23 Posts
    My Mood
    Cool

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    gan mau tanya saya udah praktek dan sukses. tapi waktu mau submit sitemapnya di google webmasters kok gak bisa ya gan.. soalnya kan http://namadomain.com/sitemap doang tanpa xml .
    maksudnya kalo di buka pakek namadomain.com/sitemap bisa gan. tapi kalo pakek sitemap.xml gak bisa .. mohon bantuannya ya gan..
    Reply With Quote Reply With Quote Share with Facebook

  9. #8
    Verified Member
    Join Date
    Aug 2010
    Posts
    234
    Like
    33
    Liked 2 Times in 2 Posts

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    Quote Originally Posted by engkusplus View Post
    gan mau tanya saya udah praktek dan sukses. tapi waktu mau submit sitemapnya di google webmasters kok gak bisa ya gan.. soalnya kan http://namadomain.com/sitemap doang tanpa xml .
    maksudnya kalo di buka pakek namadomain.com/sitemap bisa gan. tapi kalo pakek sitemap.xml gak bisa .. mohon bantuannya ya gan..
    kalo buat disubmit di google webmaster pake plugin gan, google xml sitemap..
    yg akan menggenerate sitemap secara otomatis..
    klo tutor nya bro TS, sitemap bwt pengunjung bukan bwt robot google..
    CMIIW
    Reply With Quote Reply With Quote Share with Facebook

  10. #9
    Verified Member
    Join Date
    Oct 2009
    Location
    Jember Jatim
    Posts
    1,549
    Like
    340
    Liked 66 Times in 23 Posts
    My Mood
    Cool

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    jadi begitu.. makasih ya gan...
    Reply With Quote Reply With Quote Share with Facebook

  11. #10
    Join Date
    Dec 2009
    Location
    Surabaya - Indonesia
    Posts
    166
    Like
    13
    Liked 1 Time in 1 Post

    Default Re: {SHARE} Tutorial Sitemap Buatan Sendiri

    wah langsung saya praktekin.....
    Reply With Quote Reply With Quote Share with Facebook

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •