Jump to content

[RESOLU]titre cliquable


Recommended Posts

Bonjour,

 

je cherche depuis pas loin d'un heure mais je n'ai pas trouvé comment faire !

 

Voila j'aimerai rendre le titre de mes article cliquable(quand on clique dessus l'article s'ouvre)

 

voici ce que j'ai :

<!-- display title -->
<h1>{l s='Tous les articles' mod='plblog'}</h1>
<!-- /display title -->
<!-- display post list -->
{if $pl_postes_empty == 0}
{foreach from=$pl_post_list item=post}
 {$l = $plTools->getPostLink($post['id_pl_blog_post'], $post['link_rewrite'], $post['id_pl_blog_category'])}
 {$count_comment = $plTools->getCountComment($post['id_pl_blog_post'])}
 {$post_content = $plTools->substr($post['post_description'], 0, 1000)}
  <!-- post -->
  <div id="plpost">
<div class="pltitle">

<div class="pltitle"><h2>{$post['post_title']}</h2></div>



</div>
<div class="pl_info_post">
 <div class="plcount_comment">{$count_comment}{if $count_comment > 1} Comments{/if}{if $count_comment <= 1}{l s='Commentaire' mod='plblog'}{/if}</div>
 <div class="plauthor">{$post['post_date_create']}</div>
 <div class="plclear"> </div>
</div>
<div class="plpost_content"><p>{$post['post_description']|strip_tags|truncate:{$pl_b_summary_character_count[spam-filter]</p></div>
<div class="plread_more"><a href="{$l}">{l s='Lire plus' mod='plblog'}</a></div>
  </div>
  <!-- /post -->
{/foreach}
{/if}
{if $pl_postes_empty == 1}
{l s='There are no posts' mod='plblog'}
{/if}
<!-- /display post list -->

 

 

 

 

 

C'est le h2 que voudrai rendre cliquable mais je ne vois pas comment.

 

Merci de votre aide.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...