March 24, 2011 at 10:43 am #3601
Loved this theme. Just about setting it up. The hassle am facing is that the main blog page is showing the list of blog posts with the entire blog content on it. I’d like to know how only a paragraph can be shown and can have a ‘read more’ button for the users to go to a particular post to read the entire content.
Appreciate a response on this.
Sand.March 25, 2011 at 6:08 am #42989
open up loop-index.php (located in the folder “includes”) and search for following code:
Replace it with:
the_excerpt();March 25, 2011 at 7:37 am #42990March 26, 2011 at 5:09 pm #42991March 27, 2011 at 6:59 pm #42992
I can not find this anywhere! There is no includes from the wp admin so I went to cpanel and found wp-includes from my ftp files but then when I search for loop-index it couldn’t find it in any of my files so I went back to the wp admin and searched through all of the php editor and couldnt find it…..
Please help, maybe more detailed instructions.
BryceMarch 27, 2011 at 8:05 pm #42993
the includes folder is in the Broadscope main directory. Go to wp-content > themes > Broadscope > includesMarch 27, 2011 at 9:51 pm #42994
In my cpanel? I went to wp-content > themes> but then no broadscope….. So you have to be talking about the from the cpanel files right? Sorry but im still kinda new to this.March 28, 2011 at 5:11 am #42995March 28, 2011 at 2:21 pm #42996March 29, 2011 at 10:18 am #42997
In Display the syntax is slightly different but the same code to change.
Using a text editor (such as Text Edit or Notepad but NOT Word) open up template_blog.php and around line 85 change this code:
JamesApril 14, 2011 at 2:59 pm #42998
I have the same problem, all my archive, blog pages have the entire post and no read more buttons. I have installed this theme (habitat) twice, once locally, no problems nad readmore button is there and once on the live site and no read more buttons. I have looked my hardest for these two files mentioned above with no luck :-(
any other thoughts?
DarrenApril 15, 2011 at 5:11 am #42999
Habitat uses this code in archive.php and index.php
the_content('<span>'.__('Read more','habitat').'</span>'); ?>
the_excerpt();May 24, 2011 at 1:13 am #43000
Using the Display theme when switching from the “the_content(‘Read more’);” to “the_excerpt();” On the blog page it only displays two sentences of the blog and doesn’t provide the “Read More” button.
Is it possible to allow it display a whole paragraph of text and then place the “Read More” button after the excerpt on the blog page?
The topic ‘Blog main page showing the entire post.’ is closed to new replies.