Category: javascript

First, open your functions.php file and paste the following code in it: Rating

Rating

First, open your functions.php file and paste the following code in it: /** * Filter HTML code and leave allowed/disallowed tags only * * @param string $text Input HTML code. * @param string $tags Filtered tags. * @param bool $invert Define whether should leave or remove tags. * @return string Filtered tags */ function theme_strip_tags_content($text, […]

Rating

Paste the following code in your single.php file, within the loop. Edited the text on line 7 as desired. Rating

Rating

This code has to be pasted into your theme’s functions.php file. It can be customized to deal with custom post types, as shown on line 16 and after. Rating

Rating

First, place the code below into your theme’s functions.php file and don’t forget to save. Rating

Rating

Before pasting this code in your function.php file, edit line 11 and replace contact.php by the name of the page you want to disable the editor for. Rating

Rating

Simply paste this code where you want to display the active plugin list. Once saved, active plugins will be displayed. Rating

Rating

Simply paste this code into your function.php file. Edit lines 5 and 6 at your convenience. Rating

Rating

Simply paste the following code into your functions.php file: Rating

Rating

Just run the following query on your WordPress database to delete comments with nastyspamurl as url. Don’t forget to replace the table prefix wp_ if your database is using another prefix.And of course, create a backup of your database before running the query! Rating

Rating