SlideShare a Scribd company logo
1 of 55
Making Custom
Theme Options Easy
Developing a Modular Theme for Multiple Site Use
O Hai Canada.
Who are you?
‣ My name is Toby ( @trademark ). A self-
  taught WordPress / PHP / Front end
  Developer.
Who are you?
‣ My name is Toby ( @trademark ). A self-
  taught WordPress / PHP / Front end
  Developer.
‣ I work for Cheezburger Networks
CheezCAP
CHEEZBURGER CUSTOM ADMINISTRATION PANEL
Cheezburger & WordPress
Farm Team
OMG MAKE LOTS OF SITES PLZ
Cheezburger & WordPress
              THEN:


‣ Many self-hosted WordPress.org
  installations
Cheezburger & WordPress
              THEN:

‣ Many self-hosted WordPress.org
  installations
‣ Each had its own customized (read:
  totally hacked) theme.
Cheezburger & WordPress
               THEN:

‣ Many self-hosted WordPress.org
  installations
‣ Each has it’s own customized (read:
  totally hacked) theme.
‣ Making ~2 new sites a week.
Cheezburger & WordPress
        THEN:
Cheezburger & WordPress
        THEN:
Cheezburger & WordPress
        THEN:
Why this was bad.


‣ Spent half the time as a server admin.
Why this was bad.

‣ Spent half the time as a server admin.
‣ No history or version control of the
  changes that were made.
Why this was bad.

‣ Spent half the time as a server admin.
‣ No history or version control of the
  changes that were made.
‣ It looked bad.
Why this was bad.
‣ Spent half the time as a server admin.
‣ No history or version control of the
  changes that were made.
‣ It looked bad.
‣ Easy to make new sites, difficult to
  maintain and update them.
SOLUTION.
The “Unified Theme”


        (.com)
The “Unified Theme”


        (.com)
Cheezburger & WordPress
               NOW:


‣ 10 Sites were already running a Unified
  Theme on WordPress.com VIP
Cheezburger & WordPress
        THEN:
Cheezburger & WordPress
                NOW:

‣ 10 Sites were already running a Unified
  Theme on WordPress.com VIP
‣ One file contained all the customization
  settings for the sites.
Cheezburger & WordPress
                NOW:
‣ 10 Sites were already running a Unified
  Theme on WordPress.com VIP
‣ One file contained all the customization
  settings for the sites.
‣ PROBLEM: Creating a new site meant
  re-copying a bunch of code.
SOLUTION.
CheezCAP
Cheezburger Custom Administration Panel
CheezCAP
What is it?

CheezCAP is a library that
allows you to easily create
an administration panel for
your theme.

There are 4 main features
that make CheezCAP
totally awesome.
CheezCAP
            Getting Started


‣ Add the folder to your theme directory
‣ Add the following to your functions.php
  file:
  require_once('cheezcap/
  cheezcap.php');
CheezCAP
            Getting Started




‣ Edit cheezcap/config.php
CheezCAP
Getting Started
CheezCAP
              Getting Started

‣ Once you’ve created the options you
  want to use, you can start adding them to
  your theme:
  if ( $cap->my_boolean_option ) {
  	 	 // do stuff	
  	 }
CheezCAP
                      Boolean Options

Boolean Options serve as basic toggle
switches:
new BooleanOption(

	   	   	   	    	     'Simple Boolean Example',

	   	   	   	    	     'This will create a simple true/false switch.’,

	   	   	   	    	     'simple_boolean_example',

	   	   	   	    	     true

	   	   	   	    ),
CheezCAP
                       Boolean Options

Boolean Options serve as basic toggle
switches:
new BooleanOption(

	   	   	   	     	     'Simple Boolean Example', <- Title

Description ->	   	     'This will create a simple true/false switch.’,

	   	   	   	     	     'simple_boolean_example', <- ID of the parameter

	   	   	   	     	     true <- Initial Value

	   	   	   	     ),
CheezCAP
                       Text Options

Text Options can represent alphanumeric
strings to be inserted, code, etc.
	    new TextOption(

	    	    	   	   	    'Simple Text Exmaple #3',

	    	    	   	   	    'This will store a string value.’,

    	 	   	   	   	    'simple_text_example3',

	    	    	   	   	    'Say Cheez!'

	    	    	   	   ),
CheezCAP
                    Dropdown Options
Dropdown Options serve as more
complex switches:
new DropdownOption(

	   	       	   	   	    'Inline Options Dropdown Example #3',

        	   	   	   	    'This dropdown creates its options using an

                         inline array.',

	   	       	   	   	    'inline_options_dropdown_example3',

	   	       	   	   	    array( 'Red', 'Yellow', 'Green' ),

	   	       	   	   	    2, // Green

	   	       	   	   ),
CheezCAP Work For Me?
How Can I Make CheezCAP




‣ Text Options: Google Analytics accounts, site
  announcements, customized text in your
  theme ( comment links, page navigation, 404
  pages )
CheezCAP Work For Me?
How Can I Make CheezCAP


‣ Text Options: Google Analytics accounts, site
  announcements, customized text in your
  theme ( comment links, page navigation, 404
  pages )
‣ Boolean Options: Turn Features on and off,
  beta or A/B testing
CheezCAP Work For Me?
How Can I Make CheezCAP
‣ Text Options: Google Analytics accounts, site
  announcements, customized text in your
  theme ( comment links, page navigation, 404
  pages )
‣ Boolean Options: Turn Features on and off,
  beta or A/B testing
‣ Dropdown Options: switching stylesheets or
  color schemes, enabling or disabling sets of
  features, more complex logic than boolean
CheezCAP Work For Me?
How Can I Make CheezCAP




‣ CheezCAP uses the WordPress options
  tables.
CheezCAP Work For Me?
How Can I Make CheezCAP



‣ CheezCAP uses the WordPress options
  tables.
‣ Able to specify required user permissions
  level to edit.
HOLD IT! YOU SAID THERE WERE 4 FEATURES!
CheezCAP
          The Elusive 4th Feature




‣ Import / Export!
CheezCAP
The Elusive 4th Feature
CheezCAP
The Elusive 4th Feature
CheezCAP
The Elusive 4th Feature
CheezCAP
The Elusive 4th Feature
CheezCAP
The Elusive 4th Feature
CheezCAP
The Elusive 4th Feature
CheezCAP
                 In Summary


‣ Create Text Options, Boolean Options
  and Dropdown Options.
‣ Use them to control and modify your
  theme on the fly.
‣ Export your settings to a text file for
  backup and portability.
Thank you.
Thank you.
  Special Thanks to:
       CheezTech
   WordPress.com VIP
Michael Fields - @_mfields
   Matt Martz - @sivel
  #WCDEV Organizers
Thank you.
@trademark
                         DOWNLOAD CHEEZCAP:
http://tmckes.com
                         http://chzb.gr/CheezCAP
toby@cheezburger.com

http://cheezburger.com

More Related Content

Viewers also liked

脉轮能量书ⅰ
脉轮能量书ⅰ脉轮能量书ⅰ
脉轮能量书ⅰguxianbang
 
Beginning gl.enchant
Beginning gl.enchantBeginning gl.enchant
Beginning gl.enchantRyo Shimizu
 
Сравнение SEO с интернет маркетингом
Сравнение SEO с интернет маркетингомСравнение SEO с интернет маркетингом
Сравнение SEO с интернет маркетингомОлександр Мілютін
 
Briasha King
Briasha KingBriasha King
Briasha Kingadubose
 
Train Your Brain Dr. Farhana Shaheen
Train Your Brain Dr. Farhana ShaheenTrain Your Brain Dr. Farhana Shaheen
Train Your Brain Dr. Farhana ShaheenFarhana Shaheen
 
Annie Savant
Annie Savant Annie Savant
Annie Savant adubose
 
Amber's evaluation
Amber's evaluationAmber's evaluation
Amber's evaluationAmber_
 
John Perry
John PerryJohn Perry
John Perryadubose
 
General Lew Wallace & His Study
General Lew Wallace & His StudyGeneral Lew Wallace & His Study
General Lew Wallace & His StudyWallaceStudy
 
Media kit mdc asrl 2011
Media kit mdc asrl 2011Media kit mdc asrl 2011
Media kit mdc asrl 2011andresobel
 
Detoxifying your body dfs
Detoxifying your body dfsDetoxifying your body dfs
Detoxifying your body dfsFarhana Shaheen
 
Significance of Numbers in life Dr. Farhana Shaheen
Significance of Numbers in life Dr. Farhana ShaheenSignificance of Numbers in life Dr. Farhana Shaheen
Significance of Numbers in life Dr. Farhana ShaheenFarhana Shaheen
 
Riane Songalia
Riane SongaliaRiane Songalia
Riane Songaliaadubose
 
Will Baughn
Will BaughnWill Baughn
Will Baughnadubose
 
Get the most out of your accessibility expert
Get the most out of your accessibility expertGet the most out of your accessibility expert
Get the most out of your accessibility expertOlivier Nourry
 
Module13 theories
Module13 theoriesModule13 theories
Module13 theoriesRay Altmann
 

Viewers also liked (20)

my first ppt
my first pptmy first ppt
my first ppt
 
脉轮能量书ⅰ
脉轮能量书ⅰ脉轮能量书ⅰ
脉轮能量书ⅰ
 
Beginning gl.enchant
Beginning gl.enchantBeginning gl.enchant
Beginning gl.enchant
 
Сравнение SEO с интернет маркетингом
Сравнение SEO с интернет маркетингомСравнение SEO с интернет маркетингом
Сравнение SEO с интернет маркетингом
 
Jc 2013-notafin2
Jc 2013-notafin2Jc 2013-notafin2
Jc 2013-notafin2
 
Briasha King
Briasha KingBriasha King
Briasha King
 
Train Your Brain Dr. Farhana Shaheen
Train Your Brain Dr. Farhana ShaheenTrain Your Brain Dr. Farhana Shaheen
Train Your Brain Dr. Farhana Shaheen
 
Annie Savant
Annie Savant Annie Savant
Annie Savant
 
Amber's evaluation
Amber's evaluationAmber's evaluation
Amber's evaluation
 
John Perry
John PerryJohn Perry
John Perry
 
Beauty of numbers
Beauty of numbersBeauty of numbers
Beauty of numbers
 
General Lew Wallace & His Study
General Lew Wallace & His StudyGeneral Lew Wallace & His Study
General Lew Wallace & His Study
 
17 семинар
17 семинар17 семинар
17 семинар
 
Media kit mdc asrl 2011
Media kit mdc asrl 2011Media kit mdc asrl 2011
Media kit mdc asrl 2011
 
Detoxifying your body dfs
Detoxifying your body dfsDetoxifying your body dfs
Detoxifying your body dfs
 
Significance of Numbers in life Dr. Farhana Shaheen
Significance of Numbers in life Dr. Farhana ShaheenSignificance of Numbers in life Dr. Farhana Shaheen
Significance of Numbers in life Dr. Farhana Shaheen
 
Riane Songalia
Riane SongaliaRiane Songalia
Riane Songalia
 
Will Baughn
Will BaughnWill Baughn
Will Baughn
 
Get the most out of your accessibility expert
Get the most out of your accessibility expertGet the most out of your accessibility expert
Get the most out of your accessibility expert
 
Module13 theories
Module13 theoriesModule13 theories
Module13 theories
 

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 

Cool as a LOLCat: Making Custome Theme Options Easy

  • 1. Making Custom Theme Options Easy Developing a Modular Theme for Multiple Site Use
  • 3. Who are you? ‣ My name is Toby ( @trademark ). A self- taught WordPress / PHP / Front end Developer.
  • 4. Who are you? ‣ My name is Toby ( @trademark ). A self- taught WordPress / PHP / Front end Developer. ‣ I work for Cheezburger Networks
  • 7. Farm Team OMG MAKE LOTS OF SITES PLZ
  • 8. Cheezburger & WordPress THEN: ‣ Many self-hosted WordPress.org installations
  • 9. Cheezburger & WordPress THEN: ‣ Many self-hosted WordPress.org installations ‣ Each had its own customized (read: totally hacked) theme.
  • 10. Cheezburger & WordPress THEN: ‣ Many self-hosted WordPress.org installations ‣ Each has it’s own customized (read: totally hacked) theme. ‣ Making ~2 new sites a week.
  • 14. Why this was bad. ‣ Spent half the time as a server admin.
  • 15. Why this was bad. ‣ Spent half the time as a server admin. ‣ No history or version control of the changes that were made.
  • 16. Why this was bad. ‣ Spent half the time as a server admin. ‣ No history or version control of the changes that were made. ‣ It looked bad.
  • 17. Why this was bad. ‣ Spent half the time as a server admin. ‣ No history or version control of the changes that were made. ‣ It looked bad. ‣ Easy to make new sites, difficult to maintain and update them.
  • 21. Cheezburger & WordPress NOW: ‣ 10 Sites were already running a Unified Theme on WordPress.com VIP
  • 23. Cheezburger & WordPress NOW: ‣ 10 Sites were already running a Unified Theme on WordPress.com VIP ‣ One file contained all the customization settings for the sites.
  • 24. Cheezburger & WordPress NOW: ‣ 10 Sites were already running a Unified Theme on WordPress.com VIP ‣ One file contained all the customization settings for the sites. ‣ PROBLEM: Creating a new site meant re-copying a bunch of code.
  • 27. CheezCAP What is it? CheezCAP is a library that allows you to easily create an administration panel for your theme. There are 4 main features that make CheezCAP totally awesome.
  • 28. CheezCAP Getting Started ‣ Add the folder to your theme directory ‣ Add the following to your functions.php file: require_once('cheezcap/ cheezcap.php');
  • 29. CheezCAP Getting Started ‣ Edit cheezcap/config.php
  • 31. CheezCAP Getting Started ‣ Once you’ve created the options you want to use, you can start adding them to your theme: if ( $cap->my_boolean_option ) { // do stuff }
  • 32. CheezCAP Boolean Options Boolean Options serve as basic toggle switches: new BooleanOption( 'Simple Boolean Example', 'This will create a simple true/false switch.’, 'simple_boolean_example', true ),
  • 33. CheezCAP Boolean Options Boolean Options serve as basic toggle switches: new BooleanOption( 'Simple Boolean Example', <- Title Description -> 'This will create a simple true/false switch.’, 'simple_boolean_example', <- ID of the parameter true <- Initial Value ),
  • 34. CheezCAP Text Options Text Options can represent alphanumeric strings to be inserted, code, etc. new TextOption( 'Simple Text Exmaple #3', 'This will store a string value.’, 'simple_text_example3', 'Say Cheez!' ),
  • 35. CheezCAP Dropdown Options Dropdown Options serve as more complex switches: new DropdownOption( 'Inline Options Dropdown Example #3', 'This dropdown creates its options using an inline array.', 'inline_options_dropdown_example3', array( 'Red', 'Yellow', 'Green' ), 2, // Green ),
  • 36.
  • 37.
  • 38.
  • 39. CheezCAP Work For Me? How Can I Make CheezCAP ‣ Text Options: Google Analytics accounts, site announcements, customized text in your theme ( comment links, page navigation, 404 pages )
  • 40. CheezCAP Work For Me? How Can I Make CheezCAP ‣ Text Options: Google Analytics accounts, site announcements, customized text in your theme ( comment links, page navigation, 404 pages ) ‣ Boolean Options: Turn Features on and off, beta or A/B testing
  • 41. CheezCAP Work For Me? How Can I Make CheezCAP ‣ Text Options: Google Analytics accounts, site announcements, customized text in your theme ( comment links, page navigation, 404 pages ) ‣ Boolean Options: Turn Features on and off, beta or A/B testing ‣ Dropdown Options: switching stylesheets or color schemes, enabling or disabling sets of features, more complex logic than boolean
  • 42. CheezCAP Work For Me? How Can I Make CheezCAP ‣ CheezCAP uses the WordPress options tables.
  • 43. CheezCAP Work For Me? How Can I Make CheezCAP ‣ CheezCAP uses the WordPress options tables. ‣ Able to specify required user permissions level to edit.
  • 44. HOLD IT! YOU SAID THERE WERE 4 FEATURES!
  • 45. CheezCAP The Elusive 4th Feature ‣ Import / Export!
  • 52. CheezCAP In Summary ‣ Create Text Options, Boolean Options and Dropdown Options. ‣ Use them to control and modify your theme on the fly. ‣ Export your settings to a text file for backup and portability.
  • 54. Thank you. Special Thanks to: CheezTech WordPress.com VIP Michael Fields - @_mfields Matt Martz - @sivel #WCDEV Organizers
  • 55. Thank you. @trademark DOWNLOAD CHEEZCAP: http://tmckes.com http://chzb.gr/CheezCAP toby@cheezburger.com http://cheezburger.com

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. Released at WCPDX\n
  6. Cheezburger = 400 million pageviews / month.\nLast year&amp;#x2019;s State of the Word ~10% all traffic to WordPress.com\n50 sites\n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. Tofulator\nIn-house theme (I think)\n
  13. Kubrick\n
  14. Servers constantly being hammered due to increasing traffic. Thanksgiving example.\n
  15. Not using SVN or hg.\n
  16. \n
  17. \n
  18. \n
  19. GRATUITOUS ANIMATION SLIDE\n
  20. \n
  21. \n
  22. Starting to port our WordPress.org sites over, quickly became clear that this would become tedious and tiresome.\n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. 5th option here, defaults to false, lets you render the text option as a text area\n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. Safely stored in the database. Changing your theme doesn&amp;#x2019;t make you lose anything.\n
  41. Safely stored in the database. Changing your theme doesn&amp;#x2019;t make you lose anything.\n\nUser level: so only admins can change, etc. Defaults to &amp;#x2018;manage_options&amp;#x2019;\n
  42. \n
  43. My favorite feature.\n\nGoing to walk you through what this could look like.\n
  44. Let&amp;#x2019;s say I already have CheezCAP in my theme. Need to move site or copy.\nExport\n
  45. New site after import, using default 2010.\n
  46. I enable my theme that&amp;#x2019;s using CheezCAP\n
  47. Import the file.\n
  48. Go from this.\n
  49. To this.\n
  50. \n
  51. \n
  52. Thanks to Matt Martz @sivel, extending and improving the code already\n