Forum Replies Created
-
AuthorPosts
-
ok, number one above worked for me as well, thanx!!!
what is the difference between the two codes?
cause the answers are private.
thanx so much!
stefan
September 15, 2014 at 1:02 pm in reply to: Cut excerpt off at more tag instead of using word/character count #319156Hi Ismael!
On my page that tip doesn’t work. And I can’t use Marc’s solution, becaue my 300 Posts have no excerpt area filled out. But I use “More Tags”. So my Problem: Cut off the text an the <!–more> Tag
I allredy had a solution but thats not working any more with theme updates. It came from here: https://kriesi.at/support/topic/bug-no-post-intro-via-more-tag-ist-shown-when-using-avia-layout-builder/#post-219225
summery from that former solution, the code is:
add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1); function avia_category_content_filter($current_post) { if(!is_single()) { $current_post['content'] = get_the_excerpt(); $current_post['content'] .= '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>'; } return $current_post; }
So, it works here: http://www.schwarzwaldgeier.de/uebersicht-news/
But not when the blog sections made by avia layout builder like Startpage (and formerly that worked): http://www.schwarzwaldgeier.de
What can I do?
Thanx so much for helping us.
Stefan
Hi!
Thanx, have the same problem, in Blog and category-overview the text as teaser should be till the <!–more–> Tag.
I solved this in earlyer with some code, but now that wont work any more:
What can I do?
Thanx!
Stefan
Hi Peter!
I see this is complicated with 404 pages, but your info helped me. Thanx a lot!
Stefan
thanx devin, not what I expected but it seems that you can’t do anything from the theme-team due to wordpress issues…
- This reply was modified 10 years, 8 months ago by simpson199.
Hi Josue!
Didn’t word. The example ist:
This php:
http://wp1.gsvbaden.de/_extphp/olc2008merkurall.phpis included here:
http://wp1.gsvbaden.de/2008/02/26/alle-fluege-vom-merkur/
I included your code with the postid 147, but the width in the page is not that width like the picture above.
any idea?
Thanx a lot!
Stefan
February 27, 2014 at 7:48 pm in reply to: Bug: No Post-Intro (via more-tag) ist shown when using AVIA Layout Builder #230235Thanx Dude, I gonna try this and tell if it worked… Nice support anyway.
February 13, 2014 at 3:15 pm in reply to: Bug: No Post-Intro (via more-tag) ist shown when using AVIA Layout Builder #223451Thanx Peter and Josue!
The last code didn’t work in any way, gives serveral new hard errors. Twice intros on the frontpage and crzay stuff on the masonry category view.
Suggestion: I know it’s hard to make support without have a look. The Code that worked best was the modified one before: Post view via the layoutbuilder ok (did make the right things with the more-tags) – but the “Masonry Category View” crashed.
Look: Frontpage ok wp1.gsvbaden.de,
Masonry Category View not: http://wp1.gsvbaden.de/uebersicht-news/
The Code this far
add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1); function avia_category_content_filter($current_post) { global $avia_config; global $more; $more_bak = $more; if(!is_single()) { $more = 0; $current_post['content'] = get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>'); $more = $more_bak; } return $current_post; }
Thanx :-)
Stefan
- This reply was modified 10 years, 9 months ago by simpson199.
February 7, 2014 at 1:29 pm in reply to: Bug: Blog-Pictures have a white frame around them when using background-image #220864HiYigit!
On the testsystem (just setup and enfold enabled) it’s the same bug with the white around the pictures.
It’s only in the Blogs-Overviews, not in the Page-Overviews. I make 2 of both on the testsystem to demontrate.
Thanx,
Stefan
- This reply was modified 10 years, 9 months ago by simpson199.
February 7, 2014 at 11:45 am in reply to: Bug: Blog-Pictures have a white frame around them when using background-image #220850Thanx Yigit!
You can see it on http://wp1.gsvbaden.de/
I switch the bg image on for you. So you can see the white frame around. I tried disabling all plugins but the error is still there.
Can you also tell me why there is no enfold-footer (I turned everything on and the footer-menues have widgets. But there is some kind of crazy footer. Or shell I bether make new Threat? I also disabled every plugins for test purpose, but the wrong footer is still there…Thanx for your great support,
Spims
- This reply was modified 10 years, 9 months ago by simpson199.
February 4, 2014 at 4:51 pm in reply to: Bug: No Post-Intro (via more-tag) ist shown when using AVIA Layout Builder #219463Thanx Peter,
Now the Intro text is good in the Blog view in a page from the layoutbuilder. Cool :-)
But (sorry ;-) ) other overviews like the “Masonry Kacheln”, that shows pictures and intros too, now shows html rubish…
Again an idea? I would screenshot it but here is no options for screenshots…
Greets & Thanks!
Stefan
- This reply was modified 10 years, 9 months ago by simpson199.
February 3, 2014 at 5:59 pm in reply to: Bug: No Post-Intro (via more-tag) ist shown when using AVIA Layout Builder #218891Thanx Peter!
Sorry, but now the whole text of the article is shown on the startpage. The <!–more–> is still ignored on a side made with Avia Layout Architect :-/
But I need the <!–more–> Tag Feature…
Greets Stefan
January 29, 2014 at 11:53 am in reply to: Bug: No Post-Intro (via more-tag) ist shown when using AVIA Layout Builder #216325Thanx Peter!
I copy pasted it from here to the end of the file
/wp-content/themes/enfold/functions.php (which is original file)
but the side then is down (white). Has there to be a special place within the file to paste the code?
Greets
Stefan
-
AuthorPosts