Make Anything Native in WordPress with Cornerstone's Element Parameters

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น •

  • @BGdev305
    @BGdev305 9 หลายเดือนก่อน +1

    Powerful!
    You guys are THEE first devs to bring true dynamic components to WP.

  • @Schauk
    @Schauk ปีที่แล้ว

    Thank you Josh, your tutorials are always great!

    • @yourthemeco
      @yourthemeco  ปีที่แล้ว

      Glad you are enjoying them!

  • @Kennyboy707
    @Kennyboy707 ปีที่แล้ว

    Amazing work as always Josh and the parameters are sooooo powerful it's unreal.

  • @cindyhood-siegal6422
    @cindyhood-siegal6422 ปีที่แล้ว

    Thanks Josh! Your videos are always clear and easy to understand. Can you elaborate on WHY someone would use params rather than just putting different verbiage in the shortcode, or targeting the colors with CSS? I'd be interested to hear a real-world use case.

    • @yourthemeco
      @yourthemeco  ปีที่แล้ว

      There are many reasons but it comes down to what your end goals are. Parameters help you construct design systems for Elements compared to one-off implementations. Part of the reason we surfaced Parameters for customers in Cornerstone is it was much of the tooling we used internally to create custom Elements.

  • @visualmodo
    @visualmodo ปีที่แล้ว

    Very good content :)

  • @osvaldobranquinho2652
    @osvaldobranquinho2652 ปีที่แล้ว

    That´s cool! But what is stopping me from doing exactly the same with a simple button element, which has more control?

    • @yourthemeco
      @yourthemeco  ปีที่แล้ว

      Element Parameters are a completely different approach to Element construction, and more importantly, management. We give an example from the docs specifically about a Button. Here it is for reference, but do take some time to read the entire docs on Parameters: theme.co/docs/parameters. "Let's take the humble Button. It is likely that if you have made this into a Component, you will want to update some content within it on a case-by-case basis. The two most common pieces of content you may wish to update within the button are its text label and href value. With Parameters, we could easily create custom controls on our button component and wire them up where necessary to expose these data-points and make them editable per instance."