Tagged: x
-
AuthorPosts
-
February 28, 2017 at 9:14 am #1388851
carlmansson92ParticipantHey!
I installed the child theme and added the following code to the buttom of my child themes functions.php but it only makes the read more text to dissappear in my post tab.
Is there anyway to translate all the blog elements to another language like link title tags and everything / comments etc.
Also when making edits in a child theme, is the child theme always supposed to be the active theme from that point to have those changes implemented?
if ( ! function_exists( 'x_excerpt_string' ) ) : function x_excerpt_string( $more ) { $stack = x_get_stack(); $excerpt_string = get_post_meta ( get_the_ID(), 'excerpt_string', true ); $excerpt_string = !isset( $excerpt_string ) && empty( $excerpt_string ) ? 'Läs mer' : $excerpt_string; if ( $stack == 'integrity' ) { return ' ... <div><a href="' . get_permalink() . '" class="more-link">' . __( $excerpt_string, '__x__' ) . '</a></div>'; } else if ( $stack == 'renew' ) { return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( $excerpt_string, '__x__' ) . '</a>'; } else if ( $stack == 'icon' ) { return ' ...'; } else if ( $stack == 'ethos' ) { return ' ...'; } } add_filter( 'excerpt_more', 'x_excerpt_string' ); endif;February 28, 2017 at 10:31 am #1388965
ThaiModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link login to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1388851 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
