Activating Excerpts in Epik

Homepage Community Forums Epik Theme Support Activating Excerpts in Epik

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15138
    JohnP
    Customer

      Hi folks – does anyone know what the php code is to activate excerpts in Epik and to show the “Read more” link? Thanks 馃檪

      #15140
      kronos
      Customer

        You can do this from the Genesis Theme Settings page. Check it out, I don’t think you’ll need any code to do it.

        Dont forget the WordPress settings that you can add by default. Also, remember you can add a Read More tag to each post directly in your content editor.

        #15141
        JohnP
        Customer

          Thanks kronos – I forgot about activating the excerpts in the Genesis Theme Settings. I use the manual excerpt box and found some php code to automatically enable a “Read more…” link to the article in case anyone needed it:

          // Add read more link after both manual excerpts and regular excerpts
          add_filter('the_excerpt', 'add_manual_excerpt_read_more_link');
          function add_manual_excerpt_read_more_link($output) {
          global $post;
          return substr($output,0,-5).'<br><a class="more-link readmorebtn" href="' . get_permalink($post->ID) . '">Read more...</a></p>';
          }

          Cheers!

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Activating Excerpts in Epik’ is closed to new replies.