• Hi all,

    I’m using Hiero wordpress theme and I’m looking for the name of file where I can find the function to rename the link “continue reading” to access full article from the homepage

    Can someone help me? 🙂

    Also once it’s found, do I just need to rename it then and this it?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    The file you are looking for is heiro/inc/extras.php, but modifying/editing the theme files is never advisable.

    You can do it by adding the below code in your theme’s functions.php file.

    I would advice you to add the changes by using a Child theme

    function heiro_excerpt_more( $more ) {
    	return ' <a href="'. esc_url( get_permalink() ) . '" class="more-link">' . __( 'Read More <span class="meta-nav">→</span>', 'athemes' ) . '</a>';
    }
    add_filter( 'excerpt_more', 'heiro_excerpt_more' );

    Replace Read More with the text you want to replace it with.

    Hope it helps!

    Thanks

    Hello, i am trying to remove the link “continue reading” if the article is short. This happens when i have short articles, and the intro just shows on the homepage. There is no need for the “continue reading” for the clenbuterol info. Can you please take a look at the homepage – http://www.buyclenbuterol.com/ and let me know how to fix that?

    Also, is it possible to position the link “continue reading” to be static on one spot, instead of changing every time depending on text and image?

    Hi B

    This is a theme specific support forum and I see you are using a different theme.

    Also please create new threads for new issues.

    Anways to get rid of continue reading use the below code in your theme’s functions.php file. Make sure you are using a child theme, to avoid loosing the changes on theme updation.

    function heiro_excerpt_more( $more ) {
    	return '';
    }
    add_filter( 'excerpt_more', 'heiro_excerpt_more' );

    Thanks

    @buyclenbuterol – as mentioned above, this forum isn’t the best place for questions about another theme. The forum for your theme is here:

    https://wordpress.org/support/theme/rundown

    Scroll to the bottom to make a new thread there.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Rename the link "continue reading"’ is closed to new replies.