Display full blog posts
This support request was posted in BBQ by lauramanney
- lauramanney February 23, 2013 at 5:44 pm
Hi,
I have 3 questions:
1. Is there a way I can display the full posts on my blog page instead of excerpts?
2. Can I disable the posts linking to their own pages?
2. If not … how can I add padding around the individual blog page content area? I’ve done it on the main page with this code, but that doesn’t effect the post pages.
body.page-template-template-blog-php #container{
padding-right: 10px;
padding-left:10px;
padding-top: 20px;
}thanks!
LauraJuanfra Aldasoro February 23, 2013 at 10:02 pmHi Laura,
I hope you’re well. Regarding your questions:
1. You can edit the file template-blog.php for that. Replace this line
< ?php nice_excerpt( 400 ); ?>
With this one:
< ?php the_content(); ?>
2. You can edit the file template-blog.php and replace this line:
" rel="nofollow">" rel="bookmark" title="< ?php printf( __( 'Permanent Link to %s', 'nicethemes' ), get_the_title() ); ?>">< ?php the_title(); ?>
with this one:
< ?php the_title(); ?>
Best,
Juan.lauramanney February 23, 2013 at 10:28 pmoh dear. this doesn’t look right now http://www.manneydesign.com/newsitebuild/special-events/
lauramanney February 27, 2013 at 11:58 pmHi Juan,
I’ve tried your code replacements two times to make sure im not doing something wrong and its not working. can you please check it again and take a look at my page? thanks so much
http://www.manneydesign.com/newsitebuild/special-events/
Laura
Juanfra Aldasoro February 28, 2013 at 12:03 amHi Laura,
You need to edit your template with a text editor – please don’t use Dreamweaver on designer mode or something similar because it will convert the html characters.
Best,
Juan.lauramanney February 28, 2013 at 12:21 amI just tried that twice, and i still get the same results http://www.manneydesign.com/newsitebuild/special-events/ . i used text editor. Previously i wasnt using dreamweaver, but i was editing it within wordpress. this time i deleted the old off the backend, edited the new in text edit and uploaded it. are you sure the code is right?
http://www.manneydesign.com/newsitebuild/special-events/Juanfra Aldasoro February 28, 2013 at 12:25 amHi Laura,
Thanks for writing back. Would you send me your FTP details. I’m sure the code is right, the problem is that is not inserted the right way, so it’s not processing the php – it’s taking it as html.
Juan.
Juanfra Aldasoro February 28, 2013 at 12:41 amLaura thanks for the information. As it is a public forum I’ve edited your comment with the information. I forgot to mention to send the info to support@nicethemes.com
I’ll go through your files and I’ll come back to you when updated.
Best,
Juan.lauramanney February 28, 2013 at 12:43 amthank you so much! yes, i was wondering about the public factor 🙂
Juanfra Aldasoro February 28, 2013 at 12:50 amHi Laura,
No worries 🙂 I’ve edited your template and everything should be working fine now. I’m really sorry about the inconvenience.
Best,
Juan.lauramanney February 28, 2013 at 2:22 amYou’re the best, Juan! thanks.
one last thing, how can i remove the duplicate image on the blog posts?
Juanfra Aldasoro February 28, 2013 at 1:20 pmHi Laura,
No worries. 🙂
The blog template use the featured image on each post. It seems that you also inserted that image on the content. You should remove it from the content.
Best,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.