Support Forums - Classified Ads Script Osclass
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Romeo on May 14, 2017, 04:17:43 PM
-
How do I make a new page to add my php ad code?
-
Something like that is pretty complicated in osclass, best way is to create plugin and use routes, or use routes in theme.
-
Hello
I found something that does not need a plug-in. Create a normal page in the admin panel, then the page you need, in the theme folder and just works to add to the extension of the 'page-' page.
Example:
We have my-page.php inside the theme
The page created my-page in the admin panel
Then modify 'my-page.php' with 'page-my-page.php'
The key is 'page-'
And you'll be able to add header and footer later to page-my-page.php