0
Welcome Guest! Login
0 items Join Now

Change blog excerpt ... to Read More how to do in WP Helium?

  • Change blog excerpt ... to Read More how to do in WP Helium?

    Posted 3 years 1 month ago
    • On normal WP templates I can change the ... found at the end of a blog exerpt on the list page to say Read More by inserting a bit of code into the functions.php. How do I change it in Gantry 5? I tried using the code suggested on

      codex.wordpress.org/Customizing_the_Read...he_the_excerpt.28.29

      as shown below (but it doesn't work):

      // Replaces the excerpt "Read More" text by a link
      function new_excerpt_more($more) {
      global $post;
      return '<a class="moretag" href="'. get_permalink($post->ID) . '"> Read the full article...</a>';
      }
      add_filter('excerpt_more', 'new_excerpt_more');


      Any idea what I need to do to change from the three dots (...) to what I have above?
  • Re: Change blog excerpt ... to Read More how to do in WP Helium?

    Posted 3 years 1 month ago
    • Sorry to bump but it's been a week and no replies on this. Anyone know how to change the ... in a Gantry 5 for WordPress template to be "Read More"?
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22228
    • Thanks: 2637
    • Web Developer

    Re: Change blog excerpt ... to Read More how to do in WP Helium?

    Posted 3 years 3 weeks ago

Time to create page: 0.072 seconds