Replace Kata di WordPress? Buat Plugin aja..

17 Maret 10

Beberapa orang suka menuliskan url webnya diawal postingan. Hal ini bertujuan untuk meningkatkan visibilitas urlnya (mungkin ) dan dengan alasan kedua agar url nampak saat import blog ke facebook. Nah, dalam melakukan hal tersebut mungkin sebagian orang akan menulis urlnya secara manual di awal tiap posting atau menuliskannya dalam script tema blognya sebelelum the_content, namun 2 cara tersebut menpunyai kelemahan agak repot. Dan untuk mengatasinya kita bisa bikin pluginnya yang hanya membutuhkan waktu kurang dari 5 menit saja dan file hanya 1kB.
Dalam setiap plugin di wordpress mensyaratkan namanya agar bisa tampil di menu olah plugin kita, script metanya seperti ini:

<?php /*
Plugin Name:  Ganti Kata
Version:      1.0.0
Description:  Repalce a word to other word 
Author:       Rochsid Tehape
Author URI:

Script di atas hanya bagian Plugin Name aja yang wajib diisi. Dan ini penampakan di halaman plugin kita:
Sedangkan untuk script fungsi replacenya adalah sebagai berikut:

function fungsiku($kata){
	return $kata;

Jadi setiap menulis kata akan direplace dengan kata Kalau mau donlot pluginnya disini . Jangan lupa untuk mengganti bagian kata yang akan direplace.

12 responses to “Replace Kata di WordPress? Buat Plugin aja..”

  1. ibel.394 says:

    error mas..

    Warning: call_user_func_array() []: First argument is expected to be a valid callback, ‘daftar’ was given in C:\xampp\htdocs\PYA\wp-includes\plugin.php on line 166

    • rochsid tehape says:

      lho kok errornya di plugin.php? apa mas mengubah cmsnya wordpress?..

    • “I’m not concerned there are a lot of unionist candidates,Michael Kors, I’m concerned that people go out and vote… and then we’ll be fine,Michael Kors Outlet,” he said.

    • 揗y concern is the constant work schedules these officers are involved with presently, then adding on special employment on their days off,”燗ngelo said last week.?It really isn抰 the break and time away from work that I think one needs in order to relax a little bit and get away from the workplace.敔

  2. Katherin says:

    Besides, it can be done by inserting thin needles
    that are usually special to every affected person and work community
    I love. When someone is not only relieves pain, headaches, neck pain and headaches all in your best before, if any mild symptoms develop.

  3. Thanks for a marvelous posting! I seriously enjoyed reading it, you
    are a great author. I will be sure to bookmark your blog and
    will often come back very soon. I want to encourage continue your great posts,
    have a nice afternoon!

  4. I like looking through a post that will make men and women think.
    Also, thank you for permitting me to comment!

  5. Traders who use these instruments have to pay close attention to
    their particular person broker’s rules, particularly concerning payouts and dangers, how expiry prices are calculated and what occurs if the choice expires straight on the strike worth.

  6. Tiffani says:

    What a information of un-ambiguity and preserveness of
    precious experience concerning unexpected feelings.

  7. It’s a shame you don’t have a donate button! I’d without a doubt donate to this fantastic
    blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account.
    I look forward to fresh updates and will share this site with
    my Facebook group. Talk soon!

  8. This article will help the internet visitors for
    setting up new webpage or even a blog from start to end.

  9. I think what you posted made a great deal of sense. However, think about this, suppose you added a little content?
    I mean, I don’t wish to tell you how to run your website, however suppose you added a headline that grabbed folk’s attention? I mean Replace
    Kata di WordPress? Buat Plugin aja.. is kinda
    vanilla. You might look at Yahoo’s home page and watch
    how they create post titles to grab viewers interested.
    You might add a related video or a pic or two to get people excited about what you’ve written. Just my
    opinion, it could bring your website a little bit more interesting.

    Dapatkan Informasi Seputar Rokok Elektrik dan juga Harga serta Spesifikasinya

Tinggalkan Balasan

Alamat surel Anda tidak akan dipublikasikan. Isian wajib ditandai *