Daniel Osorio

Forum Replies Created

Viewing 2 posts - 26 through 27 (of 27 total)

Daniel Osorio
Participant

Hi Nayeem,

The function get_terms doesn’t say anything about post_type, but that is not the problem. The problem is that you are passing the wrong taxonomy name to it.

You are sending 'taxonomy' ► 'wpdmtag' when you should be sending 'taxonomy' ► 'post_tag'.

You declare post_tag on download-manager.php line 231: 'taxonomies' ► array('post_tag'),. There is no reference to wpdmtag on your declaration.

You can also confirm this by going to the admin URL of the tags on WordPress: /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=wpdmpro

This should fix the non-showing tags on the archive filter.

However, this does not fix why no files are shown when clicking on a Category or Tag. This is still a problem I am experiencing with wpdm-archive-page.

Thank you


Daniel Osorio
Participant

Thank you, Nayeem.

Unfortunately, that doesn’t work. I believe the problem is in your code, not in your shortcode.

I sent you the code to fix how to fetch the Tags, so I don’t know how it can work on your side.

The categories still don’t work. They are displayed correctly on my archive filter view, but it doesn’t fetch any content when I click on one category.

Could you please look at the code that fetches the downloads once a visitor filters by a category/tag?

Thank you

Viewing 2 posts - 26 through 27 (of 27 total)