Posts Tagged: the_excerpt()

0Wordpress LogoMystique 3 Theme: Full-post and Excerpts

I’ve been try­ing to fig­ure out how to dis­play full posts on the home page, and excerpts on all archives for about 3 days.  This is nice because it means a decent amount of each post is shown on the front page, whilst archive pages con­tain a much more con­cise sum­mary of each post.  This is bet­ter both for humans, and also for SEO — my archive pages now don’t have duplic­ate con­tent from my home page!

I’ve finally pro­duced a solu­tion.  It’s not espe­cially eleg­ant, but I’ve been at the very lim­it of my PHP know­ledge just to achieve this meth­od.  This applies spe­cific­ally to the Mys­tique 3 theme, oth­er themes are likely to vary, although some of this inform­a­tion may or may not prove rel­ev­ant.  If you are try­ing or suc­ceed in doing the same to a dif­fer­ent theme do drop a com­ment in.… Read Full Article