FilePage Custom Single Template

File Pages have the Custom Post type wpfb_filepage. By default current theme’s single.php is used.
To use a custom template for File Pages, create single-wpfb_filepage.php in your theme’s directory. You can copy the code from¬†single.php¬†if you don’t want to start from scratch.

That’s it, WordPress will automatically use the new file when it renders the File Page.

VN:F [1.9.22_1171]
Rating: 4.5/5 (4 votes cast)
FilePage Custom Single Template, 4.5 out of 5 based on 4 ratings

Leave a Reply

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


5 × three =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>