This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Read More buttons

Jason Bobich


There are really so many different ways someone could accomplish these different things. I think adding these kind of options would sort of muck up the simple code that is already there that people have to work with from their Child theme, and make things overall more complicated. What you’re asking sounds pretty specific to what your’re trying to do, which is totally fine; so let’s talk about your options.

And actually there is already a plugin out there that allows the user to change any text string in the theme, which may interest you:

To edit how a post looks in a post grid, you’d simply copy content-grid.php to your Child theme and edit that simple file. —

1) How can I hide the Read More buttons after each post in my portfolio?

You’d simply delete this part in content-grid.php:

<?php echo themeblvd_button( themeblvd_get_local( 'read_more' ), get_permalink( get_the_ID() ), 'default', '_self', 'small', 'read-more', get_the_title( get_the_ID() )  ); ?>

2) Is there a way that I can change the text on the Read More button to say “View Site” and have it link to the website that the image represents. There is a way to link the image to a website, so I wonder if I could use that link and put it in a button rather than on the image.

Or in the themeblvd_button function you could pass in your own display text and your own URL that you collect somehow from the user. Maybe you could do this through a custom field? That’d be one idea.

<?php echo themeblvd_button( 'My Button Text', get_post_meta( get_the_ID(), 'your_custom_field_id', true ), 'default', '_self', 'small' ); ?>

Additionally, here are how you could tap into some of the options already there in your Post Options box:

get_post_meta( get_the_ID(), '_tb_thumb_link', true )
get_post_meta( get_the_ID(), '_tb_image_link', true )
get_post_meta( get_the_ID(), '_tb_video_link', true )
get_post_meta( get_the_ID(), '_tb_external_link', true )