• I’m setting up a site for a podcast (probonoradio.com) using WordPress with the Libsyn plugin.

    Currently, I want to drive people to the “Episodes” category for posts to view the most recent episode, and previous episodes below it.

    WordPress is auto-summarizing posts in that category, though. Currently, you can’t see the actual podcast in the category page, but just a compressed version of the formatted text of the post.

    Category page: https://www.probonoradio.com/category/episodes/

    Individual post: https://www.probonoradio.com/2016/08/26/live-in-the-lounge-november-19-2015/

    How can I have the Category page show full posts, instead of summaries? I’ve looked under “Writing,” “Reading,” and “Customize” options in the dashboard and had no luck.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Ask the theme authors whether there’s an option to show full content on archive pages:

    https://www.ads-software.com/support/theme/clean-journal

    If not, make a child theme and change where it uses the_excerpt to use the_content.

    https://codex.www.ads-software.com/Child_Themes

    Thread Starter mattshepherd

    (@mattshepherd)

    Thank you, Steve! I’ll do that.

    Thread Starter mattshepherd

    (@mattshepherd)

    Just a placeholder pending a reply from the Clean-Journal creators… there is no “the_excerpt” anywhere in archive.php, and there is no category.php file at all. The code where I’d guess it would be found is:

    <?php /* Start the Loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php
    					/* Include the Post-Format-specific template for the content.
    					 * If you want to override this in a child theme, then include a file
    					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    					 */
    					get_template_part( 'content', get_post_format() );
    				?>
    
    			<?php endwhile; ?>

    …and this is where I completely lose the thread in terms of how modern WordPress coding works.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It’s in content.php or content-page.php. Install the plugin “show current template” to see what template files are used to render a page.

    Thread Starter mattshepherd

    (@mattshepherd)

    This is well beyond my ability to understand — the template with the plugin is archive.php, but there’s no “the_excerpt” or “the_content” in that file. It also calls the following…

    themes/clean-journal-child/functions.php
    themes/clean-journal/content.php
    themes/clean-journal/footer.php
    themes/clean-journal/functions.php
    themes/clean-journal/header.php
    themes/clean-journal/inc/clean-journal-breadcrumb.php
    themes/clean-journal/inc/clean-journal-core.php
    themes/clean-journal/inc/clean-journal-custom-header.php
    themes/clean-journal/inc/clean-journal-default-options.php
    themes/clean-journal/inc/clean-journal-featured-content.php
    themes/clean-journal/inc/clean-journal-featured-slider.php
    themes/clean-journal/inc/clean-journal-menus.php
    themes/clean-journal/inc/clean-journal-metabox.php
    themes/clean-journal/inc/clean-journal-social-icons.php
    themes/clean-journal/inc/clean-journal-structure.php
    themes/clean-journal/inc/clean-journal-widgets.php
    themes/clean-journal/inc/customizer-includes/clean-journal-customizer-active-callbacks.php
    themes/clean-journal/inc/customizer-includes/clean-journal-customizer-sanitize-functions.php
    themes/clean-journal/inc/customizer-includes/clean-journal-customizer.php
    themes/clean-journal/searchform.php
    themes/clean-journal/sidebar-footer.php
    themes/clean-journal/sidebar.php

    When I search the directory for “the_excerpt,” it appears in

    clean-journal-core.php
    clean-journal-featured-content.php
    clean-journal-featured-slider.php
    content.php

    In content.php, the only use of the_excerpt seems to be for search results:

    if ( is_search() || 'full-content' != $options['content_layout'] ) : // Only display Excerpts for Search and if 'full-content' is not selected ?>
    				<div class="entry-summary">
    					<?php the_excerpt(); ?>
    				</div><!-- .entry-summary -->
    			<?php else : ?>
    				<div class="entry-content">
    					<?php the_content(); ?>
    					<?php
    						wp_link_pages( array(
    							'before' => '<div class="page-links"><span class="pages">' . __( 'Pages:', 'clean-journal' ) . '</span>',
    							'after'  => '</div>',
    							'link_before' 	=> '<span>',
    		                    'link_after'   	=> '</span>',
    						) );
    					?>
    				</div><!-- .entry-content -->
    			<?php endif; ?>

    …and there’s only one “the_excerpt” in -core, and it is actually part of a bigger variable name. I’ve put the core file here:

    https://dumptext.com/wZqqCGqS

    and to my (not very good at this) eyes, it looks like maybe the excerpt is determined by a function instead of by the_excerpt?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please wait for a response from the theme devs.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Avoiding post summaries in category page for a podcast site’ is closed to new replies.