Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Functions for generating a menu of WordPress pages


chrishajer
Participant

@chrishajer

If you are using 1.0, create a file called functions.php in your current theme directory, and put all that code into it.

If you’re using less than 1.0, you can create a plugin from that code. Just add a plugin header to the top of all that, like this:

<?php
/*
Plugin Name: WordPress pages for bbPress
*/
?>

And put it into file called something like wordpress-pages.php and drop that into folder called my-plugins at the same level as bb-plugins. If the folder is not there, you can create it. After it’s in the folder, log into the admin, you should see it there, then activate it. And report back how it worked for you.

Thanks

Skip to toolbar