how to display an excerpt of the latest post on the homepage?

To show the excerpt from the latest post you can use query_posts. Example Query Posts Showing the Latest Post with the Featured Image: <?php query_posts(‘showposts=1’); ?> <?php while (have_posts()) : the_post(); ?> <h3 class=”home link”><a href=”https://wordpress.stackexchange.com/questions/1575/<?php the_permalink(); ?>”><?php the_title(); ?></a></h3> <?php the_post_thumbnail(); ?> <?php the_excerpt(); ?> <?php endwhile; ?> You will need to reset the … Read more

WordPress in Drupal

If your are trying to make them run independent from each other, your suggestion should work fine. (Assuming you mean “www.mysdrupalsite.com/wordpress/”.) Just make sure you create a separate database for this new wordpress installation. If you have only one database and it is already in use, you can install WordPress in it – just make … Read more

Content management for static pages

In this situation, I’ll typically add meta boxes with new instances of the editor, but it’s not for the faint of heart, that is to say, those not well-versed in php and javascript. If you want a simple solution for multiple editors on a page and don’t mind relying on a plugin, you can achieve … Read more

Advanced templating / WordPress as a CMS questions

You can actually achieve anything with wordpress. But by design, wordpress is not a CMS with a built-in feature that it offers multiple editable areas of which you can classify and manage the content for while being able to configure those in layouts that are understand by the theme. Not even the default one. As … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)