Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › How to create a DICTIONARY in alphabetic order from portofolio carousel
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › How to create a DICTIONARY in alphabetic order from portofolio carousel
- This topic has 13 replies, 2 voices, and was last updated 10 years by laranz – SUPPORT.
-
Posted in: Neighborhood
-
September 5, 2013 at 9:14 pm #20179
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…
_eccessoSeptember 6, 2013 at 7:05 am #20214Additional 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
September 6, 2013 at 11:12 pm #20386Hi,
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.September 8, 2013 at 4:20 pm #20518This reply has been marked as private.September 8, 2013 at 4:23 pm #20519This reply has been marked as private.September 8, 2013 at 11:05 pm #20572Hi,
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.September 10, 2013 at 6:18 pm #21024This reply has been marked as private.September 10, 2013 at 8:01 pm #21052Hi eccesso,
Glad it helps ๐
No problem I will close the other thread ๐
Let me know if you have any other questions.
Thanks,
laranz.September 14, 2013 at 11:36 pm #21924This reply has been marked as private.September 15, 2013 at 10:44 pm #22014Hi,
Can you show me a website address to look?
Thanks,
laranz.September 20, 2013 at 9:13 pm #23105This reply has been marked as private.September 21, 2013 at 2:41 pm #23161Hi,
Sure, we expect that. ๐
Thanks,
laranz.September 25, 2013 at 12:29 pm #23715This reply has been marked as private.September 26, 2013 at 5:42 pm #23987HI,
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. -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.