3 Methods for Overriding Templates In WordPress

Поділитися
Вставка
  • Опубліковано 9 бер 2021
  • In this video, we go over 3 different methods for overriding WordPress templates.
    Code: github.com/alexander-young/te...
    My favorite caching plugin - WPRocket: wpcasts.tv/go/wprocket
    💖 Become a Patron to show support & get perks!
    / wpcasts
    Sign up for the newsletter. Free course coming soon:
    wpcasts.tv
    *SOCIAL*
    Twitter: / alexanderbyoung
    Facebook: / wpcasts.tv
  • Наука та технологія

КОМЕНТАРІ • 20

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

    I was searching for this ALL day! Thank you soo much!

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

    Thank you. Its so hard to find good WP Development tutorials like this

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

    You deserve way more subs... Just a matter of time surely! Keep up the great work and thanks for sharing

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

      Fingers crossed!

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

    Absolute Amazing Video on overriding and do_action ! Thank you so much!

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

    You are such a great dude. Thank you very much indeed for your videos!!!

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

    The Astra theme makes heavy use of do_action (and a lot of filter) which makes it perfect to use as a base theme. Very flexible and extendable!

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

    I came up with yet another approach for composer-based deployment - composer-patches.
    You create a small patch against the theme (or plugin) code and keep it in your repo.
    Very handy if you need to change just w few lines in the upstream component, e.g. introduce this one missing action.
    You can keep upgrading the component as you would normally with `composer update` and the moment your patch stops applying composer will tell you.

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

    Thank you so much for your wonderful videos. I am preparing for the WordPress Developer position now. Can you share ideas of what to expect from technical interviews? What kind of tasks do you think are popular among recruiters for this position?

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

    I need to override a plugin on Sage theme, any idea

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

    Hi WP Casts, been listening to your videos the last few day and enjoy the content. One question about anonymous functions. I understand they're either deprecated or outright not recommended to use in PHP 7.2 and above. Is that right?

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

    Hi! I really appreciate your work! Could you please tell about how to pass arguments to actions:
    For example I have a piece of code like this:
    add_action( 'action-name', function ( $event ) {
    $data = $event->get_data();
    // do staff ...
    }
    What I want to do is:
    add_action('action-name', Class::method($event));
    But its not working. And the question is: Is it possible, if it is, then how?

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

    Woohaa!

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

    Hi sir, out of topic, but would you consider creating a custom divi moduile tutorial? like the custom elementor module video that you did

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

      Please Sir, create a custom divi module just like what you've done in custom elementor.

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

    Can you please make a tutorial on how to extend the wordpress metadata api for creating custom tables. Please, as soon as possible...please...

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

    time to update 6.2 doesn't have a partials folder just a templates folder..

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

    Honestly, this is why I hate Wordpress. I mean I use it all the time, but that is just convoluted.