Topic: [Ask] Wordpress : create dropdown list listing all the posts ?

toshfox free asked 5 years ago


Hi guys

After following the wordpress tutorial on MDB ,, I would like to ask something :In the sidebar, I want to add a dropdown list listing all the posts created and which will be created. (automatically)

what would be the best method ? (loop and hook) I don't know if i can choose a dropdown list button or as a form elements

Can you help me ?

Screenshot

As you can see I don't know how to display automatically each categoryand the other posts ...Plus I just realize I need to add a button to go the selected post ? it 's complicated for me :'(

thanks for reading me


Arkadiusz Cacko staff answered 5 years ago


Hi @toshfox

Here is the small example how you can put all posts automatically in dropdown.

Please check also our MDB documentation to create material dropdown. https://mdbootstrap.com/docs/jquery/components/dropdowns/

Regards

Arek


toshfox free commented 5 years ago

thank u, but my problem was more about how to use on wordpress. I followed the mdb guide about creating wordpress theme , but I don't know the hook system and loops ..

Anyway, I found a plan B, I do it manually without loops .. lol but thanks for your help



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.11
  • Device: PC
  • Browser: chrome
  • OS: w10
  • Provided sample code: No
  • Provided link: No