I'm starting a reviews website and at the moment I have, as standard, my post excerpts on the main index page.
I was wondering if anyone knows of a way in which I can add a link (preferably a button) at the bottom of each post excerpt on the index page in which the viewer can go straight to the site I'm reviewing, without reading the post?
I'd like the post heading to go to my article, but a button at the bottom to go to said website that's being reviews, saying something along the lines of "Go to Site"
For example:
- Site 1 Name: Review
- Post excerpt here...read more
External Link to site 1 (as a button).
Site 2 Name: Review
- Post excerpt here...read more
- External Link to site 2 (as a button).
If it can be done by plugin, then I'm OK with that. I'm also OK with editing the code of my site should that be the only way to achieve this.
Theme is Codilight-lite if this helps in any way, shape or form.
If anyone can help, that would be amazing.
Many thanks
add_filter( 'the_excerpt', function ( $excerpt ) { return $excerpt . " more stuff for the excerpt." } );