Quantcast
Channel: WordPress.org Forums » [WP-Filebase Download Manager] Support
Viewing all articles
Browse latest Browse all 1341

stefanluk on "[Plugin: WP-Filebase Download Manager] No custom post type, What else?"

$
0
0

I don't need single File Pages. Let me try to explain myself a little better.

The download section of my site goes 4 category levels deep.

I want to use the category list widget in my sidebar to show to first 3 levels. When you click on level 1, it expands and shows all level 2 categories. When you click level 2, it expands and shows all level 3 categories. (I can do this myself).

But when you click on a 3rd level category, I want the page to show ALL the downloads, sorted by category.

Therefore, I thought that I could edit the template file being used. And do the following:
1. Check for a Custom Post Type (used by WP-Filebase) in an if statement.
2. Then if that condition is true, get the taxonomy of the current Filebase category and store this in a variable.
3. Use the do_shortcode function to call a WP Filebase category on the page.
4. Use the variable to show the right category

But since WP-Filebase isn't using Custom Post types like this, I don't know how to do this.

Is this possible?

Ps. I've added a screenshot of my situation.


Viewing all articles
Browse latest Browse all 1341

Trending Articles