It is no use if I switch to the tab text, it is not the first website I make. I know where the problem is. The HTML code contains everything but it is not displayed on the frontend. I have sent you the link: http://redesign.profi-barf-shop.de/kundenstimmen/ and you can see for yourself that it is not taken over. I know that it is because of a setting that comes from Wordpress or the theme itself. Therefore I have sent you the code from my functions.php. This has worked before when I created a timeline with posts, but for the testimonials it didn't work.
This is what it looks like on the testiomial detail page:
# I adjusted the shortocde to show the Testi content in ThemeFTC plugin / shortcode / custom_shortcode.php # you go to Appearance-> Themes and activate theme-child to work
My css in the child folder is now again not interperted. But this time the css has not been deleted and the child theme is also active. What is the reason for that? And where can I change the number myself regarding the testimonials excerpt? Which files did you edit, then I backup them.
I now have another problem. If I now select the testimoial for a post grid, I can't change the last tab. The elements were hidden with css in the plugin js_composer, but if I show them and enter the name of my button there, it does not do this. How else can I change the button text? Or is this a plugin bug?
Ok this is a bit stupid, that this is a mistake of the theme but I have adapted it now. And, as with many other things, it must be adjusted again after an update.
Hi Kevin,
i have a question at the organico theme.
Is it possible to add html or some mark up at the testimonial excerpt page?
I tried something at my child functions.php but it dosen´t works:
function custom_wp_trim_excerpt($text) {
$raw_excerpt = $text;
if ( '' == $text ) {
//Retrieve the post content. $text = get_the_content('');
//Delete all shortcode tags from the content. $text = strip_shortcodes( $text );
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
$allowed_tags = '<p>,<a>,<em>,<strong>,<img>, <br>, <sup>, <sub>, <li>, <b>';
$text = strip_tags($text, $allowed_tags);
$excerpt_word_count = 85; $excerpt_length = apply_filters('excerpt_length', $excerpt_word_count);
$excerpt_end = '[...]'; /*** MODIFY THIS. change the excerpt endind to something else.***/
$excerpt_more = apply_filters('excerpt_more', ' ' . $excerpt_end);
$words = preg_split("/[ ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY);
if ( count($words) > $excerpt_length ) {
array_pop($words);
$text = implode(' ', $words);
$text = $text . $excerpt_more;
} else {
$text = implode(' ', $words);
}
}
return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);
}
add_filter('get_the_excerpt', 'custom_wp_trim_excerpt', 5);
Thanks!
Kind regards,
Martina
Hi Martina!
Hiện tại shortcode hiển thị content của Testi monial đang sử dụng trình chỉnh sửa mặc định củ WP để hiển thị content với giới hạn từ ngữ
# trình chỉnh sửa này bạn có thể chèn html tại tab "Text"
http://prntscr.com/svspbf
thank you
Hi Kevin,
please write in english! I understand nothing.
at the backend is everything correctly. At the frontend it is doesen´t displayed. When I switch at the "text" area html is visible.
It is a post excerpt problem.
Kind regards.
Hi Martina!
Currently the shortcode displays the content of the Testi monial using the WP default editor to display the content with limited words.
# this editor you can insert html at the "Text" tab
http://prntscr.com/svspbf
thank you
Hi Kevin!
Okay, let me explain it again.
It is no use if I switch to the tab text, it is not the first website I make. I know where the problem is. The HTML code contains everything but it is not displayed on the frontend. I have sent you the link: http://redesign.profi-barf-shop.de/kundenstimmen/ and you can see for yourself that it is not taken over. I know that it is because of a setting that comes from Wordpress or the theme itself. Therefore I have sent you the code from my functions.php. This has worked before when I created a timeline with posts, but for the testimonials it didn't work.
This is what it looks like on the testiomial detail page:
http://redesign.profi-barf-shop.de/ftc_testimonial/katrin-loewe/
So you see that I formatted the text, but on the excerpt page it is not interpreted. http://redesign.profi-barf-shop.de/kundenstimmen/
Thanks.
Hi Martina
Please provided your wp-admin account, I will check the details of the problem and help you adjust on the site
thank you
Hi Martina !
Please provide an FTP or Cpanel account so that I can fix the problem of display errors on the site
thank you
Hi Martina !
I have adjusted the display content of Testi, you can check again on the site
thank you
Hi Kevin,
ok thank you it works. Can you say which file do you have change?
That I save this maybe for updates.
Kind regards,
Martina
Hi Kevin,
my child style.css are delete from you! I have upload it again, but it doesen´t interprets.
Can you check this?
Hi Kevin,
I checkt it. You have choose the orginal theme at apperence design and not the child.
Hi Martina !
# I adjusted the shortocde to show the Testi content in ThemeFTC plugin / shortcode / custom_shortcode.php
# you go to Appearance-> Themes and activate theme-child to work
thank you
Hi Kevin,
ok I get it thanks, how can I tell for the testimonials how long the text should be on the excerpt page? At the moment is the full text visible.
Hi Martina !
Please provided your wp-admin account, I will check the details help you adjust on the site
thank you
Hi Martina !
Please provide your FTP account again so I can access and correct the problem on the site
thank you
Hi Martina !
I can not access it, you can provide the full Host, username and password, or provide Cpanel for me to adjust faster now.
thank you
Hi Martina !
I have adjusted the display content of Testi monial, please check again on the site
thank you
Hi Kevin,
My css in the child folder is now again not interperted. But this time the css has not been deleted and the child theme is also active.
What is the reason for that?
And where can I change the number myself regarding the testimonials excerpt?
Which files did you edit, then I backup them.
Thank you
Hi Kevin,
I get my css styles. Can you say which files you changed an where I can say the word lenght for the excerpt?
Hi Kevin,
I now have another problem. If I now select the testimoial for a post grid, I can't change the last tab. The elements were hidden with css in the plugin js_composer, but if I show them and enter the name of my button there, it does not do this. How else can I change the button text? Or is this a plugin bug?
Thanks.
Hi Kevin,
here the picutre with the new problem.
Hi Martina
I adjusted it so that it displays the full information in the item tab
thank you
Hi Kevin,
yes this is ok. Wich file do have change that I can backup this?
And whats whith the button problem? When I change the word read more in "weiterlesen" it doesn´t works.
Hi Martina
Try checking its translation with the WPBakery plugin
thank you
Hi Kevin,
Ok this is a bit stupid, that this is a mistake of the theme but I have adapted it now. And, as with many other things, it must be adjusted again after an update.
But still many Dak for your good and fast help!
Thanks :)
Hi Martina !
thank you, have a good day