Custom Post Type for single page themes
-
Generally my workflow for custom post types is like this: I have a default template (e.g. TwentyFourteen). I create a custom post type (e.g. events) which is associated to some custom fields. Then I create a page based on a custom template which lists all events. And I create a template which defines how a single page (that is, a page of a single event) should look like.
Note that with this approach we have a separate page which lists alle events. This page would be something like https://www.mywordpress.com/events
However, I would like to try this with so called ‘one page’ themes, e.g., Parallax One (Demo: https://themeisle.com/demo/?theme=Parallax%20One). So my wordpress page would consist of a single page where the links just point to different sections of this same page. Now my question is: Is it possible to use my ‘custom post types’ and ‘custom fields’ approach also with these themes? for instance, i would need to be able to define section, e.g., https://www.mywordpress.com/#events, which then lists all my custom post types, e.g., events.
After doing some initial research, I have only seen pre-defined blocks which can be used (e.g. for sections such as ‘team’, ‘blog’, ‘about’, but nothing for custom post types) for these sections.
To sum up: Could someone provide me with detailed information on how ‘custom post types’ can be used in combination with single page wordpress themes?
- The topic ‘Custom Post Type for single page themes’ is closed to new replies.