Suspicious PHP Code In My WordPress Theme File

Recently I got my site not working. It seems there is an error in my functions.php “Parse error: syntax error, unexpected ‘}’ in /home/x/public_html/wp-content/themes/takien-theme-blue/functions.php on line 317″ I go to that line using my favorite Editor, and surprisingly I found this strange code that I never created before:

WordPress Reserved Global Variables, You Should Avoid Define A Variable Using These Name

Global variable is a variable that is accessible in every scope, in PHP it works ONLY for the same page and the file that are included after. However, some predefined variables, known as superglobals are always accessible in whole site. Both of global and superglobal variable can be redefined or overwrite it’s value. When developing [...]

Cara Memasang Komentar Disqus di WordPress

Dulu saya males pake Disqus dan tidak tertarik untuk mencobanya. “Aplikasi pihak ketiga gini lambat, dan ujung-ujungnya nitip brand di web kita”, begitulah pemikiran saya waktu itu. Sampai pada suatu hari ketika bikin web orang, saya stuck ketika minta sistem komen yang bisa login pake Twitter dan Facebook. Karena tidak ingin membuang-buang waktu, maka saya [...]

Membuat Custom URL untuk Attachments Image di WordPress

Pada umumnya URL image/attachment di WordPress adalah http://example.com/wp-content/uploads/, supaya lebih keren kita dapat menggantinya menjadi http://img.example.com/. Mari kita ikuti caranya: 1. Buatlah sebuah sub-domain di cpanel, document Root nya diisi dengan /public_html/wp-content/uploads (lihat gambar 1)     2. Di wp-admin, buka menu Settings->Media 3. Pada field Full URL path to files, isikanhttp://img.example.com/ (lihat gambar 2) [...]

Make Your Own 123 WordPress Paging

Hello, In this tutorial I will show you how to make your WordPress paging looks eye-catching without using plugins. But hey, there are many plugins out there could do it automatically without any programming skills required. Yes I know, at least, I assume that you want to do it yourself by using PHP. Yes you [...]

Word Replacer Plugins Version 0.2.1 Released

Post merged here: http://takien.com/587/word-replacer-wordpress-plugin.php

WordPress 3.0.2 is available! Please update now

On November 30, 2010, WordPress 3.0.2 was released to the public. This is a mandatory security update for all previous WordPress versions. For version 3.0.2, the database version (db_version in wp_options) remained at 15477. Installation/Update Information To download WordPress 3.0.2, update automatically from the Dashboard > Updates menu in your site’s admin area or visit [...]

The Way I Deal with Spam Comments

There are so many WordPress plugins tagged spam published in WordPress plugins directory. Most of the plugins is to combat spam comment in WordPress blog. However, I am not use one of those plugins, because of several reasons:  they are captcha based (eg. re-Captcha) and they are using API (eg. Akismet). In my experience, using [...]

WordPress Search Filter Plugins

May be you just wondering how to filter the WordPress search result by category. It’s possible by adding some function to your wordpress, but if you don’t familiar with PHP, I just write a plugin for you called WP Search Filter. This plugin is simply add a dropdown categories next to the search form. If [...]

WP Dropdown Posts Plugins

Sometime you want to display WordPress Posts list in a dropdown style just like WordPress Page does. Unfortunately this feature is not available in WordPress. But dont’ worry guys, I have created a plugin for this purpose. WP Dropdown Posts will shows posts list in dropdown and if you click on an item, you will [...]