• Hi!

    I’m noticing an error with the shortcode I’m using. I’m using the sermons_per_page and the sermon_sort_fields shortcodes to display sermons, and am running into the following issues:

    – When sorting sermons, the resulting sermons don’t show any data except the data used in the sorting (so if you’re searching by passage, you just see the passage data and you don’t see the sermon title, date, etc.)

    – Choosing a sort option tacks on the query to the end of the current url – so it will break if not on the correct sermon archive page. It would be great if the url could be changed so that the base is always the correct archive url.

    – Pagination is not working on the sermons_per_page shortcode. When you click on a number, it actually goes to the most recent sermon instead of a new page.

    Thanks for the help! Looking forward to getting this fixed as fast as possible! Keep up the good work with the plugin – as a developer as well I know how intense it can be!

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

Viewing 1 replies (of 1 total)
  • – Choosing a sort option tacks on the query to the end of the current url – so it will break if not on the correct sermon archive page. It would be great if the url could be changed so that the base is always the correct archive url.

    I actually modified our “filtering” section. I created a content-sermon-filtering.php page and saved it in the ‘partials’ in our theme. Then added this:

    <div id="wpfc_sermon_sorting">
    	<nav id="menu-sermon" class="menu menu-sermon font-secondary" role="navigation" aria-label="Sermon Menu" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement">
    		<h3 id="menu-sermon-title" class="menu-toggle font-headlines"><button class="screen-reader-text font-secondary">Sermon</button></h3><!-- .menu-toggle -->
    		<div class="wrap">			
    			<ul id="menu-sermon-items" class="menu-items">		
    				<li class="menu-item speaker"><a href="/speakers/">Speaker</a>     <?php echo do_shortcode( '[list_sermons display="preacher" order="ASC" orderby="count"]' ); ?></li>					
    				<li class="menu-item series"><a href="/series/">Series</a>      <?php echo do_shortcode( '[list_sermons display="series" order="ASC" orderby="id"]' ); ?></li>					
    				<!--<li class="menu-item topic"><a href="#">Topic</a>       <?php echo do_shortcode( '[list_sermons display="topics" order="DESC" orderby="id"]' ); ?></li>					
    				<li class="menu-item book"><a href="#">Book</a>        <?php echo do_shortcode( '[list_sermons display="book" order="DESC" orderby="id"]' ); ?></li>					
    				<li class="menu-item service"><a href="#">Service Type</a><?php echo do_shortcode( '[list_sermons display="service_type" order="DESC" orderby="id"]' ); ?></li>	-->
    				<li class="menu-item"><a href="/subscribe/">Subscribe</a></li>		
    			</ul><!-- .menu-items -->
    		</div><!-- .wrap -->
    	</nav><!-- .menu-sermon -->
    </div><!-- #wpfc_sermon_sorting -->

    You can see it on our site: https://faithcommunitybible.org/

    – Pagination is not working on the sermons_per_page shortcode. When you click on a number, it actually goes to the most recent sermon instead of a new page.

    As far as I know, there has never been a [sermons_per_page] shortcode, This is a list of all of the shortcodes: https://wpforchurch.com/my/knowledgebase/75/Sermon-Manager-Shortcodes.html

Viewing 1 replies (of 1 total)
  • The topic ‘sermons_per_page shortcode error’ is closed to new replies.