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