SlideShare une entreprise Scribd logo
1  sur  27
DON’T TYPE IT OVER AND OVER
Chad Haefele
Interim Head of User Experience
UNC Chapel Hill Libraries
cHaefele@email.unc.edu
Working with Shortcodes in WordPress
Previously on Florida Library
Webinars…
https://floridalibrarywebinars.org/building-a-library-website-in-wordpress-ondemand/
Previously on Florida Library
Webinars…
https://floridalibrarywebinars.org/media-in-wordpress-ondemand/
HiddenPeanuts.com
bit.ly/wp4lib
[BuildingPolicies]
What would you use one for?
•Policies
•Widgets
•Twitter
•Libraryh3lp
•Galleries
•Library hours
•Library events
Components of other plugins
• Formidable
• Elegant Themes
• $89/year
• 3D Viewer: [stl file="/2016/09/filename.stl" ]
Working with 3D Models
<img src =“wordpress.png”
alt=“WordPress logo”>
[audio]
[video]
.com usage
• Video
• en.support.wordpress.com/videos/
• Audio
• en.support.wordpress.com/audio/
.org usage (built-in)
• Video
• codex.wordpress.org/Audio_Shortcode
• Audio
• codex.wordpress.org/Video_Shortcode
• Other built-in shortcodes
• Caption
• Embed: https://codex.wordpress.org/Embeds
• Playlist: https://codex.wordpress.org/Playlist_Shortcode
• Gallery: https://codex.wordpress.org/Gallery_Shortcode
[gallery]
Installing & Using Shortcodes UI
wordpress.org/plugins/shortcodes-ui/
Build a basic text substitution shortcode
1. Put your reusable text in the top edit box
2. Set the ShortCode Type dropdown to Simple Snippet
3. Choose a ShortCode Tag – this is the text you’ll use to
trigger your Shortcode
4. Click the Publish button
5. Go put [YourShortcodeTag] somewhere in a Page or
Post.
Build a Twitter widget shortcode
1. Get the code for your Twitter widget from
twitter.com/settings/widgets
2. Put your Twitter widget code in the top edit box
3. Set the ShortCode Type dropdown to Simple Snippet
4. Choose a ShortCode Tag – this is the text you’ll use to
trigger your Shortcode
5. Click the Publish button
6. Go put [YourShortcodeTag] somewhere in a Page or
Post.
Enable shortcodes in WP widgets
WARNING! THIS COULD BREAK THINGS!
1. Under Appearance, go to Editor
2. Edit your functions.php file (it might be called Theme
Functions)
3. Add this code near the top of the file:
// Enable shortcodes in widgets
add_filter('widget_text', 'do_shortcode');
4. Click Update File
Alternatively, use this plugin:
wordpress.org/plugins/shortcode-widget/
Build a libraryh3lp shortcode (advanced!)
1. Set the ShortCode Type dropdown to Simple One Tag
ShortCode
2. Give your Shortcode this tag: libraryh3lp
3. Paste one of your libraryh3lp code snippets in the ShortCode
Template box
4. In your libraryh3lp snippet, replace the ID number with {id}
5. Scroll down to ShortCode Attributes, click the plus button
6. Fill in:
1. Name: id
2. Default Value: 0
7. Click Publish or Update
8. Find the id of the libraryh3lp snippet you want to embed
9. On any WordPress Page, put [libraryh3lp id=“1234”],
replacing your snippet ID as appropriate
[gallery]
[[gallery]]
HiddenPeanuts.com
bit.ly/wp4lib
https://floridalibrarywebinars.org/building-a-library-website-in-wordpress-ondemand/
https://floridalibrarywebinars.org/media-in-wordpress-ondemand/
DON’T TYPE IT OVER AND OVER
Chad Haefele
Interim Head of User Experience
UNC Chapel Hill Libraries
cHaefele@email.unc.edu
Working with Shortcodes in WordPress
Slides:

Contenu connexe

Tendances

WordPress Plugin Development For Beginners
WordPress Plugin Development For BeginnersWordPress Plugin Development For Beginners
WordPress Plugin Development For Beginnersjohnpbloch
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)Stephanie Leary
 
Week 12 - Search Engine Optimization
Week 12 -  Search Engine OptimizationWeek 12 -  Search Engine Optimization
Week 12 - Search Engine Optimizationhenri_makembe
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme developmenthenri_makembe
 
Wordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short TutorialWordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short TutorialChristos Zigkolis
 
Week 11 - Hosting and Migration
Week 11 - Hosting and MigrationWeek 11 - Hosting and Migration
Week 11 - Hosting and Migrationhenri_makembe
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themeshenri_makembe
 
Week 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetsWeek 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetshenri_makembe
 
Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Edmund Turbin
 
Creating Drupal A Module
Creating Drupal A ModuleCreating Drupal A Module
Creating Drupal A Modulearcaneadam
 
Social Media + WordPress - SoCal WP Meetup
Social Media + WordPress - SoCal WP MeetupSocial Media + WordPress - SoCal WP Meetup
Social Media + WordPress - SoCal WP MeetupNoel Saw
 
WordPress 3.4 Preview
WordPress 3.4 PreviewWordPress 3.4 Preview
WordPress 3.4 PreviewNoel Saw
 
WordPress developer 101
WordPress developer 101WordPress developer 101
WordPress developer 101Cindy Cullen
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Jamie Oastler
 
Working with WordPress in a Team Environment
Working with WordPress in a Team EnvironmentWorking with WordPress in a Team Environment
Working with WordPress in a Team Environmentchristopherfross
 
Theming websites effortlessly with Deliverance (CMSExpo 2010)
Theming websites effortlessly with Deliverance (CMSExpo 2010)Theming websites effortlessly with Deliverance (CMSExpo 2010)
Theming websites effortlessly with Deliverance (CMSExpo 2010)Jazkarta, Inc.
 
Saigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress MeetupSaigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress MeetupTriết Sài Gòn
 

Tendances (20)

WordPress Plugin Development For Beginners
WordPress Plugin Development For BeginnersWordPress Plugin Development For Beginners
WordPress Plugin Development For Beginners
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
 
Week 12 - Search Engine Optimization
Week 12 -  Search Engine OptimizationWeek 12 -  Search Engine Optimization
Week 12 - Search Engine Optimization
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme development
 
Wordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short TutorialWordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short Tutorial
 
Newspapers with WordPress
Newspapers with WordPressNewspapers with WordPress
Newspapers with WordPress
 
Week 11 - Hosting and Migration
Week 11 - Hosting and MigrationWeek 11 - Hosting and Migration
Week 11 - Hosting and Migration
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themes
 
Week 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetsWeek 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgets
 
W pthemes
W pthemesW pthemes
W pthemes
 
Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?
 
Creating Drupal A Module
Creating Drupal A ModuleCreating Drupal A Module
Creating Drupal A Module
 
Social Media + WordPress - SoCal WP Meetup
Social Media + WordPress - SoCal WP MeetupSocial Media + WordPress - SoCal WP Meetup
Social Media + WordPress - SoCal WP Meetup
 
WordPress 3.4 Preview
WordPress 3.4 PreviewWordPress 3.4 Preview
WordPress 3.4 Preview
 
WordPress developer 101
WordPress developer 101WordPress developer 101
WordPress developer 101
 
Drupal Bootcamp Mcn2008
Drupal Bootcamp   Mcn2008Drupal Bootcamp   Mcn2008
Drupal Bootcamp Mcn2008
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
 
Working with WordPress in a Team Environment
Working with WordPress in a Team EnvironmentWorking with WordPress in a Team Environment
Working with WordPress in a Team Environment
 
Theming websites effortlessly with Deliverance (CMSExpo 2010)
Theming websites effortlessly with Deliverance (CMSExpo 2010)Theming websites effortlessly with Deliverance (CMSExpo 2010)
Theming websites effortlessly with Deliverance (CMSExpo 2010)
 
Saigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress MeetupSaigon Wordpress Meetup - Themes Wordpress Meetup
Saigon Wordpress Meetup - Themes Wordpress Meetup
 

En vedette

Maryland Summer Food
Maryland Summer FoodMaryland Summer Food
Maryland Summer Foodmambrosefrac
 
Что помогает животным выживать
Что помогает животным выживатьЧто помогает животным выживать
Что помогает животным выживатьRaikhanaM
 
Technology Use v. Technology Integration
Technology Use v. Technology IntegrationTechnology Use v. Technology Integration
Technology Use v. Technology Integrationadusard
 
Reaction Rate Graph Tutorial 3
Reaction Rate Graph Tutorial 3Reaction Rate Graph Tutorial 3
Reaction Rate Graph Tutorial 3paulbhill
 
House sales customer_satisfaction_survey
House sales customer_satisfaction_surveyHouse sales customer_satisfaction_survey
House sales customer_satisfaction_surveyjsembiring
 
Low Effort, High Impact Mobile Web Development
Low Effort, High Impact Mobile Web DevelopmentLow Effort, High Impact Mobile Web Development
Low Effort, High Impact Mobile Web Developmentchaefele
 
e-Learning Design for Teacher
e-Learning Design for Teachere-Learning Design for Teacher
e-Learning Design for TeacherSunami Hokuto
 
2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги
2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги
2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книгиYevgeny Sinyakov
 
что помогает животным выживать
что помогает животным выживатьчто помогает животным выживать
что помогает животным выживатьRaikhanaM
 
PCカンファレンス2009 日記じゃないのよブログは
PCカンファレンス2009 日記じゃないのよブログはPCカンファレンス2009 日記じゃないのよブログは
PCカンファレンス2009 日記じゃないのよブログはSunami Hokuto
 
The Patent Box: Alternatives to Patents
The Patent Box: Alternatives to PatentsThe Patent Box: Alternatives to Patents
The Patent Box: Alternatives to PatentsJane Lambert
 
Fiche hrst en
Fiche hrst enFiche hrst en
Fiche hrst enriklaunim
 
Beoordelingsportfolio oa-vo
Beoordelingsportfolio oa-voBeoordelingsportfolio oa-vo
Beoordelingsportfolio oa-voguesta9d4c4
 
M&CSAATCHI.GAD Snack Planning Vol.8
M&CSAATCHI.GAD Snack Planning Vol.8M&CSAATCHI.GAD Snack Planning Vol.8
M&CSAATCHI.GAD Snack Planning Vol.8Benoît Pellevoizin
 
持続可能な教材開発プロジェクトのために教師がWebですべきこと
持続可能な教材開発プロジェクトのために教師がWebですべきこと持続可能な教材開発プロジェクトのために教師がWebですべきこと
持続可能な教材開発プロジェクトのために教師がWebですべきことSunami Hokuto
 

En vedette (20)

Maryland Summer Food
Maryland Summer FoodMaryland Summer Food
Maryland Summer Food
 
Что помогает животным выживать
Что помогает животным выживатьЧто помогает животным выживать
Что помогает животным выживать
 
Technology Use v. Technology Integration
Technology Use v. Technology IntegrationTechnology Use v. Technology Integration
Technology Use v. Technology Integration
 
At
AtAt
At
 
Reaction Rate Graph Tutorial 3
Reaction Rate Graph Tutorial 3Reaction Rate Graph Tutorial 3
Reaction Rate Graph Tutorial 3
 
House sales customer_satisfaction_survey
House sales customer_satisfaction_surveyHouse sales customer_satisfaction_survey
House sales customer_satisfaction_survey
 
How To See
How To SeeHow To See
How To See
 
Low Effort, High Impact Mobile Web Development
Low Effort, High Impact Mobile Web DevelopmentLow Effort, High Impact Mobile Web Development
Low Effort, High Impact Mobile Web Development
 
e-Learning Design for Teacher
e-Learning Design for Teachere-Learning Design for Teacher
e-Learning Design for Teacher
 
Greenland - breath taking
Greenland - breath takingGreenland - breath taking
Greenland - breath taking
 
2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги
2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги
2013 ТРИУНА Лидерз, Колесо Инноваций, презентация книги
 
что помогает животным выживать
что помогает животным выживатьчто помогает животным выживать
что помогает животным выживать
 
PCカンファレンス2009 日記じゃないのよブログは
PCカンファレンス2009 日記じゃないのよブログはPCカンファレンス2009 日記じゃないのよブログは
PCカンファレンス2009 日記じゃないのよブログは
 
Google
GoogleGoogle
Google
 
The Patent Box: Alternatives to Patents
The Patent Box: Alternatives to PatentsThe Patent Box: Alternatives to Patents
The Patent Box: Alternatives to Patents
 
Leningrad's Siege
Leningrad's SiegeLeningrad's Siege
Leningrad's Siege
 
Fiche hrst en
Fiche hrst enFiche hrst en
Fiche hrst en
 
Beoordelingsportfolio oa-vo
Beoordelingsportfolio oa-voBeoordelingsportfolio oa-vo
Beoordelingsportfolio oa-vo
 
M&CSAATCHI.GAD Snack Planning Vol.8
M&CSAATCHI.GAD Snack Planning Vol.8M&CSAATCHI.GAD Snack Planning Vol.8
M&CSAATCHI.GAD Snack Planning Vol.8
 
持続可能な教材開発プロジェクトのために教師がWebですべきこと
持続可能な教材開発プロジェクトのために教師がWebですべきこと持続可能な教材開発プロジェクトのために教師がWebですべきこと
持続可能な教材開発プロジェクトのために教師がWebですべきこと
 

Similaire à Working with Shortcodes in WordPress

Working With Media in WordPress
Working With Media in WordPressWorking With Media in WordPress
Working With Media in WordPresschaefele
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentEvan Mullins
 
NEPA BlogCon 2013 - WordPress Customization & Security
NEPA BlogCon 2013 - WordPress Customization & SecurityNEPA BlogCon 2013 - WordPress Customization & Security
NEPA BlogCon 2013 - WordPress Customization & SecurityMichelle Davies (Hryvnak)
 
Introduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin DevelopmentIntroduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin DevelopmentBruce L Chamoff
 
WordPress Customization and Security
WordPress Customization and SecurityWordPress Customization and Security
WordPress Customization and SecurityJoe Casabona
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 Technology
 
Joomla Beginner Template Presentation
Joomla Beginner Template PresentationJoomla Beginner Template Presentation
Joomla Beginner Template Presentationalledia
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopBrendan Sera-Shriar
 
Web components the future is here
Web components   the future is hereWeb components   the future is here
Web components the future is hereGil Fink
 
Writing your own WordPress themes and plugins
Writing your own WordPress themes and pluginsWriting your own WordPress themes and plugins
Writing your own WordPress themes and pluginsStephanie Wells
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme developmentJonny Allbut
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation Micky Metts
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate WorkshopThe Toolbox, Inc.
 
Expanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityTeamstudio
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu
 
Rapidly prototyping web applications using BackPress
Rapidly prototyping web applications using BackPressRapidly prototyping web applications using BackPress
Rapidly prototyping web applications using BackPressNathaniel Taintor
 
WordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute WorkshopWordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute WorkshopBrendan Sera-Shriar
 
Plugin development demystified 2017
Plugin development demystified 2017Plugin development demystified 2017
Plugin development demystified 2017ylefebvre
 

Similaire à Working with Shortcodes in WordPress (20)

WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Working With Media in WordPress
Working With Media in WordPressWorking With Media in WordPress
Working With Media in WordPress
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
 
NEPA BlogCon 2013 - WordPress Customization & Security
NEPA BlogCon 2013 - WordPress Customization & SecurityNEPA BlogCon 2013 - WordPress Customization & Security
NEPA BlogCon 2013 - WordPress Customization & Security
 
Introduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin DevelopmentIntroduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin Development
 
WordPress Customization and Security
WordPress Customization and SecurityWordPress Customization and Security
WordPress Customization and Security
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
Joomla Beginner Template Presentation
Joomla Beginner Template PresentationJoomla Beginner Template Presentation
Joomla Beginner Template Presentation
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
 
Web components the future is here
Web components   the future is hereWeb components   the future is here
Web components the future is here
 
Fundamentals of HTML5
Fundamentals of HTML5Fundamentals of HTML5
Fundamentals of HTML5
 
Writing your own WordPress themes and plugins
Writing your own WordPress themes and pluginsWriting your own WordPress themes and plugins
Writing your own WordPress themes and plugins
 
Rapid WordPress theme development
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme development
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
Expanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate Usability
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For Beginners
 
Rapidly prototyping web applications using BackPress
Rapidly prototyping web applications using BackPressRapidly prototyping web applications using BackPress
Rapidly prototyping web applications using BackPress
 
WordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute WorkshopWordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute Workshop
 
Plugin development demystified 2017
Plugin development demystified 2017Plugin development demystified 2017
Plugin development demystified 2017
 

Plus de chaefele

Building a Library Website in WordPress (2019)
Building a Library Website in WordPress (2019)Building a Library Website in WordPress (2019)
Building a Library Website in WordPress (2019)chaefele
 
Writing Accessibly Online
Writing Accessibly OnlineWriting Accessibly Online
Writing Accessibly Onlinechaefele
 
Improving Analytics with Google Tag Manager
Improving Analytics with Google Tag ManagerImproving Analytics with Google Tag Manager
Improving Analytics with Google Tag Managerchaefele
 
Building an Academic Library Website in WordPress
Building an Academic Library Website in WordPressBuilding an Academic Library Website in WordPress
Building an Academic Library Website in WordPresschaefele
 
Remote Website Testing: How to Assess Your Website for Little or No Cost
Remote Website Testing: How to Assess Your Website for Little or No CostRemote Website Testing: How to Assess Your Website for Little or No Cost
Remote Website Testing: How to Assess Your Website for Little or No Costchaefele
 
Rock your library’s content with Wordpress
Rock your library’s content with WordpressRock your library’s content with Wordpress
Rock your library’s content with Wordpresschaefele
 
Moving Forward: Redesigning UNC's Library Website
Moving Forward: Redesigning UNC's Library WebsiteMoving Forward: Redesigning UNC's Library Website
Moving Forward: Redesigning UNC's Library Websitechaefele
 
Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...
Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...
Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...chaefele
 
Goodbye Gutenberg? The real impact of emerging technologies on libraries, pu...
Goodbye Gutenberg?  The real impact of emerging technologies on libraries, pu...Goodbye Gutenberg?  The real impact of emerging technologies on libraries, pu...
Goodbye Gutenberg? The real impact of emerging technologies on libraries, pu...chaefele
 
Building an app-like experience (without the app)
Building an app-like experience (without the app)Building an app-like experience (without the app)
Building an app-like experience (without the app)chaefele
 
Library in your pocket
Library in your pocketLibrary in your pocket
Library in your pocketchaefele
 
Serious Games - ARGs
Serious Games - ARGsSerious Games - ARGs
Serious Games - ARGschaefele
 

Plus de chaefele (13)

Building a Library Website in WordPress (2019)
Building a Library Website in WordPress (2019)Building a Library Website in WordPress (2019)
Building a Library Website in WordPress (2019)
 
Writing Accessibly Online
Writing Accessibly OnlineWriting Accessibly Online
Writing Accessibly Online
 
Improving Analytics with Google Tag Manager
Improving Analytics with Google Tag ManagerImproving Analytics with Google Tag Manager
Improving Analytics with Google Tag Manager
 
Building an Academic Library Website in WordPress
Building an Academic Library Website in WordPressBuilding an Academic Library Website in WordPress
Building an Academic Library Website in WordPress
 
Remote Website Testing: How to Assess Your Website for Little or No Cost
Remote Website Testing: How to Assess Your Website for Little or No CostRemote Website Testing: How to Assess Your Website for Little or No Cost
Remote Website Testing: How to Assess Your Website for Little or No Cost
 
Rock your library’s content with Wordpress
Rock your library’s content with WordpressRock your library’s content with Wordpress
Rock your library’s content with Wordpress
 
Moving Forward: Redesigning UNC's Library Website
Moving Forward: Redesigning UNC's Library WebsiteMoving Forward: Redesigning UNC's Library Website
Moving Forward: Redesigning UNC's Library Website
 
Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...
Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...
Semi-Automatic Chat: Using a Library of Common Responses to Speed Up Chat Ses...
 
Goodbye Gutenberg? The real impact of emerging technologies on libraries, pu...
Goodbye Gutenberg?  The real impact of emerging technologies on libraries, pu...Goodbye Gutenberg?  The real impact of emerging technologies on libraries, pu...
Goodbye Gutenberg? The real impact of emerging technologies on libraries, pu...
 
Building an app-like experience (without the app)
Building an app-like experience (without the app)Building an app-like experience (without the app)
Building an app-like experience (without the app)
 
Library in your pocket
Library in your pocketLibrary in your pocket
Library in your pocket
 
Serious Games - ARGs
Serious Games - ARGsSerious Games - ARGs
Serious Games - ARGs
 
Args
ArgsArgs
Args
 

Dernier

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
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
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
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
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"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
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
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
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
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
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
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
 
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
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
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
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"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...
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
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
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Working with Shortcodes in WordPress

  • 1. DON’T TYPE IT OVER AND OVER Chad Haefele Interim Head of User Experience UNC Chapel Hill Libraries cHaefele@email.unc.edu Working with Shortcodes in WordPress
  • 2. Previously on Florida Library Webinars… https://floridalibrarywebinars.org/building-a-library-website-in-wordpress-ondemand/
  • 3. Previously on Florida Library Webinars… https://floridalibrarywebinars.org/media-in-wordpress-ondemand/
  • 5.
  • 6.
  • 7.
  • 9. What would you use one for? •Policies •Widgets •Twitter •Libraryh3lp •Galleries •Library hours •Library events
  • 10. Components of other plugins • Formidable • Elegant Themes • $89/year • 3D Viewer: [stl file="/2016/09/filename.stl" ]
  • 11. Working with 3D Models
  • 14. .com usage • Video • en.support.wordpress.com/videos/ • Audio • en.support.wordpress.com/audio/
  • 15. .org usage (built-in) • Video • codex.wordpress.org/Audio_Shortcode • Audio • codex.wordpress.org/Video_Shortcode • Other built-in shortcodes • Caption • Embed: https://codex.wordpress.org/Embeds • Playlist: https://codex.wordpress.org/Playlist_Shortcode • Gallery: https://codex.wordpress.org/Gallery_Shortcode
  • 17. Installing & Using Shortcodes UI wordpress.org/plugins/shortcodes-ui/
  • 18. Build a basic text substitution shortcode 1. Put your reusable text in the top edit box 2. Set the ShortCode Type dropdown to Simple Snippet 3. Choose a ShortCode Tag – this is the text you’ll use to trigger your Shortcode 4. Click the Publish button 5. Go put [YourShortcodeTag] somewhere in a Page or Post.
  • 19. Build a Twitter widget shortcode 1. Get the code for your Twitter widget from twitter.com/settings/widgets 2. Put your Twitter widget code in the top edit box 3. Set the ShortCode Type dropdown to Simple Snippet 4. Choose a ShortCode Tag – this is the text you’ll use to trigger your Shortcode 5. Click the Publish button 6. Go put [YourShortcodeTag] somewhere in a Page or Post.
  • 20. Enable shortcodes in WP widgets WARNING! THIS COULD BREAK THINGS! 1. Under Appearance, go to Editor 2. Edit your functions.php file (it might be called Theme Functions) 3. Add this code near the top of the file: // Enable shortcodes in widgets add_filter('widget_text', 'do_shortcode'); 4. Click Update File Alternatively, use this plugin: wordpress.org/plugins/shortcode-widget/
  • 21. Build a libraryh3lp shortcode (advanced!) 1. Set the ShortCode Type dropdown to Simple One Tag ShortCode 2. Give your Shortcode this tag: libraryh3lp 3. Paste one of your libraryh3lp code snippets in the ShortCode Template box 4. In your libraryh3lp snippet, replace the ID number with {id} 5. Scroll down to ShortCode Attributes, click the plus button 6. Fill in: 1. Name: id 2. Default Value: 0 7. Click Publish or Update 8. Find the id of the libraryh3lp snippet you want to embed 9. On any WordPress Page, put [libraryh3lp id=“1234”], replacing your snippet ID as appropriate
  • 27. DON’T TYPE IT OVER AND OVER Chad Haefele Interim Head of User Experience UNC Chapel Hill Libraries cHaefele@email.unc.edu Working with Shortcodes in WordPress Slides:

Notes de l'éditeur

  1. .com – good first playground
  2. .org – the real deal
  3. Shortcodes put the content management in content management system. Text between brackets automatically displays a pre-set chunk of content.
  4. Shortcodes put the content management in content management system. Text between brackets automatically displays a pre-set chunk of content.
  5. Policies Widgets Galleries
  6. Show shortcuts in the Add Media screen
  7. Shortcodes put the content management in content management system. Text between brackets automatically displays a pre-set chunk of content.
  8. Shortcodes put the content management in content management system. Text between brackets automatically displays a pre-set chunk of content.