First undo all the changes you did to this theme. It’d be best to delete and reinstall this theme.
Then edit the content.php file alone, find the following lines
<?php if(strlen(get_the_title()) >= 87)
echo substr(get_the_excerpt(), 0,120)."....";
else if(strlen(get_the_title()) >= 40)
echo substr(get_the_excerpt(), 0,150)."....";
else
echo substr(get_the_excerpt(), 0,195)."...."; ?>
Comment them or delete them and use the_content() function
<?php the_content();
/*if(strlen(get_the_title()) >= 87)
echo substr(get_the_excerpt(), 0,120)."....";
else if(strlen(get_the_title()) >= 40)
echo substr(get_the_excerpt(), 0,150)."....";
else
echo substr(get_the_excerpt(), 0,195)."....";*/ ?>
If you update the theme all these changes will be overwritten so I suggest you do this on a child theme.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Then edit the content.php file alone, find the following lines
Just to re-iterate jesin’s advice at the end: make a child theme first, activate it, and then make a copy of content.php
into the child theme directory.
Then you can safely edit that copy.
Thread Starter
omid23
(@omid23)
my friend Jesin
thank you so much!!!!!
The problem is completely solved.
People like you are rare that help others Without asking any money.
sādara artha
You’re most welcome 🙂
Please mark this thread as resolved so that it’ll be helpful to others too.
@Jesign
I Really Appreciate you for providing help on my theme. Thank you very much.
Always happy to help Rohit. I learn a lot about wordpress theme designs each time I help someone.
Ummm you’ve added a g
to my name (^0_0^)