In this tutorial, I will show you how to modify the “read more” link on the Foodie Pro theme.
Recently, I’ve seen a number of comments from bloggers who are wondering why the ellipsis on their first post is displaying under the post content rather than displaying inline, like the demo. In each case, the issue is that their posts were written with the block editor (the new “Gutenberg” WordPress editor), rather than the Classic Editor. The post on the Foodie Pro theme demo was written with the Classic Editor.
Currently, the Feast Design themes are not being touched by the Gutenberg (“Block”) editor, because it’s still a work in progress by the WordPress core team, and it would be pointless to update a theme while it’s still changing. It may be that when the themes are updated this functionality will be revised, or incorporated into the Feast plugin, which is where theme functionality belongs.
Before you decide to make this update, I highly recommend you read the post on the Feast Design Company site about customization, and ask yourself why are you making the update? This tutorial will remove the ellipsis not only from this one location, but also from other locations within widgets and post excerpts. So, carefully consider whether you want to make the update.
Having decided that you do want to make the update, let’s get started.
Modify the Read More Link on Foodie Pro theme – Step One:
Navigate to your functions.php file by going to Dashboard > Appearance > Theme Editor > functions.php. Look for this:
Modify the Read More Link on Foodie Pro theme – Step Two:
Replace it with this:
Here is the finished result – no ellipsis, and no gap between the content, the ellipsis, and the “read more” button.
As always, I recommend that you don’t make updates to your functions.php file if you’re not familiar with PHP, as any error could cause your site to crash. I recommend that prior to making any updates, make sure that you have performed a site backup, and that you have a fresh functions.php file available to revert your changes.
If you’re using the Foodie Pro Theme, or any other theme built on the Genesis Framework, and are interested in having me implement this for you, send me a note!
Did you know I offer a theme setup service? Get your Feast Design Company theme installed and set up like the demo in under 24 hours. Learn more here.
If you liked this tutorial, and would like to thank me by buying me a coffee, you can do so here.
Leave a Reply