• Hello,
    Great job you guy have done.

    I want to create a custom template for single sermon. I created a folder in my theme as follow, wpfc>views>single-wpfc_sermon.php but my customizations are not taking effect.

    Am i doing something wrong?

    Also I converted my website into an android app using a service online, I noticed that my sermons stop playing after 5minutes of my mobile screen going off.
    Do you have any recommendation to prevent this from happening?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hmmm – intriguing about the template – as I may want to do the same thing, so we will see what people say.

    Regarding the Android App, you need to make sure that it is not being battery managed by the system, otherwise with the screen off, the app will be killed by the system.

    Settings>Apps and Notifications>Special App Access>Battery Optimisation and then add your app to the exclusion (not optimised) list. If you have an earlier version of Android, search for ‘battery optimisation’ in settings.

    I’ve created both a custom archive-wpfc_sermon.php and a single-wpfc_sermon.php. I create a child theme, this way if/when the parent theme gets updated, I don’t lose my custom stuff. I then put them both in my child theme’s folder /wp-content/themes/<your_theme>/. Works fine.

    For your second question. No clue as I don’t own a mobile device.

    Thread Starter ewomazino

    (@ewomazino)

    Thanks guys.

    I actually created a child theme too, however, I am not sure about the correctness of the folder path /wp-content/themes/child-theme/wpfc/views/single-wpfc_sermon.php i created within the child for Sermon manager.

    Didn’t find a proper documentation for creating custom templates for sermon manager.

    Could you point me to a documentation on this?

    Put your single-wpfc_sermon.php INSIDE your child theme’s folder. Putting a folder called ‘/wpfc/’ is not the way to do it. The plugin will not look for it there. It goes in your theme’s folder.

    Thread Starter ewomazino

    (@ewomazino)

    Thanks @hikinmike

    I followed your instructions and it works just fine.

    Thanks @markisparki

    Thans again everyone. Cheers…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to create a custom template’ is closed to new replies.