-
-
Hi, where / how to a adjust the setting to allow for a longer staff bio?
See the bios on this page, they are cutting off:
https://innovopro.com/about-us-2/
-
Hello,
You have “Comming Soon” mode on so i can not see the page. However, please go to file vc_templates/staff.php and find this line:
$output .= '<p>'.codeless_text_limit(get_the_excerpt(), 25).'</p>';
Number 25 is the limit of words to display. Increase it to your wish and save changes.
Refresh page.
Let us know.Best regards!
-
-
Hi, I’m still having trouble with this. I think something changed with the latest update.
I’ve changed the code as you suggested in the staff.php file, but it still won’t let the bios be more than about 50-60 words in length.
See how the text cuts off on the bottom 2 bios on this page: https://innovopro.com/about/
thanks.
-
Hello,
Can you please send us some valid wp credentials in a private reply? So we can give it a closer look.
Best regards!
-
-
Hello,
In file vc_templates/staff.php in the child theme i edited out this line:
$output .= '<p>'.codeless_text_limit(get_the_excerpt(), 90).'</p>';
to this:
$output .= '<p>'.codeless_text_limit(get_the_content(), 190).'</p>';
The text shows up all now.
Best regards!
-
Thank you. I did that yesterday myself. I tried the number 200.
Can you think of any reason why it wouldn’t work with 200?
-
Hello,
The difference is not in the number, but in the function. I changed
get_the_excerpt()
toget_the_content()
. We were increasing the excerpt number of words, while you were adding(showing) content instead.Let us know if you need further help.
Best regards!
-
OK, thanks for explaining. I thought I was going crazy. Guess not.
I really appreciate the timely and efficient support.
-
You must be logged in to reply to this topic.