Tagged: x
-
AuthorPosts
-
April 17, 2016 at 3:59 am #886573
jjwikselaarParticipantHi,
I’ve seen more conversations about this topic, but I don’t get it working.
On the page http://www.vanbeusekomvastgoed.nl/aanbod/
I have posts with a featured image. If you hover over it is shows the text ‘View Post’.
I’d like to change (or remove) this text.Thanks in advance!
JJApril 17, 2016 at 12:46 pm #886986
ThaiModeratorHi There,
To change this text, please add the following code under functions.php file in your child theme:
add_filter('gettext', 'x_translate_text' , 20, 3); function x_translate_text ( $translated_text, $text, $domain ) { $translation = array ( 'View Post' => 'Your new text' ); if( isset( $translation[$text] ) ) { return $translation[$text]; } return $translated_text; }To remove it, please add the following CSS under Customizer > Custom > Global CSS:
a.entry-thumb .view { display: none; }Hope it helps 🙂
April 18, 2016 at 3:06 pm #888884
jjwikselaarParticipantThat works perfect!
Thanks a lot!Cheers,
JJApril 19, 2016 at 3:01 am #889486
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-886573 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
