Jayj.dk

Menu

Skip to content
  • Blog
  • WordPress
  • Themes
  • Plugins
You are here: Home / WordPress / Kommentarer på forsiden
By Jesper Johansen

Kommentarer på forsiden

Please note: This is an old post. The information is probably not accurate and up-to-date anymore.

Hvis du ønsker, at give dine besøgende mulig for at kommentere på indlæg direkte på forsiden i WordPress, så er det ikke nok bare, at indsætte comments_template();
i index.php. Du bliver nødt til at indsætte $withcomments = true;, før det virker.

<?php
$withcomments = true;
comments_template(); // Hvis dit tema har comments_template( '', true ); i single.php skal du indsætte det i stedet
?>

Det er i mange tilfælde ikke det smarteste at have kommentarer på forsiden, men i nogle tilfælde kan det være en smart idé.

Posted in WordPress on July 29, 2010

Related Posts

  • Youtube Profile Field 3.1
  • Grid Columns Media Button WordPress plugin
  • Multiple Select Lists in the Theme Customizer
  • Youtube Profile Field updated to version 2.2

Post navigation

← Previous Post
Next Post →

Popular Posts

  • A free HTML5 and CSS3 theme
  • HTML5 Theme Updated to Version 2.0
  • Create a custom “Download” post type using WordPress
  • Cakifo, a Free WordPress theme
  • Japibas – Free Premium WordPress Theme
  • Multiple Select Lists in the Theme Customizer

Categories

  • WordPress
  • Updates
  • News
  • Web
  • Themes
  • Uncategorized

You can also find me on:

Powered by WordPress and Hybrid Core.

  • Twitter
  • Github
  • WordPress.org
  • LinkedIn