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

    But it only changes the videos, not the categories menu
    This is the web http://www.take-ad-way.com

    #399059

    Hi itziarsolla!

    Are you trying to change the order of the category sort tags? “Destacados / Spots Internet, etc etc”?

    Best regards,
    Elliott

    #399066

    Yes

    #399310

    Hi!

    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,
    Elliott

    #399678

    Destacados / Vídeo Contenidos / Vídeos Corporativos / Spots internet / Spots TV

    #400018

    Hi!

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

    #476424

    Hi,

    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 right

    This 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;
    }
    */

    #476892

    Hi!

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

    #476946

    Hi, its solved! thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Change the order of sort options, they appear by alphabetic order now’ is closed to new replies.