How To Create A Shortcode | WordPress Development Tutorial

Поділитися
Вставка
  • Опубліковано 18 тра 2021
  • In this video, we go over how to create a #shortcode in #WordPress
    My favorite caching plugin - WPRocket: wpcasts.tv/go/wprocket
    💖 Become a Patron to show support & get perks!
    / wpcasts
    *SOCIAL*
    Twitter: / alexanderbyoung
    Facebook: / wpcasts.tv
  • Наука та технологія

КОМЕНТАРІ • 20

  • @WPCasts
    @WPCasts  3 роки тому +24

    Normally, I'd advertise my Twitter or something here. But instead, I want you to just know that I appreciate you for watching! Have a good day!

    • @TheMorges1
      @TheMorges1 3 роки тому +2

      thank you for posting this!
      I need to integrate some pretty custom functionality into a packaged theme next week and the client has asked for it to be available through short codes.
      You sir, are an absolute dude!

    • @mariankohn8411
      @mariankohn8411 2 роки тому

      Love your content. Do you have an email list/newsletter?

  • @adesojiadesesan826
    @adesojiadesesan826 Місяць тому

    I love this, thanks for being a blessing to your generation

  • @merajjahir2602
    @merajjahir2602 2 роки тому

    dude i am in love with you ,i am a laravel developer ,and i never really did any thing with wordpress , your detailed videos are a life saver thanks for the content.

  • @alexandrealvarenga1638
    @alexandrealvarenga1638 8 місяців тому

    tks helped me a lot

  • @noise8653
    @noise8653 3 роки тому

    Quick Refreshing! Thank you!

  • @lewisone
    @lewisone Рік тому

    Dude. This is an awesome explanation. Hello World indeed.

  • @PluieMelodique
    @PluieMelodique 3 роки тому

    Thanks for another great explainer!

  • @ravisaraswat6814
    @ravisaraswat6814 3 роки тому

    Thanks for creating videos . You inspire us.
    Please create a playlist for plugin development of WordPress for beginners

  • @Shuyinz
    @Shuyinz 3 роки тому +1

    Can you also please make a part 2 of how you create a something very simple page of a plugin where user can input something inside a text field and then it will generate a shortcode from the WP Admin dashboard?

  • @BuddyQuaid
    @BuddyQuaid Рік тому

    Great video. Got me half way there. I am trying to show posts from a custom post type but when I add the code, no errors or anything but it stops bringing in the menu and is a blank page. The code worked when it was just in a custom page template. I'm wondering if get_posts() is messing with the page when loading?

  • @BuntyWP
    @BuntyWP 3 роки тому

    This is explained very deeply. Thanks for doing that.

  • @MicraHakkinen
    @MicraHakkinen 3 роки тому +1

    Great explanation of the basics of creating a shortcode.
    I was on the fence a bit about whether or not sanitizing and escaping user input should have been mentioned at least. But I think the video is good the way it is, since sanitization and such isn't specific to shortcodes, but a whole topic on its own.

  • @fsh3311
    @fsh3311 2 роки тому

    can i merg tow shortcode in one from diffrent plugins ?
    I need help please!

  • @johnlyons7678
    @johnlyons7678 Рік тому +1

    Where is the php code being saved to? How is the code being written being saved off of the local machine?

    • @tryscope8731
      @tryscope8731 Рік тому

      I think in the plugin folder, where you need to activate it.

  • @JoyHints
    @JoyHints 3 роки тому

    How about creating shortcode for woo commerce for example product name and product regular price etc. I have googled but couldn’t find one that works.

  • @atosupriyanto6990
    @atosupriyanto6990 3 роки тому

    Make more awesome mixin with some cpt

  • @stevandjordjic3924
    @stevandjordjic3924 Рік тому

    Be careful with shortcodes since they are very heavy operation