-
AuthorPosts
-
February 5, 2019 at 2:17 am #1062965
Is there a way to create a custom title that is different than the category filters on a portfolio page? (av-current-sort-title)
All, Design, Illustration, Photography
Users select the filter but the header title can be customized and different than the actual category selector?For instance: All, Design, Illustration, Photography
user selects Design – but the .av-current-sort-title changes to “BEST DESIGNS YOU HAVE EVER SEEN!”thanks!
February 6, 2019 at 4:12 pm #1063683As a follow up, I did find “Replace the word “ALL” in portfolio filter” in the documentation:
/** * Use the "avf_portfolio_sort_first_label" filter changes first label (All) in Portfolio Grid element * **/ add_filter('avf_portfolio_sort_first_label','new_portfolio_first_label'); function new_portfolio_first_label() { $first_item_name = " NEW ALL TEXT "; return $first_item_name; }
I assume this would work for, $second_item_name; $third_item_name; $fourth_item_name; – would this be correct?
Also, how would I only apply it to the .av-current-sort-title and not effect the titles of the sort_by_cat items?
thanks!February 7, 2019 at 9:16 am #1063932Applying custom title(s) to .av-current-sort-title and not effect the titles of the sort_by_cat items?
Anybody have any idea(s) to see if this is possible with an add_filter snippet as mentioned above?
I need a custom title to appear when users filter each category (replacing the default title pulled from sort_by_cat) – and ideally control via add-filter – but open to suggestions!
thank you!- This reply was modified 5 years, 9 months ago by jomo5280.
February 7, 2019 at 5:49 pm #1064220Hi jomo5280,
No, it will not work like that. It uses categories for sorting.
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaFebruary 7, 2019 at 6:06 pm #1064231No problem – I think I found an alternate solution using tab-sections instead.
Thank you for checking it out out for me!February 7, 2019 at 7:14 pm #1064252Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Change Title on portfolio filters’ is closed to new replies.