Agus Setiawan


expert-of-the-monthHehehe, dapet predikat “Expert of The Month” dari salah satu situs penyedia tanya jawab soal Coding WordPress. Selain dapet predikat, juga dapet prizes :) Meski jumlahnya gak terlalu banyak, gpp, ilmunya masih ada yang membutuhkan ;)

0 votes, 0.00 avg. rating (0% score)
<?php
$paragraphAfter= 3; //display after the first paragraph
$content = apply_filters('the_content', get_the_content());
$content = explode("</p>", $content);
for ($i = 0; $i <count($content); $i++ ) {
if ($i == $paragraphAfter) { ?>
<div>Insert Ads Here</div>
<?php }
echo $content[$i] . "</p>";
} ?>
0 votes, 0.00 avg. rating (0% score)

netpeak checkerMungkin sudah ada yang tau NetPeak Checker, sebuah tools untuk melihat statistik website, mulai dari PageRank, MozRank, Domain Authority ( Unlimited Checking ), Alexa, Google Index, Yahoo Index, Bing Index, dkk, fitur lengkapnya seperti ini : ( copas dari situs netpeak ;) )

— IP (IP address of the server that hosts the site);
— Subnet (shows the subnet number);
— Server Country;
— Server Region;
— Google Index (the number of site pages indexed by the Google search engine);
— DMOZ (the existence of a site in DMOZ catalog);
— SEOmoz Page Authority (the authority of the page according to the SEOmoz.org);
— SEOmoz Domain Authority (the authority of the domain according to the SEOmoz.org);
— mozRank (popularity of the page according to the SEOmoz.); Learn more

0 votes, 0.00 avg. rating (0% score)

Mengatasi masalah Error Request-URI is too large ”The requested URL’s length exceeds the capacity limit for this server” saat upload Rencana Program Pembelajaran JIBAS, kenapa bisa terjadi masalah demikian ? Masalah ini terjadi karena penulisan URL lebih dari 8000 karakter. Apa yang harus di lakukan ?

Buka file rpp_add.php yang ada di folder /var/www/html/jibas/infoguru/pelajaran/ ( jika kita menggunakan linux, ex : clearOS), kemudian cari  form pengisian RPP tadi, lalu tambahkan baris metode=post pada baris <form name=”main” onSubmit=”return validate()” method=post>.

Simpan, lalu lakukan upload data RPP. Semoga membantu.

1 vote, 4.00 avg. rating (78% score)

Do you ever have the problem of having images that are so big they run into your sidebar and make your site look as if it’s been hit by a hurricane?

Maybe you know enough to control the size of images, but what if you have users who don’t? A good theme should take care of this problem for you. Unfortunately, some don’t – even some you pay a pretty penny for.

The Solution – Automatically Limit Max Width of Images in WordPress
Just put this into the bottom of your style.css file. (Appearance >> Stylesheet: style.css) Or even better, put it into a custom.css file – this way it won’t get overwritten if you update your theme.

img {max-width:100%; height: auto;}

This tells WordPress to make the maximum width of the image 100% of the space available in your content area. (Of course you can change this to whatever percentage you’d like.) It then tells WordPress to adjust the height of the image and keep the original aspect ratio. This way you don’t get stretched out images.

0 votes, 0.00 avg. rating (0% score)