Warning: include(/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include(/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include(): Failed opening '/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include_once(/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 82

Warning: include_once(): Failed opening '/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
O functie folositoare ! « BrainHost Blog

O functie folositoare !

Citind ce mai spun oamenii pe Twitter am descoperit un website folositor. Cei care doresc sa invete cateva lucruri esentiale despre WordPress pot vizita Blogshot.

O functie foarte utila ce am gasit acolo era legata de posibilitatea vizitatorilor de a comenta in paginile unui blog. Majoritatea din temele gratuite nu sunt facute default sa permita adaugarea comentariilor intr-o pagina.

Pentru a da posibilitatea vizitatorilor sa adauge un comentariu intr-una din paginile create pentru prezentarea autorului, sau pentru orice alt lucru trebuie sa faceti urmatorul pas:

Deschideti page.php localizata in folderul temei pe care o folositi pe blog si dupa functia

<?php the_content(); ?>

introduceti urmatoarea functie

<?php comments_template(); ?>

Simplu nu? Asa mi s-a parut si mie, insa nu oricine stie acest lucru, de aceea am decis sa il scot mai in fata :).

Sper sa va fie folositor acest articol.

Leave a Reply

Your email address will not be published. Required fields are marked *

*