Monthly Archives: May 2011

Simple Agc Theme Twitter Result

theme agc simple,fast load,hasil agc berupa twitter update search results dan bing search result.
twitter search di search.php,bing search di search.php dengan url domain.com/news/key1/key2/key3.
script google trends di sidebar.tag langsung menuju halaman search
download :

stt2 oprekan url domain.com/news/key1/key2/key3
http://agcku.com/download/stt2
theme :
http://agcku.com/download/themetwitter
file rewrite query :
http://agcku.com/download/requ

demo : http://evik-cicomre.co.cc

setelah download file rq.zip silahkan extract kemudian upload file rewrite.php dan query.php ke wp-includes (timpa saja ke file rewrite dan query ) setelah itu masuk dashbor wp pilih setting permalink kemudian klik save .jangan lupa upload themenya xixixixixi.

Menghilangkan Tanda Plus Minus Di Halaman Search

Menghilangkan Tanda Plus Minus Di Halaman Search,langsung saja karena kejadian ini kadang terjadi di beberapa blog,kadang juga nggak,bingung juga sih nggak tau kenapa :D
Masuk ke cpanel pilih /wp-includes/query.php cari kode

?Download download.txt
1
2
 // If a search pattern is specified, load the posts that match
if ( !empty($q['s']) ) {

tambahkan kode

?Download download.txt
1
2
3
4
 $tambahan = array('+','-'); // karakter plus minus dihilangkan
$tambahan2 = array('.html'); // karakter html dihilangkan kalo permalinknya pake html
$q['s'] = str_replace ( $tambahan,' ',$q['s']); // karakter diganti spasi
$q['s'] = str_replace ( $tambahan2,'',$q['s']);

jadinya seperti ini

?Download download.txt
1
2
3
4
5
6
7
// If a search pattern is specified, load the posts that match
if ( !empty($q['s']) ) {
$tambahan = array('+','-'); // karakter plus minus dihilangkan
$tambahan2 = array('.html'); // karakter html dihilangkan
$q['s'] = str_replace ( $tambahan,' ',$q['s']); // karakter diganti spasi
$q['s'] = str_replace ( $tambahan2,'',$q['s']);
// added slashes screw with quote grouping when done early,

kemudian save dan lihat hasilnya

Tricks Theme Agc Version

tricks themeTricks Theme Agc Version,oke langsung saja seperti theme theme oprekan agc sebelumnya,agc ready on single and search php,dengan url standart bawaan wp /search/key-key-key kok nggak ada kemajuan?dari dulu bikinnya gitu gitu mulu heheheheh ya biar nggak ribet aja,tinggal pasang jadi,nggak pake utak atik file file lainnya.

kutipan dari versi aslinya :

mportant files you should know when using this theme on your Blog. These file contain script/code that you should replace with your own code, namely:

1. 125.php : If using 125×125px banner, you can place the banner scripts on this file
2. adsense-content1.php : Replace Adsense code on this file with your own Adsense or other advertisement. The Adsense will appear on single and page only after title of content. I recommend using “336×80” (large rectangle) Adsense size on this file.
3. adsense-content2.php : I recommend using “336×80” (large rectangle) or banner ads size on this file.
4. adsense-front.php : ads code will appear after first post on homepage.
5. adsense-menu.php : Adsense on the bottom of menu. (background=#666666, link=#ffffff)
6. adsense-search.php : Replace the Adsense search on this file with your own Adsense search cede.
7. banner.php : if you want to add a banner (468×60) you place theme banner code on this file. The banner will appear on the top of all content.
8. subscribe.php : replace subscription form, twitter link, feedburner counter on this file with your own.

How to Replace the Adsense code on Tricks themes V2:

* Login to your WordPress Blog
* Click “Appearance” then “editor” and you will see important files that mentioned above.
* Replace the code on the then click update file.

silahkan di sedot di sini http://agcku.com/download/trick

Cara Membuat Breadcrumb Paling Mudah

ada banyak cara membuat breadcrumb,dari manual code sampe pake plugin breadcrumb,meskipun pake plugin tetep aja kita mesti masukin kode secara manual di theme editor.tapi menurut ane ada kode paling simple untuk membuat breadcrumb.
berikut ini kode buat breadcrumb yang biasa ane pake

?Download download.txt
1
<a href="<?php bloginfo('home'); ?>">Home</a> &raquo; <?php the_category(' &raquo; ')?> &raquo; <?php the_title(); ?>

cara pasangnya gimana?
1.copy kode di atas kemudian buka theme editor pilih single.php,paste di atas kode h1/h2 post title,save dan liat hasilnya :D
contoh untuk theme ayu (yang ane pake) seperti ini

?Download download.txt
1
2
3
<div class="ayu-post" id="post-<?php the_ID(); ?>">
		<a href="<?php bloginfo('home'); ?>">Home</a> &raquo; <?php the_category(' &raquo; ')?> &raquo; <?php the_title(); ?>
<h1 class="postTitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>

untungnya apa pake breadcrumb? tentunya urusannya dengan seo on page,sudah pada tahukan kalau si panda lebih di tekankan di seo on page .
sedangkan untuk halaman search ane pake kode seperti ini

?Download download.txt
1
<a href="<?php bloginfo('home'); ?>">Home</a> &raquo; <a href="<?php echo "$bloginfo" ?>">Search</a> &raquo; <?php the_search_query(); ?>

pasangnya di mana?tentu saja di file search.php :D gampang toh?
selamat ber breadcrumb ria