First, you'd need to load the form into two WordPress pages. One named register, as we've done with the special template and another one named register-b (that's just the permalink slug, the header could still say Register on both pages). For the register-b page, you would not assign the special template; you'd leave the Page Template as Default Template. You can place a cform on to as many pages and posts as you like, so having this form in two places definitely won't be a problem.
Next, you'll go into the category-3.php Events template page and change the link to call the alternative, default themed page as follows (note the bold -b is the only difference from our original link):
<p><a class="register" href="/wp-jqury/register-b/?evnt=<?php the_ title(); ?>">Register</a></p>
Last, in your custom-jquery.js file, you'll simply create a jQuery script that will rewrite that href link to the modal page form by removing the -b. Be sure to place this script before your colorBox function scripts, just to make sure the href transforms before setting up the colorBox functions.
this.src = this.src.replace(/register\-b/, "/register/");
Was this article helpful?
Simple secrets to turn your computer into a cash machine. Successful Bloggers know that with the right money making opportunities blogs can become cash generating machines. If you want to start a profitable blog, or profit from an existing blog, you need to know this information. Start blogging for cash today and learn everything you need to know to profit from your blog.