Just looked in the P2 theme files. The theme loads the entry.php
with the function p2_load_entry()
located in inc/template-tags.php
.
If you want to edit the entry.php
file and want to be on the safe side if P2 releases an update, you should create a Child Theme.
- Create a new sub-folder inside
wp-content/themes/
e.g.p2-child
- Inside the new folder, create a
style.css
with the content described in the above linked article. Be sure that you have addedTemplate: p2
to the comment block. - Copy
entry.php
to the new folder and edit it. - Go to WordPress Admin
Appearance > Themes
and activate your newly created P2 Child Theme.