New Landing How can we help? Themeforest Theme Support Neighborhood How to create a DICTIONARY in alphabetic order from portofolio carousel

Viewing 14 posts - 1 through 14 (of 14 total)
  • #20179
    eccesso
    Member
    Post count: 202

    I’ve setup a page from Swift Page Builder and used the “portofolio carousel”, which content is the portofolio category for “DICTIONARY”. The number of posts which are published in the DICTIONARY_portofolio carousel aren’t exposed in an alphabetic order?
    How/where do I add the code for “ASCENDING” or “DESCENDING” or “ALPHABETICLY_ORDERED” posttitles, so that they will be published in an alphabetic order? This is obviously important for the dictionary to work properly!
    The portofolio carousel is setup with a: display:standard/4 columns/20 items/15 excerpt length.
    ALternatively I could setup a new DICTIONARY with shortcodes, and add the “ASC” or “DESC” or “ALPH_ORD” where? Or what is the shortcode for alphabetic order?

    Bst rgs…
    _eccesso

    #20214
    eccesso
    Member
    Post count: 202

    Additional info regarding problems with DICTIONARY. The above mentioned portofolio is NOT a portofolio carousel, but an ordinary portofolio! Should this make it easier for you to provide the proper support? Thanks

    Bst rgs/_eccesso

    #20386
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Open up includes\swift-framework\sf-content-display\sf-portfolio.php

    in line #38 – #52 there is a query formation, you can add orderby to that http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    PS: Back the thing before you edit, if something went wrong you can change it back.

    Let me know, if you are in any trouble..

    Thanks,
    laranz.

    #20518
    eccesso
    Member
    Post count: 202
    This reply has been marked as private.
    #20519
    eccesso
    Member
    Post count: 202
    This reply has been marked as private.
    #20572
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    This

    $portfolio_args=array(
        		'post_type' => 'portfolio',
        		'post_status' => 'publish',
        		'paged' => $paged,
        		'portfolio-category' => $category_slug,
        		'posts_per_page' => $item_count,
        		'tax_query' => array(
        				array(
        					'taxonomy' => 'portfolio-category',
        					'field' => 'id',
        					'terms' => array( $exclude_categories ),
        					'operator' => 'NOT IN'
        				)
        			)
       		);
    

    to

    $portfolio_args=array(
        		'post_type' => 'portfolio',
        		'order' => 'ASC',
        		'orderby' => 'title',
        		'post_status' => 'publish',
        		'paged' => $paged,
        		'portfolio-category' => $category_slug,
        		'posts_per_page' => $item_count,
        		'tax_query' => array(
        				array(
        					'taxonomy' => 'portfolio-category',
        					'field' => 'id',
        					'terms' => array( $exclude_categories ),
        					'operator' => 'NOT IN'
        				)
        			)
       		);
    

    Yes it will affect all the portfolio.

    Thanks,
    laranz.

    #21024
    eccesso
    Member
    Post count: 202
    This reply has been marked as private.
    #21052
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi eccesso,

    Glad it helps ๐Ÿ™‚

    No problem I will close the other thread ๐Ÿ™‚

    Let me know if you have any other questions.

    Thanks,
    laranz.

    #21924
    eccesso
    Member
    Post count: 202
    This reply has been marked as private.
    #22014
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Can you show me a website address to look?

    Thanks,
    laranz.

    #23105
    eccesso
    Member
    Post count: 202
    This reply has been marked as private.
    #23161
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Sure, we expect that. ๐Ÿ™‚

    Thanks,
    laranz.

    #23715
    eccesso
    Member
    Post count: 202
    This reply has been marked as private.
    #23987
    laranz – SUPPORT
    Member
    Post count: 3186

    HI,

    Sure, You can check “Notify me of follow-up replies via email” while reply, it will email to you..

    Is that what you did, and didn’t work?

    Thanks,
    laranz.

Viewing 14 posts - 1 through 14 (of 14 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