Results 1 to 8 of 8

Thread: Template Wrapper (wrapper.php) What is it and how do we use it?

  1. #1
    Thread Starter
    Amateur acts7's Avatar
    Join Date
    Feb 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Template Wrapper (wrapper.php) What is it and how do we use it?

    It appears if I use a template file, it still gets placed within wrapper.php

    I want to create an entirely different wrapper for users who are logged in versus logged out.
    I am attempting to utilize a child theme in order to keep your code and future updates in tact.

    Could you please PLEASE please PLEASE provide instructions on how to create a new wrapper?
    And how then to assign that wrapper?
    Is the wrapper name based on the template name?
    Is the wrapper name based on the page name?
    Where do I place the new wrapper file?
    What is the naming convention for the wrapper?
    Do I need to do anything to enable the additional wrapper?

    I thought I saw a note about creating an array of wrappers.
    But how does that work so that your code uses the wrapper I want on only the pages I want?

  2. #2
    Thread Starter
    Amateur acts7's Avatar
    Join Date
    Feb 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Senior Developer, AppThemes scribu's Avatar
    Join Date
    Jun 2011
    Posts
    50
    Thanks
    3
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. The Following User Says Thank You to scribu For This Useful Post:

    acts7 (March 5th, 2012)

  5. #4
    Thread Starter
    Amateur acts7's Avatar
    Join Date
    Feb 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    You must be an AppThemes customer and logged in to view this response. Join today!
    Last edited by acts7; March 5th, 2012 at 11:38 AM. Reason: trying to grasp self::$base concept

  6. #5
    Senior Developer, AppThemes scribu's Avatar
    Join Date
    Jun 2011
    Posts
    50
    Thanks
    3
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Thread Starter
    Amateur acts7's Avatar
    Join Date
    Feb 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    Senior Developer, AppThemes scribu's Avatar
    Join Date
    Jun 2011
    Posts
    50
    Thanks
    3
    Thanked 11 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. The Following User Says Thank You to scribu For This Useful Post:

    acts7 (March 9th, 2012)

  10. #8
    Thread Starter
    Amateur acts7's Avatar
    Join Date
    Feb 2012
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Thumbs up [RESOLVED] - unique wrappers - THANK YOU

    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I have several questions about the template I need help....PLEASE!!!!!
    By dvdmotfe in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: September 23rd, 2011, 02:53 AM
  2. Template turns white even after deleting and reactiving the theme template
    By postgrabber in forum ClassiPress General Discussion
    Replies: 6
    Last Post: August 28th, 2011, 09:20 AM
  3. Background wrapper div
    By cedric_c in forum JobRoller General Discussion
    Replies: 7
    Last Post: October 6th, 2010, 07:06 AM