Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Would like to make each blog post an excerpt and 2 other question WordPress

  • SOLVED

Hey there,

Website is www.vickisimpson.com

My client would like to make each blog post on her website an excerpt (e.g, a snippet with 'Read More' at the bottom). This needs to be both on the home page and blog page. (same blog).

Also, I have a plugin called shareaholic which I'd like to configure to show up on the home page as well as the blog page. However when I try to do this in settings, In order for me to have it show up on the blog page I have to check 'Pages' which makes it show up on every page. I just want it to show up on the blog page and the home page.

I'd also like to make the grey space between the top banner and the top of the page thinner. Probably half the width.

If someone could help me out that would be great!

Kate

Answers (4)

2013-01-25

Kiet Luong answers:

we need change css to made the grey space between the top banner and the top of the page thinner.
config shareaholic include css to show up on the home page and the blog page.

Regards !


Kiet Luong comments:

I will do it for you

2013-01-25

Jatin Soni answers:

Instead of the_content() use the_excerpt() in the loop for home and blog page. It will display only excerpt. If you are not using post thumbnail in the loop and want than use the_post_thumbnail() to display thumbnail with excerpt.

Check this:
http://codex.wordpress.org/Function_Reference/the_excerpt
http://codex.wordpress.org/Function_Reference/the_post_thumbnail


Kate Hernandez comments:

where do i do this?


Kate Hernandez comments:

where do i do this?


Jatin Soni comments:

It should be done within the loop. Find while(the_post()) something similar code and in that you will find the_content() replace it with the_excerpt(). You can use search function to find the code.

2013-01-25

Arnav Joy answers:

for home page you can use

if( is_home() ){

//your code
}

and for page you can check it as:-

if( is_page($Page_id) ){
// your code
}

2013-01-25

Rowela Alzona answers:

Not sure what theme you are using but if you can find your index.php, or post.php or content.php open it end edit few lines.

Find something similar lines like this.


<?php the_content(); ?>


change it to :


<?php the_excerpt('Read more...'); ?>


That should work.