• I am using Responsive as my parent theme and I try to edit Read more link. I is in functions-extras.php file:

    /**
     * Returns a "Read more" link for excerpts
     */
    function responsive_read_more() {
    	return '<div class="read-more"><a href="' . get_permalink() . '">' . __( 'Read more ›', 'responsive' ) . '</a></div><!-- end of .read-more -->';
    }

    If I want to change that what I should to my child theme’s functions.php file. I only want to change div’s to span.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried copying functions-extras.php to your child theme folder and adapting it there?

    I don’t know what you’re going to accomplish, but perhaps you could try adding some css so the div behaves (somewhat) like a span (not on ie7 though).

    Thread Starter Mise

    (@sedemik)

    I tried to copy that function to my functions.php but it makes problems. Your solution sounds cleaver and pretty simple. I didn’t think of that choice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit Read more link’ is closed to new replies.