Taxonomy Sorting & Filter

Posted in: Newspaper
Post count: 174

Hi,
I’m looking for a way to create a list of restaurants / delivery services in order to support the local businesses with postings free of charge on my event-page in times of the current Corona shutdown.
Filtering only seems to work using taxonomies.
I’ve tried this with the td_books, but I’m not strong enough to create it as follows:
Type: Gastro (instead of books)
Type: Pizzeria, snack bar, restaurant (would probably be “genre” for books ) to filter the art of food
Place: the cities around (second genre?)
Type: Pickup / Delivery (to filter)

I would like to use template 5 – but that has to be adjusted – comments or comment counter and date are not necessary. Just as little as matching postings or author box.

Can someone help me step by step in an uncomplicated way so that I, as a noob, understand that too?

  • This topic was modified 5 years by chip303.
Post count: 35449

Hi chip303,
These custom post types are for advance users, this is because you need to know how to make change s in theme files and use the child theme.
But do not worry, I will try my best to help you!
First you need to understand how custom post type is working, for this we’ll check the guide from here -> https://forum.tagdiv.com/custom-post-type-support/ and install our plugin “td_books”.
Now if you want to edit the plugin you need to edit the file from this path -> wp-content/plugins/td-custom-post-type/td-custom-post-type.php lets say that you want to change the name from “Books” in “Restaurants” -> https://i.imgur.com/sgBEIUA.png -> https://i.imgur.com/ChSyHGa.png now this will look like this -> https://i.imgur.com/LqwedMt.png nor lets replace in our code “td_book” with “td_restaurant” -> https://i.imgur.com/KUGe3yN.png -> https://i.imgur.com/JglzrSs.png now this will look like this -> https://i.imgur.com/w5HTO2l.png -> https://i.imgur.com/l2i6vQh.png
Also do not forget to set some templates (copy the template you want to use), these can be set in child theme -> https://i.imgur.com/0K0wah1.png
Hope this will help you!
Thank you!

Post count: 174

Hi Calin,

Yes! It works! Many, many thanks!

Now I can help the local restaurants and snack bars here with a post of their menus and contact details for delivery or pick-up in Corona times and use my reach for this.

Post count: 174

Oh,
a test with a testpost shows 404 ?
i don’t know whats wrong now…

Post count: 174

Reset Permalinks helps – with “no template”.
But that’s not the template that I downloaded and changed with the composer. Apparently a shot is missing somewhere – but I don’t know where.
Forklift - FTP fehnblogger

  • This reply was modified 5 years by chip303.
Post count: 35449

Hi, the loop-single.php is not need to be change only the single-template.php -> https://i.imgur.com/F8DW6Lf.png also if you set the files in child theme, make sure that you enable it from theme panel -> https://i.imgur.com/A5c2wny.png
Let me know the results!

Post count: 174

For a practiced user, it was only 5 minutes, for me 5 hours, always with the fear that something might not work in the end.
I did everything as it is, child theme is active. I then imported and adjusted a single template demo. However, only a “standard” page without a sidebar is displayed.
I am now really at a loss and totally overwhelmed 🙁
Single-Post
Child
Post
ThemePanel

Post count: 174

Would it be possible for you to do that? Is there the option of extended support or direct contact?

Post count: 35449

Hi,
Yes, I can help you, but please note that these custom post type will work only with standard templates, you can not use cloud templates for them.
If you want I can take a look, just let me know what you need exactly and if I can I will help you, for this, please send us an email at contact@tagdiv.com and provide admin login and cPanel. I will take a look. Include a link to this topic in the email.
Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.