• joshlama

    (@joshlama)


    Hi,
    We’re having issues with the single sermon template. We are using the Avada Theme, and it appears that the theme is showing the sermon short code twice. Once as part of the post which does show it in an odd format, where the image doesn’t appear, the second after the footer which looks the same. I’ve had a look in the dev tools to see the structure, but I haven’t got anywhere. I have tried using the Enable Template Files and the Disable Sermon Styles settings, but have not succeeded with this. In my searching online, I didn’t get anywhere there as well.

    Here’s an example page: https://www.macquarieanglican.org/sermons/what-did-jesus-do/
    I’d like to know if this has been something you’ve seen before, or any reason why it would show up again?
    Thanks,
    Josh.

Viewing 1 replies (of 1 total)
  • Hello Josh,

    Your theme’s single.php template file pulls the post info and then the footer.php (among other things I’m sure). It sounds like your theme’s footer.php has code that is also pulling the post info again. Instead of focusing your attention on the single.php template (which is OK for now) focus on figuring out why the arvada footer.php template is pulling post info.

    Create a child theme and then create a custom footer.php in the child theme that does nothing but normal footer.php stuff. Just start eliminating lines of suspicious code and test. The worst that can happen is you go back to the Arvada footer.php file or switch themes.

Viewing 1 replies (of 1 total)
  • The topic ‘Using Avada template, sermons appear twice.’ is closed to new replies.