A useful little function to get the top-level category ID in WordPress. This function returns the ID no matter how deeply nested the child category is. It also returns the current category ID if you happen to be looking at a category which is top-level already.
A simple function to display the page content from another page on your WordPress site. Can be used in template files as well. Handy in cases where you need to duplicate content in multiple locations.