• Just wondering how I can design different layouts on each page. There doesn’t seem to be any option available. The ThemeShift template shows samples of various layouts but there seems to be no way to implement them. Any ideas?

    The site I am working on is transfer.whitered.ca

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a templates option for every page you create in WordPress. If your theme has multiple different templates, you can select a different template for each page (check your screen options in case its not showing up). If you want to have different styles for every page, use if is_page ( ID ) in your page.php to define separate CSS styles for every page and add them into your CSS. If you want to create custom templates:

    https://codex.www.ads-software.com/Pages

    I don’t know about that theme in particular, but in general you can use the WordPress Template Hierarchy to generate different layouts for different pages.

    For example, if you had a page with the slug ‘cv’, you could create a page called page-cv.php, which would be used instead of page.php for a page with the slug ‘cv’.

    The easiest way to do this is to create page-cv.php and copy the contents of page.php into it (assuming page.php exists, which it usually does). You can then mess about with page-cv.php to output the html you want.

    HTH

    PAE

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different Layouts on Different Pages’ is closed to new replies.