Prefix and mask any filtered external link with Referrer spoofing or hiding service. The original idea came from WordPress.com Link Visibility option. Add the following lines to your WordPress Theme’s template functions.php file (For example, functions.php file for a Theme named “default” would probably reside in the directory wp-content/themes/default/functions.php) or create it as a Plugin [...]
Monthly Archive for April, 2009
26 Apr 2009
22 Apr 2009
WordPress Page Subpage
List all subpage of the current ancestor Page, rather than only listing subpage of the current parent Page. Add the following lines to your WordPress Theme’s template sidebar.php file: <?php if (is_page()) : $ancestor = array_pop(get_post_ancestors($post->ID)); $postID = isset($post->ID) ? $post->ID : 0; $ancestor = isset($ancestor) ? $ancestor : $postID; $title = get_the_title($ancestor); wp_list_pages(‘title_li=<h2>’.$title.’ Subpages</h2>&child_of=’.$ancestor); [...]