I am new to drupal, i have created 2 different content types i.e. Online and Offline. I want to add content type filter dropdown on taxonomy page to select any one content type from online/ offline. Can anyone help?
Instead of creating the two different content type i.e. online and offline, you should create vocabulary with two terms and then add "term reference" field to that content type.
You can use the views module to create the taxonomy listing. Within Views you can add an exposed filter, which allows users to select which content to view, Offline or Online.
There are many guides on views, so I wont go into the actual detail of how to configure the view itself.
taxonomy by adding
vocabulary : modes(say). Add terms in it. "Online".
Add second term : "Offline". Now create field in your
entity - content type/taxonomy wherever you want and add a field of type
term reference. Choose
widget select list. Now choose your vocabulary name from select list. And this way you can achieve the result.
If still having any issue you can ask.