Allow user to create only one single custom post type for manage homepage contents

Question

According to the info I have found in this old answer, I would ask if is it possible to manage the index informations using a single custom post type. I know about the possibility to use an home.php file as homepage, but it’s not clear to me if I create the page inside the dashboard, if the informations will be available inside the loop of home.php file. This is why I’m thinking to create a single post type that will manage only the home and will display the relative content.
Some answer to the question I’ve linked indicates that a solution can be a theme option page, I never created one so I need some code help to do this if it can be a good way to implement what I need.

0
, , sialfa 4 years 2020-03-24T08:52:05-05:00 0 Answers 105 views 0

Leave an answer

Browse
Browse