• Item 1
  • Item 2
  • Item 3
  • My UNC Charlotte

  • Directory

  • Campus Events

  • Library

  • Prospective Students

    • About UNC Charlotte
    • Campus Life
    • Admissions
    • Graduate Admissions
  • Faculty and Staff

    • Human Resources
    • Auxiliary Services
    • Inside UNC Charlotte
    • Academic Affairs
  • Current Students

    • Athletics
    • Financial Aid
    • Advising
    • Student Health Center
  • Alumni and Friends

    • Alumni Association
    • Advancement
    • Foundation
    • Make a Gift
Aaron Forsyth
Aaron Forsyth
Academic Technologies Developer
  • My UNC Charlotte

  • Directory

  • Campus Events

  • Library

  • Prospective Students

    • About UNC Charlotte
    • Campus Life
    • Admissions
    • Graduate Admissions
  • Faculty and Staff

    • Human Resources
    • Auxiliary Services
    • Inside UNC Charlotte
    • Academic Affairs
  • Current Students

    • Athletics
    • Financial Aid
    • Advising
    • Student Health Center
  • Alumni and Friends

    • Alumni Association
    • Advancement
    • Foundation
    • Make a Gift
  • Updates
  • UNC Charlotte
  • WordPress
  • HighEd Web

Contact Me

Office: Barnard 232
Phone: x70166
Email: aaronforsyth@uncc.edu

Links

  • My Department – OAT

Variations Template Theme

January 03, 2018 by Aaron Forsyth
Categories: Updates

Much of the work I am doing builds on what Crystal Barton (my predecessor) built originally.  We have a theme she developed called Variations Template Theme (VTT), which provides the base for our UNC Charlotte themes.  Alex Chapin and I have had several discussions about where to take VTT and how to continue development.  

Currently our site themes are built by taking VTT, a child theme, and a variation from a plugin.

VTT (Parent Theme) -> UNC Charlotte Faculty Staff (Child Theme) -> UNC Charlotte Variations (Plugin)

The child theme primarily allows specific variations from the plugin.  I proposed that we change this however, due to some quirks in how files are loaded by WordPress:  CSS files are additive, however template files are loaded as first found.

CSS: Parent -> Child -> Plugin  –Load all of these and combine them.

Template Files: Child -> Plugin -> Parent  –Load the first template file only.

I think a better way to use VTT is to eliminate the plugin so that we only have VTT and the child theme.  Then we can control variation options via a setting within the theme.  In WordPress this setting is entered in the theme_mod record in the wp_options table in the database.

Click for more  

UNC Charlotte Homepage

Campus Links

  • Alerts
  • Jobs
  • Make a Gift
  • Maps / Directions
  • Accessibility

Resources

  • Alumni & Friends
  • Faculty & Staff
  • Prospective Students
  • Community
  • Current Students
  • Parents and Family

Stay In Touch

facebook instagram flickr linkedin twitter youtube maps

The University of North Carolina at Charlotte
9201 University City Blvd, Charlotte, NC 28223-0001
704-687-8622

© 2017 UNC Charlotte | All Rights Reserved
Contact Us | Terms of Use | University Policies
Skip to toolbar
  • Log In