Tagged: x
-
AuthorPosts
-
June 11, 2016 at 8:44 am #1037325
c1sParticipantHi,
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!!
June 11, 2016 at 8:44 am #1037326
c1sParticipantThis reply has been marked as private.June 11, 2016 at 8:55 am #1037339
ChristopherModeratorHi there,
Please add manual excerpt, to do so enable ‘Auszug’ from screen options.
Hope it helps.
June 11, 2016 at 10:21 am #1037383
c1sParticipantI’m sorry that didn’t work
June 11, 2016 at 7:16 pm #1037685
RadModeratorHi there,
It’s skin limitation, you should the skin that has read more. For example, the Maren skin.
Thanks!
June 12, 2016 at 3:33 am #1038051
c1sParticipantHi 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!
June 12, 2016 at 3:57 am #1038073
Rue NelModeratorHello 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.
June 12, 2016 at 4:09 am #1038086
c1sParticipantHi,
i added the manual excerpt because of the third post in this thread, however it didn’t change anything..
Thanks
June 12, 2016 at 4:44 pm #1038597
RadModeratorHi 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!
June 13, 2016 at 11:35 am #1039896
c1sParticipantThis reply has been marked as private.June 13, 2016 at 11:39 am #1039904
c1sParticipantThe “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; }June 13, 2016 at 3:59 pm #1040313
JadeModeratorHi 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.
June 14, 2016 at 12:05 am #1040769
c1sParticipantHi there,
i exchanged the code line in the functions.php but still on this blog entry it doesn’t show the “read on”.
Thanks
June 14, 2016 at 6:55 am #1041219
LelyModeratorHi 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.
June 15, 2016 at 12:55 pm #1043654
c1sParticipantHi,
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?
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1037325 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
