WordPress Shortcodes Outside the Loop

Many wordpress plugins use shortcodes inside the content to trigger plugin functionality. I had a need to call a plugin outside of the loop, in my case, from the sidebar. There is a do_shortcode function to do this very easily. It searches content for shortcodes and filters shortcodes through their hooks. If there are no [...]

Posted at 7pm on 4/17/12 | no comments; | Filed Under: Wordpress | read on

Block Search Engines

If you have a website that you want to block search engines from indexing, for example an online tool that does not have legitimate public access, you can very easily tell the search engines not to index the site at all using a simple text file. Create a simple text file named robots.txt with the [...]

Posted at 5pm on 11/12/11 | no comments; | Filed Under: Search Engines | read on

Categories

Monthly Archives