Support » Theme: Slanted » Excerpts

  • Resolved benanair

    (@benanair)



    Hi I love this theme and appreciate the blog options, but I would really like the excerpts allow links in them. Is this possible? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi, glad to hear!

    Excerpts can not contain links, so you would need to modify content.php with a child theme to show the full content instead to allow links:

    Locate this in content.php:

    
    <?php if (get_theme_mod('excerpt-length','20') != '0'): ?>
    <div class="entry excerpt">
    <?php the_excerpt(); ?>
    </div><!--/.entry-->
    <?php endif; ?>	
    

    And replace with:

    
    <div class="entry excerpt">
    <?php the_content(); ?>
    </div><!--/.entry-->
    

    There may be issues by doing this, but it should give you a start.

    Thank you Alexander for the quick reply. I found an easy solution by installing the plugin Advanced Excerpts, works great with the theme. Looks great now really loving this design style!

    Theme Author Alexander Agnarson

    (@alxmedia)

    Great, didn’t know that! Glad you fixed it.

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