Make page available with two different templates?
-
Hey peeps,
I’m working on a WP site for a web development firm, and they have a Portfolio section. Pages in the portfolio have custom fields and gallery images. This information is displayed using a portfolio-page.php template, and is looking great.What I’d like to do is load sections of a portfolio item (thumbnail, title, and custom fields) via AJAX when a user hovers a link to a portfolio page. I’ve got all of the JavaScript working, but what I need now is to find a way to display the portfolio page with a different template if it’s being called from the JavaScript.
So, I basically want
http://domain.com/portfolio/featured/clientname
to load using a different template than what’s set in WP.Anyone know how I might be able to do this?
Thanks!
- The topic ‘Make page available with two different templates?’ is closed to new replies.