Jump to content

Custom Page Template Help

Recommended Posts


I'd like to create a custom page template that removes all of the content and allows me to just display comments on that page, I'd also like to modify what the comment text says, so instead of 'leave a reply' i'd like "leave a testimonial' etc. I've created a custom page type in my child theme however all that is in there is. setup_pagelines_template(); Where and how do i access what I need in order to modify what content shows?

Share this post

Link to post
Share on other sites

Well, you can use one of the templates (Template 1, 2, 3, 4 or 5) and in PageLines > Drag & Drop > Content Area, you'll make sure Comments are added.

Then, as you create your page, hide the PostLoop on that one page. Please see: http://www.pagelines...m_Page_Template

The language for the comments section, I believe, comes from WordPress, not PageLines. http://wordpress.org...f-leave-a-reply

Our developer suggests this is associated with the information in the link above:

function comment_reform ($arg) {

$arg['title_reply'] = __('Submit a comment:');

return $arg;



Where and how do i access what I need in order to modify what content shows?

On the page's PageLines Meta Settings.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • leopold
      By leopold
      I created a custom post type for books. And I use the Advanced Custom Fields plugin (and its Flexible Content Field add-on) created many meta boxes for this custom type. How can I create page template to display all the meta boxes? 
      I checked the single.php file in DMS, but there is nothing there. Can I just create a single-books.php in my child theme? What should I put in the this file? 
      Thank you very much for the help.
    • starlen
      By starlen
      Hi - 

      I've switched over to using the Base Child Theme, after reading about setting up a custom page template here:
      However, the template doesn't show up in Page Options for me to configure via Drag-n-Drop. Following along with other forum problems of a similar bent, I tried deactivating all plugins, and my page is called page.home.php (no dashes or extraneous characters), and it still doesn't show up.

      I've set debug mode on, if that helps.
      I am in WP 3.5.1 and using the most current version of the Pagelines Framework.