Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1110348
    rothbardian
    Participant

    Hello,

    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,
    RG

    #1110598
    Rue Nel
    Moderator

    Hi 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.

    #1120977
    rothbardian
    Participant

    Hello,

    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

    #1121009
    Thai
    Moderator

    Hi 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 Account

    Don’t forget to select Set as a private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1121495
    rothbardian
    Participant
    This reply has been marked as private.
    #1121519
    Lely
    Moderator

    Hi 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.

  • <script> jQuery(function($){ $("#no-reply-1110348 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>