Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm setting up a new WordPress site and going forward we are going to be building a lot of custom interactions that will need to be stored within WordPress. When I say custom interactions I'm talking about having custom html structure inside of template html and will have custom HTML, CSS, JavaScript, and images that will be specific to that particular page/post.

What I'm looking for is suggestions on how best to build these pages:

  • A custom page/post template for every individual interaction
  • Custom short codes for each interaction
  • Something else?

A couple of notes, the pages will need to be able access session data, these interactions are most likely going to only be used on a single page/post, and there are likely to eventually be hundreds of these interactions.

The content of these interactions will be similar to Flash games but written in html and JavaScript.

--EDIT--

My specific question is how would I build pages and posts with custom interactive content that is specific to that page? Is there a best practice for pages that each have their own css, JavaScript, and html while maintaining an outer template?

share|improve this question
    
If you want us to help you, please ask a specific question, and we'll try to give you a specific answer. We don't just do recommendations/suggestions. –  t f Mar 14 '13 at 22:38
    
Regarding your edit: what you described is exactly how WOrdPress works/can work. Set up particular templates for diverse content with individual styles etc. That doesn't have to be page/post templates but could also be more specific partial templates that you then may use for several different page templates. –  t f Mar 14 '13 at 22:48

1 Answer 1

Without being given enough details, I suggest you install word press and familiarise yourself with how it all works if you haven't already. Make some posts, maybe start writing your own theme, and once you've grasped those ideas move on from there. By the sounds of things you are thinking to far forward at the moment.

Start Here: http://codex.wordpress.org/Getting_Started_with_WordPress

When brushing up on your wordpress, make sure you cover the topic of Post Types from the url I've provided. Once you understand the differences between a post / page and a custom post I think you will find your answer yourself without asking such vague questions.

http://codex.wordpress.org/Post_Types

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.