Display Only Users with Posts in a Listing | JetEngine

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

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

  • @konradkuspit179
    @konradkuspit179 3 месяца назад

    Hi, Crocos.
    Question regarding Dynamic Visibility: is it possible to show a specific object if a user has 0 posts? For example in the front-end, under account page I would like to create a button saying: [ WRITE YOUR FIRST POST ].
    I hope I made it clear.
    Cheers

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

      Hi :)
      you can use the Query has items condition in the dynamic visibility

  • @SadiaEma-yi1rc
    @SadiaEma-yi1rc 2 месяца назад

    where can I find the PHP code you pasted , can not find that PHP code in that knowledge base documentation

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

      you can find it here in the article crocoblock.com/knowledge-base/tips-and-tricks/displaying-only-users-with-posts-in-a-listing/

  • @Website-Developer
    @Website-Developer 7 месяцев назад

    Will this work for CPT that members are posting to? i.e. As Student member/(user role) are posting to a student CPT and would need to include both firstname/lastname

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

      as it works :)
      you need to insert the button to the listing of CPTs which are chosen as corresponding cpts for the cct

    • @Website-Developer
      @Website-Developer 7 месяцев назад

      @@Crocoblock Thank you, I already have a users listing but there are 4 custom user roles. As the code is will it work for all user roles? Each user posts to their own CPT (4 cpts)

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

    Is it possible to show the most recent post of each user in this same list?

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

    Where is the missing code?

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

      Hello! Could you please check the written instructions here?
      crocoblock.com/knowledge-base/tips-and-tricks/displaying-only-users-with-posts-in-a-listing/