New Landing How can we help? Themeforest Theme Support Joyn Accordion bg color and portfolio categories with blank spaces

Viewing 9 posts - 16 through 24 (of 24 total)
  • Posted in: Joyn
  • #145540
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste given below code at end of functions.php file of child and parent theme.

    
    function sf_portfolio_filter( $style = "basic", $parent_category = "" ) { 
    
                $filter_output = $tax_terms = "";
    
                if ( $parent_category == "" || $parent_category == "All" ) {
                    $tax_terms = sf_get_category_list( 'portfolio-category', 1 );
                } else {
                    $tax_terms = sf_get_category_list( 'portfolio-category', 1, $parent_category );
                }
    
                $filter_output .= '<div class="filter-wrap clearfix">' . "\n";
                $filter_output .= '<ul class="post-filter-tabs filtering clearfix">' . "\n";
                $filter_output .= '<li class="all selected"><a data-filter="*" href="#"><span class="item-name">' . __( "Show all", "swiftframework" ) . '</span></a></li>' . "\n";
                foreach ( $tax_terms as $tax_term ) {
                    $term = get_term_by( 'slug', $tax_term, 'portfolio-category' );
                    if ( $term ) {
                        $filter_output .= '<li><a href="#" title="' . $term->name . '" class="' . $term->slug . '" data-filter=".' . $term->slug . '"><span class="item-name">' . $term->name . '</span></a></li>' . "\n";
                    } else {
                        $filter_output .= '<li><a href="#" title="' . $term->name . '" class="' . $term->slug . '" data-filter=".' . $term->slug . '"><span class="item-name">' . $term->name . '</span></a></li>' . "\n";
                    }
                }
                $filter_output .= '</ul></div>' . "\n";
    
                return $filter_output;
            }

    Thanks
    Mohammad

    #145993
    emilnau
    Member
    Post count: 52

    Thanks a lot Mohammad!

    #145994
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

    #147985
    emilnau
    Member
    Post count: 52

    Hi again,

    Sorry to have to bother with this very same thing again. But I had the same issue on my private site, and I tried the fix: pasting that code at the end of functions.php in wp-content/themes/joyn. (I haven’t uploaded any child theme.) It didnt work, just made the Dashboard look terrible…

    How can I fix this?

    Please see the very same issue (here with the tag “Series of drawings”, and the slug “series-of-drawings”): http://art.naula.se/?page_id=2

    #148336
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide us admin access to check that situation?
    Use the private reply option.

    -Rui

    #148682
    emilnau
    Member
    Post count: 52
    This reply has been marked as private.
    #148984
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will need ftp access because I can’t edit any files in your installation.

    But can you first upload and activate the child theme that comes with the theme files probably called dante_child.zip

    Thanks
    -Rui

    #150463
    emilnau
    Member
    Post count: 52
    This reply has been marked as private.
    #151242
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I have forwarded this to Rui for you, he will assist you shortly

    – Kyle

Viewing 9 posts - 16 through 24 (of 24 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register