Displaying Future and Past Events in the Listing Grid Widget | JetEngine

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 23

  • @Hericjr
    @Hericjr 10 месяцев назад

    Perfect! How can I create a Query Builder that allows me to list posts that contain a meta field of type "date" for the current month? I don't want to list it by the post date, but rather by the date meta field I created.

    • @Crocoblock
      @Crocoblock  9 месяцев назад +1

      To compare the value of the date field and current month, an SQL query is needed. Our support team can give you an example to get the result you need. You will be able to customize it according to your use case. crocoblock.com/help-center/

  • @moallaacademy
    @moallaacademy Год назад

    can you make a video about CCT relationship via front end form?

    • @Crocoblock
      @Crocoblock  Год назад

      Could you please check this article? jetformbuilder.com/features/jetformbuilder-connecting-wordpress-related-items-with-post-submit-actions/
      It's about connecting related items in general which works with CCT items as well. If you have additional questions, contact our support team, please crocoblock.com/help-center/

  • @AnikSharma-o3r
    @AnikSharma-o3r 5 месяцев назад

    could you please explain how to change the Crocoblock date format (2 Aug)

    • @Crocoblock
      @Crocoblock  5 месяцев назад

      kindly try this option in the dynamic field settings i.imgur.com/a8AHxeY.png

  • @AliceMoretti-w1y
    @AliceMoretti-w1y 4 месяца назад

    How can I limit the number of posts I see? I have managed to display the past events but I only would like to see 3 of them. Now all the past events are being shown

    • @Crocoblock
      @Crocoblock  4 месяца назад

      you can do it with the query builder
      limit posts in general - prnt.sc/Xp-WZP9WZfJD
      and per page - prnt.sc/Q1CaXq71l67Q

  • @Dbomb81
    @Dbomb81 9 месяцев назад

    How do I display the next event based on the date and time? Ive got multiple events in a day and I want the next to display as soon as the one before it ends. I’ve switched my meta field and query to datetime but it seems to want to display on date ignore the time.

    • @Crocoblock
      @Crocoblock  9 месяцев назад +1

      Let our support team to check your settings. We need a bit more information about your set up:
      crocoblock.com/help-center/

    • @Dbomb81
      @Dbomb81 9 месяцев назад

      @@Crocoblock my local hosted site time must off but it does work on other sites that are online. Thanks!

  • @AhmetAyabil
    @AhmetAyabil Год назад

    Thank you for the input. Is it possible a strgtotime like before 3 or 6 month? Like "first day of 6month midnight"?

    • @Crocoblock
      @Crocoblock  Год назад

      You may check this information here to get more examples about relative formats which work fine with Query builder
      www.php.net/manual/en/datetime.formats.relative.php
      If you still have any questions, contact our support team, please crocoblock.com/help-center/

  • @Arkano87
    @Arkano87 Год назад

    Guys, I'd like to show my events in the order they will happen (not the order I published). How do I do that?

    • @Crocoblock
      @Crocoblock  Год назад +1

      Hi! 🙂 Here is an example how to order posts (products) by Date meta field saved as a timestamp: prnt.sc/yzVQ20DxpOsK

  • @brcanova
    @brcanova 8 месяцев назад

    Oh my God, thank you so much!

  • @KurtDeLeeuw
    @KurtDeLeeuw Год назад

    How is the pagination working?

    • @Crocoblock
      @Crocoblock  Год назад

      Hi! Please, check this tutorial crocoblock.com/knowledge-base/articles/jetengine-how-to-add-pagination-to-the-listing-grid-widget/

  • @Art-01
    @Art-01 Год назад

    Can i ask why Crocoblock delete my comment? Did i write something wrong? I hope u explain it.

    • @Crocoblock
      @Crocoblock  Год назад +1

      Hi! Probably, it was deleted by RUclips. Could you pleas duplicate your comment?

  • @OfficialYouri
    @OfficialYouri Год назад

    Following your steps, "save as timestamp" will change my date in the front-end to "1689292800". How can I solve this using the timestamp functionality?

    • @Crocoblock
      @Crocoblock  Год назад +1

      That's right, the date is saved in timestamp format. When you create a listing for posts or single post template, use Dynamic field widget with the callback: Format Date: prnt.sc/XKwW-1HDeYLX

    • @OfficialYouri
      @OfficialYouri Год назад

      ​@@Crocoblock Thank you! It's working again.