2015-12-02, 16:57:09
(2015-12-02, 09:13:25)shawn_a Wrote: I imagine you could do all this automatically using filters
I don't think so:
- for the header processing all content of all pages is concatenated into the content (e.g. needed for I18N Gallery)
- then for each next_onepage_content() the globals $content, $data_index, etc. are exchanged to ensure proper processing
- get_onepage_navigation: theoretically you could use filter "menuitems" and replace all the HTML - quite inefficient