• I have 10 pages of a site that will contain an interactive map module. The module will contain a mix of divs and javascript code. The site uses a custom theme.

    Option 1: create a custom page template for each page. I’m not too fond of that solution. It’s not clean and the template could accidentally be used on unrelated pages.

    Option 2: allow javascript in content and input all the code in there. TinyMCE and/or the client could easily mess up the module.

    Option 3: iframe. Create the modules as separate pages and embed them in the post. Best option so far.

    Option 4: plugin. That’s the main reason I’m posting this question here. Does anyone have an alternate suggestion?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not 100% sure what the question is. Are you asking which route you should take to achieve a 10 page site, with an interactive image map??

    Thread Starter eric3d

    (@eric3d)

    Sorry for being unclear.

    The site is much bigger than 10 pages, but 10 pages will contain a module like the one I described (different module on each page).

    The module is not an image map. It contains text and images and clickable areas, which will replace images or text within the module using jQuery.

    In a site without CMS, I’d simply create each module as a separate PHP include and put it on the page. My question is the best way to manage those modules in WordPress. I’m leaning towards the iframe method, but I’m curious to see what other designers would do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Interactive additional content block’ is closed to new replies.