Support » Theme: OceanWP » Custom post types

  • mosabua

    (@mosabua)


    Hello, I created a custom post type “Course” to work with OceanWP.

    Now I want to create the single-course.php and the archive-course.php templates where I add some ACF-fields but somehow I’m stuck.

    Any help would be great.

    thanks werner

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, first you need to use a child theme: https://github.com/oceanwp/oceanwp-child-theme
    What do you want to add? Because maybe it would be simpler to use hooks instead of creating the files.

    Thread Starter mosabua

    (@mosabua)

    I already created a childtheme and I have plenty of ACF-Field(Advanced Custom Fields) for the courses that I have to include and style.

    • This reply was modified 3 years ago by mosabua.
    Theme Author oceanwp

    (@oceanwp)

    Hello, I recommend you to see this with a freelancer because it can be long and quite complicated to do for a beginner.

    Theme Author oceanwp

    (@oceanwp)

    For your single CPT, you can take example of the singular.php file of the parent theme, add this file to your child theme and call your own CPT files in it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom post types’ is closed to new replies.