Modifying the Excerpt of a Sermon Archive

This is just a quick article on how to override/modify Sermon Manager views.

Up to Sermon Manager 2.13.0 this was possible only via PHP and WordPress filters, but since that release, it is all done via simple copying/pasting files.

Using your favorite FTP client or cPanel File Manager, navigate to /wp-content/plugins/sermon-manager-for-wordpress/views. Then, either create a child theme if it's not already created, or go to the child theme directory if it is. After that, just copy the files you want to override to your theme, while maintaining the structure. You can then safely edit the files in your child theme directory.

Tip: You will most likely want to override /wp-content/plugins/sermon-manager-for-wordpress/views/partials/content-sermon-archive.php and/or /wp-content/plugins/sermon-manager-for-wordpress/views/partials/content-sermon-single.php. For example, with the theme "TwentySixteen Child", you would need to copy:
/wp-content/plugins/sermon-manager-for-wordpress/views/partials/content-sermon-archive.php -> /wp-content/themes/twentysixteen-child/partials/content-sermon-archive.php

Tip 2: If you open the file, you will find more information in the file header.

Note: You can also copy the files to your non-child theme, but the changes will be lost on theme update.

  • 4 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Podcast “Page Not Found” Error

This problem has to do with the way WordPress feeds work (or don’t work in this case). You must...

Template Tags

Version 1.5+ Template tags are used within your theme files to display information...

Getting Started with Sermon Manager for WordPress

After installing Sermon Manager from the WordPress Repository, you’ll see a new top level menu...

Troubleshooting Sermon Manager

Better Questions Get Better Answers Every day, Sermon Manager users email us asking us to fix...

Images for Preachers, Sermon Series, and Topics

Version 1.5+ Displaying Images for an Individual Sermon render_sermon_image($size) This allows...