Terms/Tags aren’t ordered.
To help make the terms easier to read, the editor will list them alphabetically, but that isn’t because they’re ordered alphabetically in the database. It’s because a piece of javascript sorted the terms in the UI control.
There is no order, only the order you give them. Fundamentally terms have no order. Any order you see in the editor is purely circumstantial, there is no order mechanism in the database for terms.
If you want to give special meaning to a term, you need to do so explicitly, e.g. store the term ID of the significant term in post meta. You cannot rely on order, as terms do not have order.
Related Posts:
- Get current tag list in Gutenberg save function
- WordPress editor: “pick from existing tags” is gone?
- How to Disable auto id attributes in Heading tag?
- What hooks are needed to bind a tag to a reusable block?
- How to get all the available post tags using the WP Data Module?
- Tag pages with regular editor
- how to see P and BR tags in tinymce?
- WordPress editor, change code wrap (bbpress?)
- HTML5 Summary tag in editor
- Enable Gutenberg on custom post type
- Gutenberg editor add a custom category as wrapper for custom blocks
- Why is wp_kses not keeping style attributes as expected?
- Order tags, but not alphabetically
- WordPress: Can I add categories/tags to all sites in my network at once?
- How to Get Next or Previous Post in a Specific Tag?
- How do I display a tag cloud under my post that only shows tags from that post?
- Display list of most used tags in the last 30 days
- Are there ways to make the Gutenberg editor wider? And the HTML-block higher?
- Check if current page has given tag ID
- how do I get the tag name from tag id?
- Do tags have dates?
- Stop wordpress from removing HTML attributes
- What is the difference between terms and tags?
- Stop WordPress From Removing HTML Comments In Content
- How can I let my audience tag my posts?
- Display tags in list without link
- how can I use WP_Query to exclude a specific tag.?
- How can you tie into the tag metabox?
- not functioning
- How to use the Tag description as the title attribute?
- Best way to show map of tagged posts?
- How to add button to post page WordPress 5.x
- How to display the_tags() as plain text
- Remove a particular tag name from the tagcloud
- How do I change the output of get_the_tag_list()?
- Query all posts with specific tag
- How to query with get_posts() for posts with any tag
- Gutenberg block editor – list of form components for custom blocks
- How to remove Tags: text from the_tags?
- Change tooltip in tag cloud
- Getting an ordered list of tags – via wp_tag_cloud or not?
- Is it possible to filter get_adjacent_post() with tags?
- Apply class to the a tag link generated in post tag links
- What are allowedposttags and allowedtags?
- Display tags for current post in sidebar
- How to allow user to perform search by more than one tag
- When switching from html to visual editor the tag gets erased
- How important are WordPress tags for SEO purposes?
- get_post_ancestors returns empty
- Add Shortcode inline inside Gutenberg block
- Combining tags from post types
- ID’s being stripped out of editor for Admin user in Multi-Site
- Display tags belonging to a specific post type only
- Allow visitors to search by multiple tags (specific IDs)
- List ‘n’ number of posts from a Tag, each with a different class or ID
- Showing all tags in admin -> edit post
- Filter post_content before loading in Gutenberg editor
- Redirect Tag to Post with the same name
- Add exception for specific tag
- Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
- Link from tags to tag pages displaying all posts with that tag
- Displaying the most recently used tags
- Limit tag word count
- When are tags counted? Can it be trigered manually?
- How can I extend Quick Edit option with 2 more fields
- Can’t Get ‘tag’ Page To Display only Tagged Posts
- How to separate the tags?
- alt attributes not showing on pages
- Creating a unique, linked list of tags from a specific category?
- Massive Tags Remove Using MySQL
- Add # before each tag
- Quicktags on all textarea.. Not working on plugin?
- term/tag not being saved for custom post type
- display tag slug as class per link in tag cloud
- How to remove specific panels in the editor (Gutenberg) when editing a block (via right panel)?
- how to change # of tag posts on /tag page?
- require one tag for each post
- How can I remove certain HTML tags from the RSS feed?
- Stop WordPress removing tags when switching from HTML to Visual (TinyMCE)
- WP API Get post with tag names instead of tag ID’s
- How to add class on term link?
- Link directly to the first post in an archive
- Set homepage to only display posts from one tag
- get_terms with more than x post count
- Tags as a dropdown with set tags
- Why ‘C++’ tag is converted to ‘C# ‘?
- Change the color of post title on specific tags
- How to show tags in posts, orderby count(most used) not alphabetically?
- Individual css class for each tag in wp_tag_cloud
- Strict tag list – user should choose only existing tags for posts
- How to use meta data for each tag cloud a
- Special characters in tag get removed for comparison on save
- Exclude a specific tag from the get_the_tags list
- WordPress Rest API only returns content when posttype has editor capability
- Display all posts of current viewing tag
- Limit tag cloud terms by date
- Efficient Tag Management?
- Exclude specific tags (by id) from the_tags
- Display custom list of tags in post/page editor with hooks
- Is is possible to rebuild wp_term_relationships table?