Support » Plugin: Sermon Manager » Sermon Manager

  • Resolved jahrat

    (@jahrat)


    My sermon notes do not show the title of the document attached or the title of the bulletins. I do not see a setting that controls this. How can I adjust this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • That is how it’s supposed to work. If you want to include the sermon title after the sermon notes link, you will need to edit your content-sermon-attachments.php.

    Read this to get an idea on how to edit the file. https://wpforchurch.com/my/knowledgebase/69/Modifying-the-Excerpt-of-a-Sermon-Archive.html

    Once you’ve found the content-sermon-attachments.php file, you will need to find this:

    <a href="<?php echo get_wpfc_sermon_meta( 'sermon_notes' ); ?>"
      class="sermon-attachments"
      download="<?php echo basename( get_wpfc_sermon_meta( 'sermon_notes' ) ); ?>">
      <span class="dashicons dashicons-media-document"></span>
      <?php echo __( 'Notes', 'sermon-manager-for-wordpress' ); ?>
    </a>

    Use this instead:

    <a href="<?php echo get_wpfc_sermon_meta( 'sermon_notes' ); ?>"
      class="sermon-attachments"
      download="<?php echo basename( get_wpfc_sermon_meta( 'sermon_notes' ) ); ?>">
      <span class="dashicons dashicons-media-document"></span>
      <?php echo __( 'Notes: ', 'sermon-manager-for-wordpress' ); ?>
      <?php the_title(); ?>
    </a>

    Hello Mike,
    The adjustments worked fine. However, instead of using
    <?php the_title(); ?>
    I used
    <?php echo basename( get_wpfc_sermon_meta( ‘sermon_notes’ ) ); ?> and
    <?php echo basename( get_wpfc_sermon_meta( ‘sermon_bulletin’ ) ); ?>
    Thanks for your help.

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