Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!

    #1063683

    As 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!

    #1063932

    Applying 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, 10 months ago by jomo5280.
    #1064220

    Hi 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,
    Victoria

    #1064231

    No problem – I think I found an alternate solution using tab-sections instead.
    Thank you for checking it out out for me!

    #1064252

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change Title on portfolio filters’ is closed to new replies.