Page 3 – RT-Themes | Support Center
-
Search Results
-
Topic: Portfolio Filtering Module
Hi guys,
Please kindly help me with the Our Portfolio filtering system. I would like it to behave similar to this one:
http://3clicks.bringthepixel.com/work-tag/gallery-3-cols-filter-wt/
instead of your default, fade away filtering.
But I have no idea where to edit the css or add in which code, could you please provide me with the codes please?
Thank you so much in advance!
Hello,
a custom taxonomy-template does not works.
I created a Child-Theme and added a new taxonomy for custom post type Portfolio.
The new taxonomy is named “Portfolio-Filter” (Slug => filter) and works like tags.This is the code in function.php inside Child-Theme:
1234567891011register_taxonomy('portfolio_filter',array('portfolio'), array('hierarchical' => true,'label' => __('Portfolio-Filter'),'hierarchical' => false,'show_ui' => true,'query_var' => false,'_builtin' => false,'paged' => true,'rewrite' => array('slug' => 'filter', 'with_front'=>false ),));Than I copied the original file taxonomy-portfolio_categories.php (no changes inside this file) renamed it to taxonomy-portfolio_filter.php and put it to the folder portfolio-contents inside Child-Theme folder.
But when I am clicking on a filter-term. It does not using this template. It’s using the archive.php from parent theme folder. I also tried by put the taxonomy-portfolio_filter.php file into the folder portfolio-contents inside parent-theme-folder. But it’s the same issue. Still using archive.php.
What I did wrong?
And do I have to edit other files?Thanks for help 🙂
***********************
My custom taxonomy is “portfolio_filter” so the template file is named taxonomy-portfolio_filter.php Is is not correct?
I also copied taxonomy-portfolio_categories.php and put it to root directory of the parent-theme and rennamed it to taxonomy.php without editing the content. But it also shows a site without the portfolio-items by clicking on the portfilio_filter term in single-portfolio view. But portofolio-category term works fine in taxonomy.php.
So may I have to edit the file to get an result ;o)
***************************************
Hi Neo,
I really appreciate your help!
Thank you very much at this point!Please look the single portfolio-page:
http://lk-service.com/cms/referenz/metallbearbeitung-joch-neue-webseite/Clicking on the portfolio-filter terms and the portfolio category term below the image.
Both load the taxonomy.php (an original copy of taxonomy-portfolio_categories.php).
But my custom portfolio-filter terms don’t list the items.You know what I mean and what I want?
I am sorry for missunderstanding.
My English is not the best.If you need an admin-access for wordpress-backend.
Please let me know.*************************************
taxonomy.php has original content of taxonomy-portfolio_categories.php. No changes, except the text note.
No changes in function.php in parent-theme directory.
function.php in child-theme directory has only the register taxonomy code in my first post above.In single-portfolio-content.php in child-theme folder, I added:
<?php the_taxonomies(); ?>
Thank you very much!