• Resolved Kovas

    (@zerocore)


    Hello,

    I use Simple Custom Post Order plugin to reorder my taxonomies, but I want Beautiful taxonomy filter dropdown to be ordered by name. I’ve tried to use filter, but SCPOrder overrides dropdown order with custom values anyway:

    function modify_dropdown_orderby( $orderby, $taxonomy) {
        $orderby = 'slug';
        return $orderby;
    }
    add_filter( 'beautiful_filters_dropdown_orderby', 'modify_dropdown_orderby', 10, 2 );

    Is there a way to solve this “conflict”?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Kovas,

    I’m not sure I follow you. Simple Custom Post Order is for ordering posts. In the dropdowns in BTFs filter are terms from each taxonomy. So it’s not the same thing ??

    Thread Starter Kovas

    (@zerocore)

    Hi Jonathan,

    SCPOrder allows to sort not only Post Types, but Taxonomies also. So in archive page I have posts sorted by custom order (first by taxonomy, then by post, both custom), but it also affects order in BTF’s dropdown and I want to keep it alphabetical.

    Plugin Author Jonathandejong

    (@jonathandejong)

    Hi,

    I don’t think it’s possible unless SCPOrder has a way to disable it’s ordering for specific situations. I have been using similar plugins in the past where it was possible so maybe? In any case I can’t do much about it myself ??

    Thread Starter Kovas

    (@zerocore)

    Yeah, I switched to https://www.ads-software.com/plugins/taxonomy-terms-order/ for term ordering, disabled auto sort and everything is working fine. Great plugin ??

    Thanks for your time.

    Plugin Author Jonathandejong

    (@jonathandejong)

    Good to hear you found a suitable alternative!
    If you like BTF and have a minute over please consider adding a review ??
    Helps me stay motivated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dropdown order conflict’ is closed to new replies.