wordpress snippets last updated   : September 29, 2014
we now have 639 snippets

Replace dashboard news feed with another rss feed

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you replace the existing RSS feed widget with another RSS feed. Change YOUR_FEED_NAME with the name you wish to display in the widget title this is located on line 09. You will need to also make adjustments to “url, title, items, show_summery, show_author, show_date” located from line 14-19.

read more

Replace keywords or cursing in the comments

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will replace keywords like cursing or even affiliate links within your post comments. May even be fun to change some random words lol, however keep in mind the filtered content will be saved.

read more

Link keywords or replace text in all blog posts

wordpress snippet

Adding this to the functions.php of your wordpress theme will let you replace text within your blog post. This is a great option for linking multiple pages in your blog with keywords. Don’t forget to change the “TEXT_TO_REPLACE” and the “TEXT_YOU_WANT_TO_REPLACE_WITH” lines in the above code add new lines for more items.

Note: Extensive use of this method may cause performance issues, use sparingly.

read more