Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple page in template / Content Slider theme
#14
I use this topic to continue the development of this theme before sharing officially.

How it works :

Create your page and make it as child from index :
[Image: management.png]
[Image: edit-page.png]
Others pages must be private otherwise they will be displayed.

In template.php:

- the function menu_css() create the css style in <head> for the menu for each child page of index.
- the function my_getPageContent2 permit to display content of child page from index.
- the function my_get_navigation(return_page_slug()) create the menu on the left. It indexes the child pages of index.

each of this function are available in functions.php.

Be Careful, this theme isn't compatible with many plugin. I've only test this :

- I18N plugin (all) not compatible
- P01-Contact not compatible
- Share 3+/5+ not compatible

Probably not compatible :
- item manager
- any other ...

Compatible :
- DM Contactable
- fancybox plugin

Things to improve:
- Creating a page and not create a child page. The priority (for menu) of each page will determine the style of the page. Priority 1: style "content" other priorities: style "panel"
---> This will probably make the theme compatible with other plugin. Must try !
- Make the theme compatible with most plugin as possible.
- Make the css compatible with any browser.

For these improvements, I'm going to need help and time. That's why I prefer to keep this topic before sharing this theme officially.

All your tips are welcome!
Reply


Messages In This Thread
Multiple page in template / Content Slider theme - by didou038 - 2012-04-08, 22:51:07



Users browsing this thread: 1 Guest(s)