Tagged: x
-
AuthorPosts
-
July 30, 2016 at 2:53 pm #1110348
rothbardianParticipantHello,
I’d like to know how I can permit hyperlinks to appear in my post previews without editing the php file (unzipping in order to edit a php file on a chromebook is the opposite of fun). I have installed the child version of X, if that matters.
“Version 4.5.3” appears in the lower right corner of my dashboard.
My website experience/knowledge is approximately nil, and that is unlikely to change. So please excuse the remedial nature of the request.
My URL is rothbardian.com, but it isn’t live yet.
Thanks,
RGJuly 30, 2016 at 10:10 pm #1110598
Rue NelModeratorHi RG,
Thanks for writing in! Regretfully your site is under construction mode and we cannot check your site.
For the meantime, please insert this following code in your child theme’s functions.php file.
// Custom read more link // ============================================================================= function x_excerpt_string( $more ) { $stack = x_get_stack(); if ( $stack == 'integrity' ) { return ' ... <div><a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a></div>'; } else if ( $stack == 'renew' ) { return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a>'; } else if ( $stack == 'icon' ) { return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a>'; } else if ( $stack == 'ethos' ) { return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a>'; } } add_filter( 'excerpt_more', 'x_excerpt_string' ); // =============================================================================Hope this helps.
August 7, 2016 at 10:48 am #1120977
rothbardianParticipantHello,
I tried adding this to the functions.php file of the child version of my theme. I installed it. This was successful. Upon activating it, I now get an error message (see attachment). The same error message comes up when I type in my URL.
What to do now?
Thanks,
RG
August 7, 2016 at 11:35 am #1121009
ThaiModeratorHi There,
In this case, 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 AccountDon’t forget to select Set as a private reply. This ensures your information is only visible to our staff.
Thanks.
August 7, 2016 at 9:23 pm #1121495
rothbardianParticipantThis reply has been marked as private.August 7, 2016 at 9:51 pm #1121519
LelyModeratorHi There,
Since we cannot access of your site at the moment, please do check in first with your hosting provider regarding this issue. You may also check this link:http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/. FTP account is an access to your server that given by your hosting provider. Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1110348 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
