From 084f983bd63ab9fd349e9249855251e6f1f112b4 Mon Sep 17 00:00:00 2001 From: jmash Date: Mon, 11 Feb 2008 23:53:07 +0000 Subject: [PATCH] git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@31581 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- README.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index f8ab75d..61bb7b5 100644 --- a/README.txt +++ b/README.txt @@ -22,7 +22,8 @@ In most cases the plugin should work straight out the box, since most templates `wp_list_pages('depth=1&title_li=);` However to achieve full functionality including the 'exclude pages' feature you should replace the `wp_list_pages()` function with the following php code: - `if(function_exists('pageMash_exclude_pages')){$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}` + `if(function_exists('pageMash_exclude_pages'))` + `{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}` `wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);` You can place the code wherever you would like your page listings to appear;