Afficher les commentaires dans une box. (Créer un compte)

  • Statut : non résolu
2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #460851
    ClicClac
    Participant
    Padawan WordPress
    73 contributions

    Bonjour,

    Je cherche à afficher les commentaires dans une box (Thickbox, si possible, que j’utilise par ailleurs).
    Si qq’un a une idée…

    Ma configuration WP actuelle
    – Version de WordPress : 2.5.1

    #635697
    ClicClac
    Participant
    Padawan WordPress
    73 contributions

    En fouillant dans différents thèmes, j’ai trouvé ça:

    single_comments.php




    get_results(‘SELECT * FROM ‘.$wpdb->comments.’ WHERE comment_post_ID =  ».$post->ID. » AND comment_approved = ‘1’ ORDER BY comment_date’);


    if ($comments) :
    ?>
    <ol class="commentlist">



    <li class=" » id= »comment-« >


    <b></b> dit :
    comment_approved == ‘0’) : ?>
    <em>Votre commentaire est en attente de modération.</em>

    <br />
    <small class="commentmetadata"><a href="#comment- » title= » »> à </a> </small>
    <br /><br />

    </li>


    </ol>
    <!-- end of inline comments //-->

    que j’appelle par

    ?php if ($post->comment_count > 0 ) { ?>
    (<a class="thickbox" title="Commentaire" href="/single_comments.php?p=KeepThis=true&TB_iframe=true&height=600&width=400″></a>)

    Ca marche bien, sauf que je n’arrive pas à avoir ma feuille CSS du thème dans la thickbox.

2 sujets de 1 à 2 (sur un total de 2)
  • Le forum ‘Utilisation spécifique de WordPress’ est fermé à de nouveaux sujets et réponses.