Even if they’re not looking at revisions, all table of contents plugins are likely to only look at post_content rather than postmeta, because postmeta can be anything and it would be hard to query for something that doesn’t exist on every site.
Your best bet may be to update your site to use the Block Editor. From there, you can create a custom block that displays the postmeta within the post_content. Then, some plugins may be able to pick up the heading tags – though some may still not, so you might want to first experiment with some other blocks that create heading tags that are not the Core Heading block to find a TOC plugin that picks those up.
Related Posts:
- Conditionally enqueue a widget’s script/stylesheet in HEAD (only when present on page!)
- Plugin upgrading: Widget settings
- How can I make my custom shortcode work in a Custom HTML Widget?
- How to pass JavaScript variable to PHP in wordpress widget?
- Is dynamic forms/entries possible in Widget?
- How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
- How can I save repeatable fields with one value inside an array?
- WordPress widget / plugin….fields not appearing in my widget
- Created Widget Not Showing up on Admin Panel
- How do I register a stylesheet inside a WordPress widget?
- Detect if a plugin was included in a certain page
- Passing $this->get_field_name() to javascript
- Plugin not saving values when placed in a folder within /wp-content/plugins
- Can I use a form in a dashboard widget?
- Ajax gives 400 error
- Archive – same title for the first two posts
- Ajax contact form widget plugin data not insert in database
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- WordPress Widget – Saving multidimensional arrays into $instance
- Char limit on custom blog-post form? [closed]
- Redirect to another page using contact form 7? [closed]
- How to Resize the Custom Post Images?
- Widget’s container?
- Amazon.com intergration with WordPress?
- strange shortcode error: does shortcodes requires any dependency?
- WordPress Widget Not Saving Instance
- How to set the default value as the saved value once a form of widget is saved?
- My widget won’t update its values when save is clicked
- Custom Fields for Page Edits
- How to add captcha to publish widget
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- Widgets are not displaying in the admin panel
- Create multiple posts when a custom post is created
- The styles in the recent posts widgets plugin not working
- Using foreach loop for `$instance` of form and update array widget iteration
- One time call to external API in widget
- How to get post that has non zero or greater than zero meta value
- How can I call functions from a custom plugin?
- Creating Nested custom fields
- Problem with conditional woocommerce custom checkout field
- Widget outputs the value but doesn’t save anything inside the textarea
- WordPress Widget: Is it possible to make the form dynamic without updating?
- Plugin Works, but Widget Doesn’t
- Creating a user ‘add custom field’ section
- Widget Script Loads at Bottom of Page
- What method should I use for a sidebar widget that reads latest posts?
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- WordPress Meta Query: Relation is not working correctly
- Widget redirecting to home page
- WordPress plugin not eching popular posts
- What are the downsides of using bootstrap in plugin development?
- What can I do to customize a widget provided with this plugin? from where have I to start?
- Integrating WordPress Content into a jQuery Slider
- Outputting custom field query from a plugin to the website header
- Need to add custom cart item data
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- Function to activate WordPress theme inside a plugin
- Edit Imported advanced Custom Fields from wordpress Dashboard
- What is the correct way to check if WP_Filesystem can write to a directory without aking for username / password?
- Pass A Value From Outside To A Plugin Variable
- shortcode doesn’t work
- Built in admin ajax hooks?
- Could someone please help me to add category id with in this query so this will return posts from a certain category?
- What are the benefit in adding hook in the init() hook?
- building plugin and it is displaying above plugins page
- load_theme_textdomain path
- Dynamic CSS Vs Inline Issues in Code any Way around in a WordPress Themes?
- plugin development: problem with functions
- How to query the custom fields by language?
- Custom random quote widget breaks when used in multiple sidebars
- Why Is This Code Causing The Admin Bar to Disappear?
- How to add wp visual editor in a custom widget?
- How do I find out what is in control over a certain part of a website?
- Prevent direct access to WordPress plugin assets?
- How to automatically add edit link on frontpage post of any wordpress theme?
- plugins_url() works everywhere but wp_reqister_script()
- Integrating boxtal PHP library into a custom WordPress Plugin
- Images under 1MB are not being compressed
- Sanitize $_GET variable when comparing
- Where can I save plugin data?
- show my own admin_notices after a post has been published
- How to add update function to plugin without adding it to https://wordpress.org/plugins/ [closed]
- How to edit link for comment count
- Integrating Custom Database with WordPress
- custom post type plugin error [closed]
- get_post_meta shortcode returns empty field
- Make downloadable ebook read online without download option
- WordPress rewrite rule depend on meta values not ids
- Problem with wordpress has_action() function
- In woocommerce, is there any way to empty wordpress default mini cart when order placed?
- Using Widget Logic to place menu on multiple pages?
- Making a Custom Post Type Plugin – keep getting the white screen of death
- Hook into install email
- Autoloading a PHP class – working outside, but not inside WordPress plugin
- Plugin – including external javascript calling google maps
- How can I create a navigation menu in the sidebar that can also act like a slider?
- A splash page on landing page
- How to trigger plugin migration code when plugin updates?
- How to Save Category and Delete Category in same Function
- How to filter posts with a wp query by a custom dropdown type field with the magic fields plugin