Jump to content


This topic is now archived and is closed to further replies.


Possible to Create Custom Page Templates for child theme?

Recommended Posts


I have some php code I need to use on a page. I'm unable to locate the page templates in the DMS themes folder.


I followed this tutorial: http://support.pagelines.me/docs/customization/create-a-custom-page-template/


But after creating the template, I do not see it in the Pages section inside Admin.


Here's what I did


1.) I followed the tutorial above.

2.) Create a PHP file with my php code.


It looks like this



/* Template Name: My Account */

* The template displaying the "My Account" page
* @package EDD
* @version 1.0
* @since 1.0
* @author Mark
* @copyright Copyright (c) 2013, Mark.
<?php get_header(); ?>

    <section class="main clearfix">
        <div class="container clearfix">...............



3.) I placed the file into my child theme directory.

4.) I went to the WP admin > Pages >  Sample Page

5.) Click on DMS template dropdown menu and nothing is there.


What did I miss?





Share this post

Link to post
Share on other sites

Still wondering about this one.


Maybe it's me, but that tutorial seems out of date?

Share this post

Link to post
Share on other sites



You're right, the tutorial is out of date for DMS, but that's because it's a tutorial for Framework, not DMS.  The docs for DMS are only located at http://docs.pagelines.com.


DMS doesn't use template files like Framework.  It's all created and stored in the database. 


That said, to add PHP scripting to DMS, use Shortcode Exec PHP, a free plugin, and convert your PHP script to a shortcode.  Add it to DMS by including a TextArea where you plan to place it, then paste the shortcode into the TextArea. You can use CSS to position things, by creating a custom class for the textarea and including your custom CSS code in Custom Code.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites