I am porting over an html website to wordpress. I am trying to create a button that will go out to some tables and do some MySQL processing before it retrieves posts. I'm not really sure how to accomplish this. I bought a theme and the theme uses a form with an action of bloginfo('url') and then it uses the get_theme_mod functions a whole lot. I just want to use my own form, which calls an action=action.php file to do some processing. I'd like to put a line or more of code at the bottom of my action.php that will have wordpress display posts. How can I do this??