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

Title: new page
Post by: Romeo on May 14, 2017, 04:17:43 PM
How do I make a new page to add my php ad code?
Title: Re: new page
Post by: MB Themes on May 14, 2017, 04:46:33 PM
Something like that is pretty complicated in osclass, best way is to create plugin and use routes, or use routes in theme.
Title: Re: new page
Post by: Romeo on May 25, 2017, 06:57:41 PM
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