Support » Fixing WordPress » How to create parent template for multiple custom page templates?

  • I have several pages with same html structure but one content div is different in all the pages.

    So, i wan to create a parent template where common code will be placed.

    How can i achieve this?

    Example: there are 3 pages

    abc-music.php
    abc-travel.php
    abc-cooking.php

    Is there any way to call these pages from a parent template ‘abc’ which contains common code fro above 3 pages.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to create parent template for multiple custom page templates?’ is closed to new replies.