SlideShare a Scribd company logo
@rhonaldomaster #WCBogota
Plugins in WordPress?
No, shortcodes!
Rhonalf Martinez
@rhonaldomaster #WCBogota
Rhonalf Martinez
@rhonaldomaster
Front-end dev at Koombea
@rhonaldomaster #WCBogota
What’s this about all
about?
● What can I use it for?
● And where do I put it on the site?
● Action (without lights and cameras?)
● Some documentation.
● Farewell.
@rhonaldomaster #WCBogota
Reusable snippets [shortcodes]
● Reuses ... what?
● Reusable snippet = reusable code.
● Can be used anywhere on the site.
● You do it your way.
@rhonaldomaster #WCBogota
I understand ... and what can I use it
for?
For whatever you need!
● Customize your site with these tools your way.
● You do not have to repeat code.
● You can do them yourself or look for some implemented code
on the internet.
@rhonaldomaster #WCBogota
Excellent! And how do I
create them?
● It’s code, so you can simply use your favorite editor.
● Add them to the theme's functions.php file.
● Use them on your site!
@rhonaldomaster #WCBogota
Ready, set, go!
@rhonaldomaster #WCBogota
A shortcode is added to the site using the syntax [nameshortcode].
You can receive parameters [nameshortcode parameter = "Hello"].
You can also send content [nameshortcode] Hello Mom! [/
Shortcode].
The shortcode will return a string that will be written to the page.
@rhonaldomaster #WCBogota
After creating your shortcode, we tell Wordpress that we want to
use it.
To do this, we use the following instruction:
add_shortcode ('name_user', 'create_user');
In our case:
add_shortcode ('nameshortcode', 'say hi_to_mom');
@rhonaldomaster #WCBogota
And then what?
Now comes the simple part:
You just have to place the shortcode in the editor in your entry or
page:
@rhonaldomaster #WCBogota
And in your post / page you will see this:
Yes, that's it.
@rhonaldomaster #WCBogota
Are there any predefined shortcodes?
Sure! Wordpress has the following:
● [audio] - https://codex.wordpress.org/Audio_Shortcode
● [caption] - https://codex.wordpress.org/Caption_Shortcode
● [embed] - https://codex.wordpress.org/Embed_Shortcode
● [gallery] - https://codex.wordpress.org/Gallery_Shortcode
● [playlist] - https://codex.wordpress.org/Playlist_Shortcode
● [video] - https://codex.wordpress.org/Video_Shortcode
@rhonaldomaster #WCBogota
Let's create a shortcode!
@rhonaldomaster #WCBogota
We can use these online tools
https://generatewp.com/shortcodes/
https://www.nimbusthemes.com/add-shortcode-wordpress-snippe
t-generator
@rhonaldomaster #WCBogota
When using the tool
Both will give us a text or code, which we must place in the file
functions.php of the theme of our site.
Then, we can use the shortcode in the input or page we want!
// Add Shortcode
function custom_shortcode() {
return '<span>Hola mamá, mira lo que hice</span>';
}
add_shortcode( 'testing', 'custom_shortcode' );
@rhonaldomaster #WCBogota
Some documentation
● https://codex.wordpress.org/Shortcode
● https://ayudawp.com/que-son-los-shortcodes-y-como-crearlos/
● http://manuelvicedo.com/wordpress/guia-shortcodes/
● https://codex.wordpress.org/Shortcode_API
● https://generatewp.com/shortcodes/
● https://www.nimbusthemes.com/add-shortcode-wordpress-snippet-generator/
● http://wptricks.net/added-permalinks-shortcode-on-wordpress/
● http://programacionmultimedia.net/php-crear-un-shortcode-personalizado-para-
wordpress/
@rhonaldomaster #WCBogota
Thank you :)

More Related Content

What's hot

SEO Before Yoast: WordCamp Rhode Island
SEO Before Yoast: WordCamp Rhode IslandSEO Before Yoast: WordCamp Rhode Island
SEO Before Yoast: WordCamp Rhode Island
Kerch McConlogue
 
Joomla JLayout
Joomla JLayout Joomla JLayout
Joomla JLayout
Roberto Segura
 
Presentasi jlp
Presentasi jlpPresentasi jlp
Presentasi jlp
Ikhsan Noor Rosyidin
 
ARTDM 170, Week 16: Publishing
ARTDM 170, Week 16: PublishingARTDM 170, Week 16: Publishing
ARTDM 170, Week 16: PublishingGilbert Guerrero
 
From zero to hero with kotlin &amp; spring boot
From zero to hero with kotlin &amp; spring bootFrom zero to hero with kotlin &amp; spring boot
From zero to hero with kotlin &amp; spring boot
Debora Gomez Bertoli
 
Python id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django ProjectPython id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django Project
Ikhsan Noor Rosyidin
 
Introduction of programming tips site
Introduction of programming tips siteIntroduction of programming tips site
Introduction of programming tips site
Ryosuke Miyahara
 

What's hot (7)

SEO Before Yoast: WordCamp Rhode Island
SEO Before Yoast: WordCamp Rhode IslandSEO Before Yoast: WordCamp Rhode Island
SEO Before Yoast: WordCamp Rhode Island
 
Joomla JLayout
Joomla JLayout Joomla JLayout
Joomla JLayout
 
Presentasi jlp
Presentasi jlpPresentasi jlp
Presentasi jlp
 
ARTDM 170, Week 16: Publishing
ARTDM 170, Week 16: PublishingARTDM 170, Week 16: Publishing
ARTDM 170, Week 16: Publishing
 
From zero to hero with kotlin &amp; spring boot
From zero to hero with kotlin &amp; spring bootFrom zero to hero with kotlin &amp; spring boot
From zero to hero with kotlin &amp; spring boot
 
Python id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django ProjectPython id meetup, Maintaining a Dirty Code Django Project
Python id meetup, Maintaining a Dirty Code Django Project
 
Introduction of programming tips site
Introduction of programming tips siteIntroduction of programming tips site
Introduction of programming tips site
 

Similar to Plugins on word press

Build and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsBuild and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 Mins
Jeff Hull
 
User Experience for WordPress Platforms
User Experience for WordPress PlatformsUser Experience for WordPress Platforms
User Experience for WordPress Platforms
Cody Landefeld
 
Debugging WordPress Core and Plugins!
Debugging WordPress Core and Plugins!Debugging WordPress Core and Plugins!
Debugging WordPress Core and Plugins!
Bronson Quick
 
Startup and Rapid web development
Startup and Rapid web developmentStartup and Rapid web development
Startup and Rapid web development
Lalit Shandilya
 
A Pocketful of Pro-tips
A Pocketful of Pro-tipsA Pocketful of Pro-tips
A Pocketful of Pro-tips
Tammy Valgardson
 
Good code, Bad Code
Good code, Bad CodeGood code, Bad Code
Good code, Bad Codejosedasilva
 
Ruby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start UpRuby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start Up
Prateek Saxena
 
How To Theme: A Design Workflow for WordPress
How To Theme: A Design Workflow for WordPressHow To Theme: A Design Workflow for WordPress
How To Theme: A Design Workflow for WordPress
Joel G Goodman
 
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
Horacio Gonzalez
 
Death of a Themer - Frontend United - 14 April 2013
Death of a Themer - Frontend United - 14 April 2013Death of a Themer - Frontend United - 14 April 2013
Death of a Themer - Frontend United - 14 April 2013
Matt Fielding
 
WordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’tsWordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’ts
Taylor McCaslin
 
Idiomatic R for Rosetta Code (2013)
Idiomatic R for Rosetta Code (2013)Idiomatic R for Rosetta Code (2013)
Idiomatic R for Rosetta Code (2013)Peter Kofler
 
Devoxx France - Web Components, Polymer et Material Design
Devoxx France -  Web Components, Polymer et Material DesignDevoxx France -  Web Components, Polymer et Material Design
Devoxx France - Web Components, Polymer et Material Design
Horacio Gonzalez
 
WordPress as a Headless CMS - Bronson Quick
WordPress as a Headless CMS - Bronson QuickWordPress as a Headless CMS - Bronson Quick
WordPress as a Headless CMS - Bronson Quick
WordCamp Sydney
 
The RPG Dude - Episode 2 - Globalization
The RPG Dude - Episode 2 - GlobalizationThe RPG Dude - Episode 2 - Globalization
The RPG Dude - Episode 2 - Globalization
looksoftware
 
Intro To Django
Intro To DjangoIntro To Django
Intro To Django
Udi Bauman
 
MAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATION
MAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATIONMAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATION
MAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATION
Makarand Mane
 
Wordpress Questions & Answers
Wordpress Questions & AnswersWordpress Questions & Answers
Wordpress Questions & Answers
Nicole Dion
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress Multisite
Taylor McCaslin
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second Counts
Joshua Warren
 

Similar to Plugins on word press (20)

Build and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 MinsBuild and Deploy a Python Web App to Amazon in 30 Mins
Build and Deploy a Python Web App to Amazon in 30 Mins
 
User Experience for WordPress Platforms
User Experience for WordPress PlatformsUser Experience for WordPress Platforms
User Experience for WordPress Platforms
 
Debugging WordPress Core and Plugins!
Debugging WordPress Core and Plugins!Debugging WordPress Core and Plugins!
Debugging WordPress Core and Plugins!
 
Startup and Rapid web development
Startup and Rapid web developmentStartup and Rapid web development
Startup and Rapid web development
 
A Pocketful of Pro-tips
A Pocketful of Pro-tipsA Pocketful of Pro-tips
A Pocketful of Pro-tips
 
Good code, Bad Code
Good code, Bad CodeGood code, Bad Code
Good code, Bad Code
 
Ruby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start UpRuby on Rails - The Best Track for your Start Up
Ruby on Rails - The Best Track for your Start Up
 
How To Theme: A Design Workflow for WordPress
How To Theme: A Design Workflow for WordPressHow To Theme: A Design Workflow for WordPress
How To Theme: A Design Workflow for WordPress
 
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
ENIB 2015-2016 - CAI Web - S01E01- Côté navigateur 3/3 - Web components avec ...
 
Death of a Themer - Frontend United - 14 April 2013
Death of a Themer - Frontend United - 14 April 2013Death of a Themer - Frontend United - 14 April 2013
Death of a Themer - Frontend United - 14 April 2013
 
WordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’tsWordPress Multisite Network Do’s & Don’ts
WordPress Multisite Network Do’s & Don’ts
 
Idiomatic R for Rosetta Code (2013)
Idiomatic R for Rosetta Code (2013)Idiomatic R for Rosetta Code (2013)
Idiomatic R for Rosetta Code (2013)
 
Devoxx France - Web Components, Polymer et Material Design
Devoxx France -  Web Components, Polymer et Material DesignDevoxx France -  Web Components, Polymer et Material Design
Devoxx France - Web Components, Polymer et Material Design
 
WordPress as a Headless CMS - Bronson Quick
WordPress as a Headless CMS - Bronson QuickWordPress as a Headless CMS - Bronson Quick
WordPress as a Headless CMS - Bronson Quick
 
The RPG Dude - Episode 2 - Globalization
The RPG Dude - Episode 2 - GlobalizationThe RPG Dude - Episode 2 - Globalization
The RPG Dude - Episode 2 - Globalization
 
Intro To Django
Intro To DjangoIntro To Django
Intro To Django
 
MAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATION
MAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATIONMAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATION
MAKE YOUR THEMES AND PLUGINS READY FOR TRANSLATION
 
Wordpress Questions & Answers
Wordpress Questions & AnswersWordpress Questions & Answers
Wordpress Questions & Answers
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress Multisite
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second Counts
 

More from Koombea

Machine learning: Koombea TechTalks
Machine learning: Koombea TechTalks  Machine learning: Koombea TechTalks
Machine learning: Koombea TechTalks
Koombea
 
How to Define an MVP: Koombea TechTalks
How to Define an MVP: Koombea TechTalks How to Define an MVP: Koombea TechTalks
How to Define an MVP: Koombea TechTalks
Koombea
 
Infrastructure as Code with Terraform: Koombea TechTalks
Infrastructure as Code with Terraform: Koombea TechTalksInfrastructure as Code with Terraform: Koombea TechTalks
Infrastructure as Code with Terraform: Koombea TechTalks
Koombea
 
How WordPress Frameworks actually work
How WordPress Frameworks actually workHow WordPress Frameworks actually work
How WordPress Frameworks actually work
Koombea
 
Wordpress develompent with Docker
Wordpress develompent with DockerWordpress develompent with Docker
Wordpress develompent with Docker
Koombea
 
How to make wordpress an effective tool for the design of usable and function...
How to make wordpress an effective tool for the design of usable and function...How to make wordpress an effective tool for the design of usable and function...
How to make wordpress an effective tool for the design of usable and function...
Koombea
 
Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks
Koombea
 
Dynamic Project Management: Koombea TechTalks
Dynamic Project Management: Koombea TechTalksDynamic Project Management: Koombea TechTalks
Dynamic Project Management: Koombea TechTalks
Koombea
 
A Look Into Blockchain: Koombea TechTalks
A Look Into Blockchain: Koombea TechTalks A Look Into Blockchain: Koombea TechTalks
A Look Into Blockchain: Koombea TechTalks
Koombea
 
Building Innovative Products for SaaS
Building Innovative Products for SaaSBuilding Innovative Products for SaaS
Building Innovative Products for SaaS
Koombea
 
Intro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalksIntro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalks
Koombea
 
Growing from 0 to 100 million users
Growing from 0 to 100 million usersGrowing from 0 to 100 million users
Growing from 0 to 100 million users
Koombea
 
UX vs. UI? (SPA)
UX vs. UI? (SPA)UX vs. UI? (SPA)
UX vs. UI? (SPA)
Koombea
 
Swift for back end: A new generation of full stack languages?
Swift for back end: A new generation of full stack languages?Swift for back end: A new generation of full stack languages?
Swift for back end: A new generation of full stack languages?
Koombea
 
How To Deliver a Project With a 150% Advance
How To Deliver a Project With a 150% AdvanceHow To Deliver a Project With a 150% Advance
How To Deliver a Project With a 150% Advance
Koombea
 
Implementing Mobile Application on your retail Store
Implementing Mobile Application on your retail StoreImplementing Mobile Application on your retail Store
Implementing Mobile Application on your retail Store
Koombea
 
How CMOs Can Build a Mobile App Strategy
How CMOs Can Build a Mobile App StrategyHow CMOs Can Build a Mobile App Strategy
How CMOs Can Build a Mobile App Strategy
Koombea
 
Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...
Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...
Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...
Koombea
 
New Koombea Branding and Logo (2014)
New Koombea Branding and Logo (2014)New Koombea Branding and Logo (2014)
New Koombea Branding and Logo (2014)
Koombea
 
Responsive Mit Irhem Webseiten (German Edition)
Responsive Mit Irhem Webseiten (German Edition)Responsive Mit Irhem Webseiten (German Edition)
Responsive Mit Irhem Webseiten (German Edition)
Koombea
 

More from Koombea (20)

Machine learning: Koombea TechTalks
Machine learning: Koombea TechTalks  Machine learning: Koombea TechTalks
Machine learning: Koombea TechTalks
 
How to Define an MVP: Koombea TechTalks
How to Define an MVP: Koombea TechTalks How to Define an MVP: Koombea TechTalks
How to Define an MVP: Koombea TechTalks
 
Infrastructure as Code with Terraform: Koombea TechTalks
Infrastructure as Code with Terraform: Koombea TechTalksInfrastructure as Code with Terraform: Koombea TechTalks
Infrastructure as Code with Terraform: Koombea TechTalks
 
How WordPress Frameworks actually work
How WordPress Frameworks actually workHow WordPress Frameworks actually work
How WordPress Frameworks actually work
 
Wordpress develompent with Docker
Wordpress develompent with DockerWordpress develompent with Docker
Wordpress develompent with Docker
 
How to make wordpress an effective tool for the design of usable and function...
How to make wordpress an effective tool for the design of usable and function...How to make wordpress an effective tool for the design of usable and function...
How to make wordpress an effective tool for the design of usable and function...
 
Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks Simplifying Code: Koombea TechTalks
Simplifying Code: Koombea TechTalks
 
Dynamic Project Management: Koombea TechTalks
Dynamic Project Management: Koombea TechTalksDynamic Project Management: Koombea TechTalks
Dynamic Project Management: Koombea TechTalks
 
A Look Into Blockchain: Koombea TechTalks
A Look Into Blockchain: Koombea TechTalks A Look Into Blockchain: Koombea TechTalks
A Look Into Blockchain: Koombea TechTalks
 
Building Innovative Products for SaaS
Building Innovative Products for SaaSBuilding Innovative Products for SaaS
Building Innovative Products for SaaS
 
Intro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalksIntro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalks
 
Growing from 0 to 100 million users
Growing from 0 to 100 million usersGrowing from 0 to 100 million users
Growing from 0 to 100 million users
 
UX vs. UI? (SPA)
UX vs. UI? (SPA)UX vs. UI? (SPA)
UX vs. UI? (SPA)
 
Swift for back end: A new generation of full stack languages?
Swift for back end: A new generation of full stack languages?Swift for back end: A new generation of full stack languages?
Swift for back end: A new generation of full stack languages?
 
How To Deliver a Project With a 150% Advance
How To Deliver a Project With a 150% AdvanceHow To Deliver a Project With a 150% Advance
How To Deliver a Project With a 150% Advance
 
Implementing Mobile Application on your retail Store
Implementing Mobile Application on your retail StoreImplementing Mobile Application on your retail Store
Implementing Mobile Application on your retail Store
 
How CMOs Can Build a Mobile App Strategy
How CMOs Can Build a Mobile App StrategyHow CMOs Can Build a Mobile App Strategy
How CMOs Can Build a Mobile App Strategy
 
Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...
Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...
Instant Mobile Experiences: How to Create Unique In-Store Marketing Opportuni...
 
New Koombea Branding and Logo (2014)
New Koombea Branding and Logo (2014)New Koombea Branding and Logo (2014)
New Koombea Branding and Logo (2014)
 
Responsive Mit Irhem Webseiten (German Edition)
Responsive Mit Irhem Webseiten (German Edition)Responsive Mit Irhem Webseiten (German Edition)
Responsive Mit Irhem Webseiten (German Edition)
 

Recently uploaded

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 

Recently uploaded (20)

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 

Plugins on word press

  • 2. Plugins in WordPress? No, shortcodes! Rhonalf Martinez @rhonaldomaster #WCBogota
  • 3. Rhonalf Martinez @rhonaldomaster Front-end dev at Koombea @rhonaldomaster #WCBogota
  • 4. What’s this about all about? ● What can I use it for? ● And where do I put it on the site? ● Action (without lights and cameras?) ● Some documentation. ● Farewell. @rhonaldomaster #WCBogota
  • 5. Reusable snippets [shortcodes] ● Reuses ... what? ● Reusable snippet = reusable code. ● Can be used anywhere on the site. ● You do it your way. @rhonaldomaster #WCBogota
  • 6. I understand ... and what can I use it for? For whatever you need! ● Customize your site with these tools your way. ● You do not have to repeat code. ● You can do them yourself or look for some implemented code on the internet. @rhonaldomaster #WCBogota
  • 7. Excellent! And how do I create them? ● It’s code, so you can simply use your favorite editor. ● Add them to the theme's functions.php file. ● Use them on your site! @rhonaldomaster #WCBogota
  • 9. A shortcode is added to the site using the syntax [nameshortcode]. You can receive parameters [nameshortcode parameter = "Hello"]. You can also send content [nameshortcode] Hello Mom! [/ Shortcode]. The shortcode will return a string that will be written to the page. @rhonaldomaster #WCBogota
  • 10. After creating your shortcode, we tell Wordpress that we want to use it. To do this, we use the following instruction: add_shortcode ('name_user', 'create_user'); In our case: add_shortcode ('nameshortcode', 'say hi_to_mom'); @rhonaldomaster #WCBogota
  • 11. And then what? Now comes the simple part: You just have to place the shortcode in the editor in your entry or page: @rhonaldomaster #WCBogota
  • 12. And in your post / page you will see this: Yes, that's it. @rhonaldomaster #WCBogota
  • 13. Are there any predefined shortcodes? Sure! Wordpress has the following: ● [audio] - https://codex.wordpress.org/Audio_Shortcode ● [caption] - https://codex.wordpress.org/Caption_Shortcode ● [embed] - https://codex.wordpress.org/Embed_Shortcode ● [gallery] - https://codex.wordpress.org/Gallery_Shortcode ● [playlist] - https://codex.wordpress.org/Playlist_Shortcode ● [video] - https://codex.wordpress.org/Video_Shortcode @rhonaldomaster #WCBogota
  • 14. Let's create a shortcode! @rhonaldomaster #WCBogota
  • 15. We can use these online tools https://generatewp.com/shortcodes/ https://www.nimbusthemes.com/add-shortcode-wordpress-snippe t-generator @rhonaldomaster #WCBogota
  • 16. When using the tool Both will give us a text or code, which we must place in the file functions.php of the theme of our site. Then, we can use the shortcode in the input or page we want! // Add Shortcode function custom_shortcode() { return '<span>Hola mamá, mira lo que hice</span>'; } add_shortcode( 'testing', 'custom_shortcode' ); @rhonaldomaster #WCBogota
  • 17. Some documentation ● https://codex.wordpress.org/Shortcode ● https://ayudawp.com/que-son-los-shortcodes-y-como-crearlos/ ● http://manuelvicedo.com/wordpress/guia-shortcodes/ ● https://codex.wordpress.org/Shortcode_API ● https://generatewp.com/shortcodes/ ● https://www.nimbusthemes.com/add-shortcode-wordpress-snippet-generator/ ● http://wptricks.net/added-permalinks-shortcode-on-wordpress/ ● http://programacionmultimedia.net/php-crear-un-shortcode-personalizado-para- wordpress/ @rhonaldomaster #WCBogota