I'm a bit new to this so I hope is this is the right place for this, so I apologize in advance if it's not.
I've copied and modified code I found to programmatically add page(s) to my site via my new function. This works fine and each time I run the function I get my new page created and shows up in my menu tabs and I can click on it and see my new content.
But what I need some help with now, is I'm using WPtouch (Version 1.9.7)to manage my Mobile theme and would like my new page to also show up in those menus automatically too. I can go into the WPtouch settings screen and click on my newly created page and have it display then, but would like to have my 'pageadd' function do it when I build the page.
I guess what I'm really asking is does anyone know how or what table / field etc that WPtouch uses from the DB to know which pages it is displaying within its pull down menus. Doesn't seem like should be too hard to do, I'm just not seeing how it knows.
Can anyone help me out with this??? Thanks