Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other [WordPress] How could this be done? Re: [WordPress] How could this be done?

#139639
Alen
Participant

Just copy `index.php` file and save as `home.php`. WordPress will first look for home.php then index.php for your blog posts. Then in your header or footer.php template use conditional statement to load the script, this way if something goes wrong you can just delete home.php an everything is back to normal. Depending on how this plug-in interacts with the DOM you might need to change DOM structure. So creating `home.php` seems logical to me.