-
AuthorPosts
-
February 18, 2015 at 5:39 pm #398303
Hi I’ve added this, the code of this post in funtions.php:
How to add an order/orderby option to the blog/post slider/portfolio/masonry grid elementBut it only changes the videos, not the categories menu
This is the web http://www.take-ad-way.comFebruary 19, 2015 at 5:28 pm #399059Hi itziarsolla!
Are you trying to change the order of the category sort tags? “Destacados / Spots Internet, etc etc”?
Best regards,
ElliottFebruary 19, 2015 at 5:38 pm #399066February 19, 2015 at 10:55 pm #399310Hi!
Hmm, I can’t think of an easy way to go about that. Just out of curiosity, how are you wanting to sort them?
Best regards,
ElliottFebruary 20, 2015 at 3:11 pm #399678Destacados / Vídeo Contenidos / Vídeos Corporativos / Spots internet / Spots TV
February 21, 2015 at 10:37 am #400018Hi!
It’s possible but you need to edit the theme files manually. Open config-templatebuilder > avia-shortcodes > portfolio.php. Look for this code:
//get all categories that are actually listed on the page $categories = get_categories(array( 'taxonomy' => $params['taxonomy'], 'hide_empty'=> 0 ));
Replace it with:
$categories = get_categories(array( 'taxonomy' => $params['taxonomy'], 'hide_empty'=> 0, 'orderby'=> 'name', 'order' => 'ASC' ));
Adjust the order and orderby parameter. Refer to this link: http://codex.wordpress.org/Function_Reference/get_categories#Parameters
Cheers!
IsmaelJuly 21, 2015 at 12:36 pm #476424Hi,
I can’t find how to start a topic. So:
I can’t dissable the flag from the header. I’ve put the code below in another page, but it doen’t work, I don’t know which is the problem.
I wan’t to show the language, but dissable the flag at the rightThis is the code:
I’ve put this in functions
<?php/*
add_action(‘after_setup_theme’,’avia_remove_main_menu_flags’);
function avia_remove_main_menu_flags(){
remove_filter( ‘wp_nav_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
remove_filter( ‘avf_fallback_menu_items’, ‘avia_append_lang_flags’, 20, 2 );
remove_action( ‘avia_meta_header’, ‘avia_wpml_language_switch’, 10);
add_action(‘avia_after_footer_columns’, ‘avia_wpml_language_switch’, 10);
}
*/And this in style.css
/*
#header_meta ul.avia_wpml_language_switch {
display: none;
}
*/July 22, 2015 at 7:17 am #476892Hi!
Please create a new topic here: https://kriesi.at/support/forum/enfold/
Refer to this link above to fix the issue above: https://kriesi.at/support/topic/how-to-change-position-of-wpml-langs-on-the-right-of-my-secondary-menu/#post-436577
Cheers!
IsmaelJuly 22, 2015 at 10:00 am #476946Hi, its solved! thanks!
-
AuthorPosts
- The topic ‘Change the order of sort options, they appear by alphabetic order now’ is closed to new replies.