obtenir wordpress poste par poste titre

je suis en utilisant ce code pour afficher les messages wordpress dans un site web externe:

<?php
require('wp_blog/wp-blog-header.php');

    if($_GET["p"] > '') { ?>

    <?php query_posts('p='.$_GET["p"].''); ?>
    <?php while (have_posts()) : the_post(); ?>
        <h4><?php the_title(); ?></h4>
        <?php the_content(); ?>
    <?php endwhile; ?>
    <?php } else { ?>

    <?php
    $posts = get_posts('numberposts=10&order=ASC&orderby=post_title');
    foreach ($posts as $post) : setup_postdata( $post ); ?>
        <?php the_date(); echo "<br />"; ?>
        <?php the_title(); ?>    
        <?php the_excerpt(); ?> 
    <?php endforeach; ?>

    <?php } ?>

plutôt que de sélectionner le post en fonction de l'ID, comment puis-je faire, sélectionnez le poste basée sur le titre du post?

InformationsquelleAutor user2710234 | 2014-01-10