Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1037325
    c1s
    Participant

    Hi,

    my last blog entry doesn’t show a “read on” in The Grid, and I unfortunately i cannot find the reason. I tried altering the number of words of the excerpt in Customizer, but that didn’t work. Also, inserting a “read on” tag inside the text didn’t. Could you please help?

    Thanks very much!!

    #1037326
    c1s
    Participant
    This reply has been marked as private.
    #1037339
    Christopher
    Moderator

    Hi there,

    Please add manual excerpt, to do so enable ‘Auszug’ from screen options.

    Hope it helps.

    #1037383
    c1s
    Participant

    I’m sorry that didn’t work

    #1037685
    Rad
    Moderator

    Hi there,

    It’s skin limitation, you should the skin that has read more. For example, the Maren skin.

    Thanks!

    #1038051
    c1s
    Participant

    Hi there,

    the problem I have, is that there is no “read on” in only one specific blog entry and I don’t know how to change that. It’s not a skin limitation because the other entries to have the “read on”. Please see the picture for a better understanding.

    Thanks!

    #1038073
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! The “Read On” link is not present because you have added a manual excerpt on that post. By default, WordPress will no longer display the “read more” link when there is a manual excerpt. To resolve your issue, simply edit that post and remove the manual excerpt.

    And if you are using CloudFlare or may have installed a caching plugin like WordFence, W3 Total Cache or WP Super Cache, please keep in mind that after doing every updates or making any changes in your site, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

    Please let us know how it goes.

    #1038086
    c1s
    Participant

    Hi,

    i added the manual excerpt because of the third post in this thread, however it didn’t change anything..

    Thanks

    #1038597
    Rad
    Moderator

    Hi there,

    Yes, I just checked and manual excerpts are now removed but still the same. I also noticed that the active skin doesn’t have Weiterlesen…. It’s not native to that skin, as you’ll notice there is already before that word. It’s added in a different way.

    The reason why the first item doesn’t have that wording since it’s added incorrectly,

    <a href="http://doc.or.at/blog/baublog/ein-ausblick-in-die-zukunft/" ...</p>

    I like to understand how you added them since they are not native to the skin. I also saw elements hidden by CSS, hence, your grid is already customized. Is there any code customization you added other than the CSS?

    With your existing code from here

    function x_excerpt_string( $more ) {
        
        $stack = x_get_stack();
    
        if ( $stack == 'integrity' ) {
         return ' ... <div><a href="' . get_permalink() . '" class="more-link">' . __( 'Weiterlesen', '__x__' ) . '</a></div>';
        } else if ( $stack == 'renew' ) {
          return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Weiterlesen', '__x__' ) . '</a>';
      } else if ( $stack == 'icon' ) {
          return ' ...';
        } else if ( $stack == 'ethos' ) {
          return ' ...';
        }
    
      }
      add_filter( 'excerpt_more', 'x_excerpt_string' );
    

    Try changing this line :

    return ' ... <div><a href="' . get_permalink() . '" class="more-link">' . __( 'Weiterlesen', '__x__' ) . '</a></div>';

    to this,

    return ‘ … ‘ . __( ‘Weiterlesen’, ‘__x__’ ) . ‘‘;

    Thanks!

    #1039896
    c1s
    Participant
    This reply has been marked as private.
    #1039904
    c1s
    Participant

    The “function” code you inserted in the post above is from the child theme’s function.php

    The CSS I have for the skin is:

    /*THE GRID Hide Footer*/
    .panama .tg-item-footer {
      display: none !important;
    }
    
    /*THE GRID Colors*/
    .Panama-grid .quote-format h2:hover a,
    .Panama-grid .link-format h2:hover a {
    	color:#27446c !important;
        opacity: 1;
    }
    
    /*THE GRID TITLES*/
    .tg-item-title a {
    	font-size: 18px !important;
    	color: black !important;
    }
    .tg-item-excerpt {
        font-size: 14px !important;
        color: #7b7658 !important;
    }
    #1040313
    Jade
    Moderator

    Hi there,

    Apologies for that. The code you should change it to should be:

    return ' ... <a href="' . get_permalink() . '">' . __( 'Weiterlesen', '__x__' ) . '</a>';

    Let us know how it goes.

    #1040769
    c1s
    Participant

    Hi there,

    i exchanged the code line in the functions.php but still on this blog entry it doesn’t show the “read on”.

    Thanks

    #1041219
    Lely
    Moderator

    Hi There,

    Upon checking, the closing ( >) is still missing. See attached screenshot. If the code above was implemented already, please try to clear cache. We might be seeing cache content.

    Hope this helps.

    #1043654
    c1s
    Participant

    Hi,

    i don’t have a cache plugin installed – do I have to install a plugin to clear anything (cache)? I tried to install “WP Super Cache” and “W3 Total Cache”, but both installations didn’t work.

    In the meantime I also tried to change the “type” of the blog entry to “link” – unfortunately this produces an error message, see attached screenshot. Could there be a connection to the missing “>” sign?

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