Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Read More Doesn’t Link

  • David,

    I apologize – I had to leave the office for a couple of days – I am back working on this. I added the PHP snippet on one site and all seems good. I will add it to the other sites.

    Do you recommend I go ahead and update the sites that are not on 6.3 and add this PHP, or should I wait and see if this will correct itself in future updates?

    Also, do I need to leave the PHP in all my sites indefinitely?

    Thank you for your help on this – it is greatly appreciated.

    Tawna

  • If you need to update to 6.3 then please do so.
    You will need the snippet only for sites on 6.3+
    The snippet will be required for the foreseeable future until we figure out WP 6.3s new excerpt logic.
    Once we have we will patch GP Premium. And then the snippet can be removed if you want

  • David,

    I cannot get the snippet to work on this site – I am just starting to make the changes to all my sites and I have it set up exactly like on heavenly printables (which is the site your team has admin access to.) Here is the link so you can see it isn’t working – thank you

    https://simplylovecoloring.com/calendars/

  • Have you added a Read more text in Appearance > Customize > Layout > Blog?

  • Fernando,

    Yes, I have. I compared the settings side-by-side on both sites.

  • I see. Can you provide admin login credentials to this other site as well?

  • of course, thank you -let me know if you didn’t get them

  • Can you try updating the code of David to this?:

    add_filter('generate_excerpt_more_output', 'custom_read_more');
    function custom_read_more($output) {
    	if(is_archive() || is_blog()){
    		return ' ... ';
    	}
    	return $output;
    }
  • yes, – it still isn’t working

  • Sorry about that.

    Can you try this instead?:

    add_filter('generate_excerpt_more_output', 'custom_read_more');
    function custom_read_more($output) {
    	if(is_archive() || is_blog()){
    		return $output;
    	}
    	return ' ... ';
    }
  • No problem, thank you – working now 🙂

  • You’re welcome! 🙂

  • Fernando – now when I try to add a post I am getting a critical wordpress error since I added the code – I just added a post about an hour before I added that and it was fine.

    You can log back in to admin and go to add new post and you will see it pop up.

    Thank you

    ETA: I just confirmed when I deactivate the php code I can add a new post fine

  • I see. What’s the exact error?

    Can you update the code to this?:

    add_filter('generate_excerpt_more_output', 'custom_read_more');
    function custom_read_more($output) {
        if (is_archive() || is_home()) {
            return ' ... ';
        }
        return $output;
    }

    Then, try creating a new post.

  • Ok, it is working now, thank you

Viewing 16 posts - 33 through 48 (of 80 total)
  • You must be logged in to reply to this topic.