[Support request] Custom Post Type Page Template plugin

Home Forums Support [Support request] Custom Post Type Page Template plugin

Home Forums Support Custom Post Type Page Template plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #474549
    Rod

    I am trying to use the above plugin and instruction tells me to change PHP file as described below to change in theme. Can you help me as to where in theme to make this change so page template can work.

    thank you,
    Rod

    see instruction below.
    Option #2: Recommended WordPress Instructions
    1. Create a copy of single.php
    2. Find out post_type for your custom post. In this case it is ‘sfwd-lessons’.
    3. Change the new file name to single-sfwd-lessons.php
    Make whatever change you want in this new file.

    #474640
    Tom
    Lead Developer
    Lead Developer

    Hi Rod,

    First you would need to create a child theme: https://docs.generatepress.com/article/using-child-theme/

    Then you would copy single.php in the generatepress folder, and add it to your child theme.

    Then change the name to what they suggested above.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.