PHP code execution in WordPress text widget

Starting directly on the issue 🙂 ; The below code snippet is for executing PHP code in the WordPress text widget. This snippet goes into ‘functions.php’ of a WordPress theme. The first thing we are doing is, add_filter() so that we specify from which widget we get the code/ data. Hence, add_filter( ‘widget_text’, < functionName […]


The Captcha Show

CAPTCHA or Completely Automated Public Turing Tests to Tell Computers and Humans Apart, exist to ensure that user input has not been generated by a computer (sounds quite long). These peculiar puzzles are commonly used on the Web to protect registration and comment forms from spam. Captcha is one of the many essential part in […]

Warning: session_start()

Today while creating a WordPress plugin, i got an error when I activated it. Although this was not the first time i was developing a plugin for WordPress, but the error was there and seemed as if my plugin is conflicting with another plugin called Membership Pro. The error was: Warning: session_start() [function.session-start]: Cannot send […]