sub page functions (my first plugin!)
-
I’ve just created and uploaded my first plugin for WordPress. “Sub Page Functions” introduces two new tags which can be used to control display and information about sub pages and parent pages. Because this is my first plugin and I wanted to make things simple on myself, the functions are named rsc_is_subpage (a boolean function which returns true or false based on whether the current page is a subpage or not) and rsc_get_parent (which returns a $post object with information about a subpage’s parent page).
Information about this plugin and the download can be found here.
I had great fun writing this plugin. I hope others will find it useful.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘sub page functions (my first plugin!)’ is closed to new replies.