How to Make Comments Show In PopUp Window In Wordpress

The pligg customization is done so onto wordpress for joinmyblue.com

Making comments show in a popup window will require the following code addition to header.php…

< ?php comments_popup_script(); ?>

It should be placed above the wp_head line. Read more here.

I’ve inserted the code to the wordpess default template and got the following error…

Fatal error: Call to undefined function comment_popup_script()

This was no surprise to me after reading the Understanding comments-popup.php blog article that noted that the Kubrick wordpress default theme didn’t include a comments_popup_script() function that is required to make it happen. So then came the function search.

I found the function at hiveminds.in. Simply copy the code listed on the page and save it as template-functions-comment.php using any text editor. Then upload template-functions-comment.php to the wp-includes folder.

After adding the function, I found that there was still error. There is a way to control the size of the popup window here by use of the wp-comments-popup.php file. It turns out that the wp-comments-popup.php file is also missing from he default theme. Find the source here, then add it to your wordpress install.

Lastly, visit your homepage to see your comments show in a popup window.

Sphere: Related Content


Thank you for visiting MoreMoneyGirls.net. Subscribe here for free updates!

Related Posts


Custom Search

Information About Article

English flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagGerman flagFrench flagSpanish flag
Japanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagDanish flagFinnish flag
Polish flagSwedish flagNorwegian flagHebrew flagSerbian flagSlovak flagThai flagTurkish flagHungarian flag

Build a Website in 30 minutes. Try Free, Click Here.

Sponsored Blog Links