how to add code to a heading to appear only when there are items in a wishlist

[ad_1]

hello! i am editing my wordpress page with elementor and i was wondering if i could make the header text (look at the arrow – it translates to “my wishlist”) appear only when the wishlist below it has some items in it (otherwise it’s just text and nothing below which is weird for most users because they haven’t added anything to their wishlist yet). is there any custom code i can add?

i hope my question wasn’t too confusing. i will be grateful for any help that i receive. thank you!

https://preview.redd.it/umd9t2lmkz5d1.png?width=1886&format=png&auto=webp&s=d487c8952a67c75fef1729b77d5d2b825b87c880

[ad_2]
1 Comment
  1. No. Instead you’d generally include content, like a link to “add new Wishlist item” below the list, that way, there’s always something there.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer