Insert 'read more' within brackets on posts on home page

I am using a new wordpress template called Smartline Lite by ThemeZee for this site:
http://plymouthpubliclibrary.net/

Does anyone know how to modify so that the brackets that appear on posts on the home page have more than [...]

I would like it to say something like [ read more]    I checked everyone and could not find how to modify this setting.
Here is a screenshot:

https://screencast.com/t/Qa7HfFZVW
nsitedesignsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul MacDonaldDirector, Information SystemsCommented:
This purports to be a solution to your problem.  The only difference would be to replace the elipsis with your text.

function new_excerpt_more($more) {
    return '[read more]';
}
add_filter('excerpt_more', 'new_excerpt_more');

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nsitedesignsAuthor Commented:
I could not find the original code to replace as referenced in the http://www.ronvangorp.com/how-to-change-wordpress-excerpt-ellipsis/ article.  I have attached my functions file.  Am I missing it?  I am not  used to this coding so maybe it is there but I am not seeing it?  I did check a number of times.
functions.php
0
Paul MacDonaldDirector, Information SystemsCommented:
"I could not find the original code to replace..."
The article says to add the code to the functions.php file.  I presume the add_filter bit causes this code to override the excerpt_more function.
0
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

nsitedesignsAuthor Commented:
My mistake.  I grabbed the second code set (I liked that one better) and put it in my functions file but it didn't make a difference.   I even tried viewing in new private window.  No change.  I attached my functions file.  New code is at the top. Maybe I didn't put this in the right place?  I don't really mess around with php.

function new_excerpt_more($more) {
  return ' <a class="read-more" href="' . get_permalink( get_the_ID() ) . '">Read More</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');

Open in new window

0
Paul MacDonaldDirector, Information SystemsCommented:
I'm not conversant with PHP either, frankly.  I would suggest moving the new code to the bottom of the file however, as it appears to try to replace a call that already exists.  The new code may not work if it fires before the old code it replaces.
0
nsitedesignsAuthor Commented:
That worked!  I put the code at the bottom of the functions file and added a <br> so that the Read More appears on second line.  Not sure if that  is considered ok to do in php but it seems to work!
0
nsitedesignsAuthor Commented:
function new_excerpt_more($more) {
  return ' <a class="read-more" href="' . get_permalink( get_the_ID() ) . '"><br>Read More</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');

Open in new window

0
nsitedesignsAuthor Commented:
thanks!
0
Paul MacDonaldDirector, Information SystemsCommented:
Very happy to help, and thanks for the points.
0
nsitedesignsAuthor Commented:
You are welcome!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.