Hi
I'm new to the forum so apologies if I'm posting in the wrong area or asking a silly question I have read quite a few forum posts but I can't find an answer to my current problem with Atahualpa 3.6.7 running on WordPress 3.2.1
I have created a custom template (page.php) by copying index.php (pretty standard stuff so far) and I have played around with the content. My problem is that I want to create the entire body content dynamically from a second database, resident on the same MySQL server. I have a block of PHP code that I am including but part of that content creates a WP short-code to position a gallery (tag-gallery) and of course, because this is just being output directly WP isn't processing the code in any way so the short-code just displays on the page.
So, I think I need to put the page content into a variable and then pass this to the WP the_content() function to be processed and output. Is this correct ... and how would I go about doing that within Atahualpa? I'm guessing that I can also rip out a lot of the index.php code in my new page.php because it doesn't have to worry about comments, archives and posts - it just has to display a header and the page content that I create from the other DB.
Anyway, sorry for a long first post - I hope someone can point me in the right direction
Thanks, Chris R.