Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Test the Shortcodes
Lab: Making the Collapsible Content Plugin Reusable – Part 3
Video Runtime: 11:32
In this episode, you and I are going to test all three shortcodes. Here is the test content we’ll use:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nec quam eu felis mattis consectetur. Nunc quam nulla, volutpat et dui ac, dapibus accumsan quam. Aenean nisi lectus, tempus sed porttitor eget, rhoncus ut ex. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut suscipit velit. Nam id rutrum elit. Ut eget suscipit nisi. Sed mollis rutrum nulla a tempor. Morbi non dolor molestie, mollis diam sit amet, elementum nunc. Quisque id placerat risus. Proin non dapibus leo. Nulla ut nisi dui. | |
[faq post_id="43"] | |
[faq topic="billing-and-payments"] | |
<h3>Q&A Shortcode</h3> | |
[qa question="What is 2 + 5?"]Answer is 7.[/qa] | |
<h3>Teaser Shortcode</h3> | |
[teaser visible_message="Amazing offer just for the first 100 visitors."]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus nec quam eu felis mattis consectetur. Nunc quam nulla, volutpat et dui ac, dapibus accumsan quam. Aenean nisi lectus, tempus sed porttitor eget, rhoncus ut ex. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut suscipit velit. Nam id rutrum elit. Ut eget suscipit nisi. Sed mollis rutrum nulla a tempor. Morbi non dolor molestie, mollis diam sit amet, elementum nunc. Quisque id placerat risus. Proin non dapibus leo. Nulla ut nisi dui.[/teaser] | |
<h2>Header</h2> | |
Morbi sodales ipsum et purus tristique, eget hendrerit urna molestie. Duis sed eros eu nisi malesuada luctus sed et ligula. Integer hendrerit massa et est consectetur elementum. Donec in vulputate odio. Donec aliquet porta nulla ut faucibus. Nulla imperdiet lacus quis imperdiet gravida. Aliquam erat volutpat. Integer ut suscipit lacus. |
Keep It Simple, Stupid (KISS) - the best kiss you'll get in code.
Episodes
Total Lab Runtime: 06:04:21
- 1 Lab Introductionfree 07:43
- 2 What is Reusable?free 18:07
- 3 Modular in ModularConfiguration Architecturepro 15:12
- 4 Configuration in ModularConfiguration Architecturepro 12:31
- 5 Creating Configuration Repositorypro 05:14
- 6 Planning it Outpro 12:26
- 7 Build the FAQ Custom Post Type Configpro 09:10
- 8 Loading the Config Filepro 04:29
- 9 Building Custom Post Type Generatorpro 12:24
- 10 Generate Post Type Supported Featurespro 16:41
- 11 Generate Post Type Labelspro 14:45
- 12 Test it Outpro 16:26
- 13 Custom Post Type Generator - Registrationpro 13:33
- 14 Rewrite Rulespro 14:05
- 15 Reusable Rewrite Rules Handlerpro 08:15
- 16 Custom Module - Embed or Standalone?pro 07:22
- 17 Build the Topic Taxonomy Configpro 06:58
- 18 Reusable Taxonomy Generatorpro 10:19
- 19 Auditing the Custom Labelspro 18:10
- 20 Refactoring the Label Generatorpro 09:32
- 21 Specify Certain Labels Optionpro 10:10
- 22 Link the FAQ into the Taxonomy Generatorpro 10:28
- 23 Move Config to FAQ Modulepro 04:58
- 24 Test the Taxonomypro 13:30
- 25 Plan out the Shortcodespro 09:25
- 26 Starting the Shortcode Boilerplatepro 14:53
- 27 Build the Shortcodes Configurationspro 15:30
- 28 Registering Shortcode with Custom Modulepro 18:54
- 29 Shortcode Configuration Storepro 08:25
- 30 Test the Shortcodespro 11:32
- 31 Wrap it Up, Review, and Commit Changespro 13:14