Changing the CoursePress template

Please advise, in the CoursePress theme, on the /course page I need too:

1) Move the category above the headline
2) Add an extra custom thumbnail size for wide screensizes (keep the current thumbnail for narrow screen sizes)

The archive-course.php is created and the content from archive.php file is copied there. What PHP code I need to add to make these changes?

  • Panos
    • SLS

    Hey there Brand Rocket ,

    CoursePress uses virtual pages to display the archive list. I have prepared a custom mu-plugin which you ca try out.

    You can find it here:

    Download the file and upload it o wp-content/mu-plugins folder. If your wp-content doesn't contain the mu-plugins folder you can simply create it.

    Once you upload it, the feature images of the courses will be under the title of the course and it uses responsive img tags using srcset attribute. This might not look exactly as you expect, but you can modify as wish :slight_smile:

    The place to look in order to do you changes starts from line 122.

    1) Move the category above the headline

    Apologies but I'm not sure I understand what you mean here. Could you please provide further explanation or posibly a screenshot?


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.