Teachings: Change to Sermons

Important Note: To change ‘teachings’ to ‘sermons’ you have to replace the elements in your FTP folder directly. If you are unfamiliar with FTP then do not attempt to do anything in this area on a live site.

To change out the term ‘teachings’ with sermons’ you will need to navigate via FTP to wp-content > themes > exodus > front-page.php.

Screen Shot 2015-12-26 at 6.02.57 PM

When you have this open (we suggest using Coda, Brackets or SublimeText), use keyboard shortcut “Ctrl + F” to bring up the find bar. In the Find bar search for “Teachings.” You will find 5 spots that have the words teachings. You will only need to change out three of these.

Screen Shot 2015-12-26 at 6.03.38 PM

DO NOT change the first teachings (found on line 56 – “div class=”wrap cp-latest-teachings” this needs to stay the same in order to keep your site in alignment when you change the verbiage to sermons).

DO change the following three ‘teachings’:
1. Line 57: “<>SERMONS<>
2. Line 66: “‘category_name’=> ‘sermons’,”
3. Line 77: “href=”/sermons”

Screen Shot 2015-12-26 at 6.17.06 PM

Save & close your front-page.php & open your functions.php page.
Screen Shot 2015-12-26 at 6.38.18 PM

Using your “Ctrl + F” bring up the find bar & once again search for “Teachings.” You will find 1 spot that has the word ‘teachings’. You will only need to change out this one.

Screen Shot 2015-12-26 at 6.07.34 PM

Screen Shot 2015-12-26 at 6.07.44 PM

Save & Close your function.php.

Visit your site & see your changes.
Screen Shot 2015-12-26 at 6.23.27 PM
Nice work! Now you can begin uploading your sermons.

We highly recommend Sass for all developers

If you are unfamiliar with it then have no fear. We will write an article soon but in the meantime you can check out the Sass Lang Docs or the Team Treehouse training on Sass.

Related Articles