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 [...]

WordPress Plugin WP Sub Post

WP Sub Post is a wordpress plugin that allow you to make your wordpress post has a parent or child post. Notes: Child post is a real post that has a parent. Child post only displayed on it’s parent post page or when parent page is displayed. Child post can not be viewed individually. Child [...]