• Resolved nicoleamanda

    (@nicoleamanda)


    May I bother you once more? I feel like the answer is no, but worth an ask. I’d REALLY love a way to reorder the taxonomies in the order that they appear in /wp-admin/admin.php?page=staxo_settings list (and I hope with that, the other than they appear in the default full tag list. Or would I have to recreate them in the order that I want them?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author nwjames

    (@nwjames)

    @nicoleamanda,
    Thanks for raiing this issue.

    When you add a Taxonomy it gets added at the end of thr Custom Taxonomies list of Taxonomies. There is no current functionality delivered to change this order.

    However this ordering is also used when using the shortcode [staxo_post_terms] or its equivalent block when all taxonomies are output.

    You can control the output of the post terms in a somewhat long-winded process by using the tax parameter by having several shortcodes, e.g.
    [staxo_post_terms tax=first_wanted]
    [staxo_post_terms tax=second_wanted]

    The next version (2.3) of the plugin will provide a method to change the ordering although in a non-obvious way.

    You export the (entire) configuration having defined the order of the custom taxonomies.

    You then import the configuration file just written.

    Since the custom taxonomies are in a different order, this changed order will be seen in the output be that the admin screen or the shortcode/blocks.

    Yhe module to do this is now available at GitHub as class-simpletaxonomyrefreshed-admin-config.php.

    If you go to the page you will need to copy out the program code and replace the module includes/class-simpletaxonomyrefreshed-admin-config.php.

    Hope this is of use,
    Neil James

    Plugin Author nwjames

    (@nwjames)

    @nicoleamanda,
    This has taken some time, but for your information, the functionality is now available in version 2.3.0 of the plug-in released just now.

    To recap, to change the order of the taxonomies shown in the All Taxonomies view – and used in various other functions, you need to Export your configuration – ordering the taxonomies as you wish to see them; and then to Import that configuration file.

    They will then appear in the exported order.

    Regards,
    Neil James

    Thread Starter nicoleamanda

    (@nicoleamanda)

    Wow, thanks! Looking forward to playing with it!

    Thread Starter nicoleamanda

    (@nicoleamanda)

    Bothersome little me again, is there a way to add classes or id’s to specific taxonomies? I’d love to have certain ones in columns and some not, as opposed to line break list

    Plugin Author nwjames

    (@nwjames)

    @nicoleamanda,
    Sorry I should have replied earlier but I misinterpreted the question.

    Existing versions of the plugin outputs the post terms list wrap the list in div with class name taxonomy-xxx where xxx is the taxonomy slug.

    However what I had interpreted your question to be how to format the list.

    So in the version 3.0.0 released today, you can enter html text as the before, separator and after texts. These can include class names. The text will be within the div referred to above with its class name.

    Regards
    Neil James

    Thread Starter nicoleamanda

    (@nicoleamanda)

    Thanks, I’ll be playing during wedding off season. It seems as if this version seems to have broken the code that you wrote for me for the colour icons to show up though so I’ll have to look into that.

    Thread Starter nicoleamanda

    (@nicoleamanda)

    Ignore that, my directory somehow deleted the original taxonomy images plugin. Is there a way I can add a line break as Display Terms Separator text? <br> does not work there.

    @nicoleamanda ,
    Odd. I tried the current version using before set empty, separator as <br> (or <br />) and after set empty – and they were output on different lines.

    But please raise a new topic if you are able to give any more information on this, as others may also be having a similar problem and won’t think of looking here for any discussion.

    Regards,
    Neil James

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Changing the display order of Custom Taxonomies’ is closed to new replies.