It depends upon what page you want to change. And you need to be looking for the_excerpt(); and replacing it with the_content();.
Thread Starter
BennoH
(@bennoh)
I want to change the home page… i.e. the page where posts from the dashboard are displayed.
Then try editing the theme’s index.php template file.
Thread Starter
BennoH
(@bennoh)
Thanks esmi, but it isn’t there… All that is in index.php is
[Code moderated as per the Forum Rules. Please use the pastebin]
Try looking in post-entry.php.
Thread Starter
BennoH
(@bennoh)
The closest I can find there is the_news_excerpt. Is this it maybe? Allthough, when I just tried to change this, it reverted some posts on the homepage back to an old version(Changed the alignment from left to center).
Thread Starter
BennoH
(@bennoh)
To be honest esmi, I have scoured all of the templates and cannot find that line of code anywhere. Might it be written a different way?
Is there a post.php file?
Thread Starter
BennoH
(@bennoh)
No, just post-entry.php or single.php
Then look in post-entry.php
Thread Starter
BennoH
(@bennoh)
I looked there also, the closest thing I could find was the_news_excerpt, and changing this didn’t change anything, except reverted my posts from being left aligned, to being center aligned. I am trying to show the whole post, and remove the ‘read more’ link on minimal xpert theme.
Next you need to find the the_news_excerpt() function in the theme’s functions.php file.
Thread Starter
BennoH
(@bennoh)
I cannot find the_news_excerpt() in function.php. And having changed the post-entry.php I am now getting a fatal error
‘Fatal error: Call to undefined function the_news_content() in /home/bennoh/public_html/wp-content/themes/minimal-xpert/post-entry.php on line 13’
on my site