Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Footnotes in custom fields

I think that what you need to do is find where your custom meta data is displayed and do this:

echo jqFootnotes(get_post_meta($post_id, $key, $single));

That will run the jqFootnotes filter on your post meta, and I think that will do what you need (assuming that $post_id, $key, and $single are set appropriately)..

Side note: just because there is a the_content() function and a the_content filter doesn’t mean that you can use any function name as a filter. Most functions do not have a matching filter.

For reference: http://codex.wordpress.org/Function_Reference/apply_filters

Related Posts:

  1. filtering custom post types via meta data drop down
  2. How to display childrens custom fields?
  3. change attachment custom field onChange event
  4. Add filter menu to admin list of posts (of custom type) to filter posts by custom field values
  5. Can I exclude a post by meta key using pre_get_posts function?
  6. Custom post meta field effect on the performance on the post
  7. How to get custom post meta using REST API
  8. Difference between meta keys with _ and without _ [duplicate]
  9. Is there any action filter/hook for validating a custom field before publishing the post?
  10. Orderby meta_value only returns posts that have existing meta_key
  11. What is the index [0] for on post meta fields?
  12. What is “meta_input” parameter in wp_insert_post() used for?
  13. How to enable revisions for post meta data?
  14. The “_encloseme” Meta-Key Conundrum
  15. Best way to programmatically remove a category/term from a post
  16. Filter WP_Query for posts having a certain meta-value
  17. Using get_post_meta with new_to_publish
  18. Apply the_content filter to a custom field with multiple values
  19. Custom field metabox not showing in back-end
  20. So much data in postmeta
  21. Can I count the number of users matching a value in a multiple value key?
  22. Pass all custom fields through the same filter on post load?
  23. When using add_post_meta and update_post_meta, is there any way to give the individual arrays keys?
  24. How to hide meta box values from custom fields list?
  25. Auto sort the wp-admin post list by a meta key
  26. get_post_meta() unserialize issue – returns boolean(false)
  27. What is the advantage of the wp_options design pattern?
  28. Storing meta fields multiple times OR once with multi dimensional array?
  29. Allow user to create instances of custom field
  30. display specific custom fields
  31. Is there a hook / action that is triggered when adding or removing a post thumbnail?
  32. Filter results with custom field values and dropdown
  33. Meta keywords and descriptions plugin for manually editing meta for each page/post
  34. passing argument to get_template_part() or a better way to code
  35. Is it possible to store arrays in a custom field?
  36. Archive sorting functions by custom fields (front-end)
  37. Get updated meta data after save_post hook
  38. Multiple meta values for same meta_key adding on “Preview Changes” hit but not on saving or updating post
  39. Save HTML formatted data to post meta using add_post_meta()
  40. importing data from non-wordpress mysql db
  41. Create meta boxes that don’t show in custom fields
  42. Transients vs CRON +Custom Fields: Caching Data Per Post
  43. Unable to save datetime custom meta field using update_post_meta() function
  44. Up/Down voting system for WordPress
  45. Change content before writing to database
  46. post meta data clearing on autosave
  47. WordPress Search Custom Meta Field Only
  48. Create custom field on post draft or publish?
  49. Display info from custom fields in all images’ HTML
  50. Ordering posts by anniversary using only day and month
  51. How do I assign this filter to a variable? (Appending php & markup to the_content)
  52. get_post_meta fields don’t show up on posts page
  53. Using custom fields in a filter hook
  54. Update meta values with AJAX
  55. How to break meta values into different items and avoid duplicates?
  56. copy attachments to another post type and change attachment url
  57. Cannot edit post meta fields with rest API
  58. ajax delete value from custom field array
  59. Save attachment custom fields on front end
  60. Add an advert every nth Paragraph
  61. How to use pagination with get_post_meta
  62. Copying Custom Meta Values from existing post to a duplicate post
  63. Add a post meta key and value only if it does not exist on the post
  64. Move value of one custom field to another
  65. Order posts according to user defined order for meta values?
  66. Displaying posts with only upcoming dates according their custom field date value
  67. How to filter a dd/mm/yyyy date from a custom field in a query
  68. Custom fields to save multiple values
  69. Custom fields: In what order are they saved into the DB?
  70. Function to change meta value in database for each post
  71. Get a post_id where meta_value equals something in a serialized meta_value field
  72. Get aggregate list of all custom fields for entire blog
  73. Transition from (classical) serialized custom meta field to (gutenberg) rest enabled meta
  74. Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
  75. Custom field value based on other custom field values
  76. wp_handle_upload error “Specified file failed upload test” but still creates attachment?
  77. How to save a ToggleControl value in a meta field?
  78. Which is best in the following scenario : post_meta vs custom table vs parent/child posts
  79. Saving custom image meta fields
  80. Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
  81. Force hide custom field metaboxes
  82. Saving custom profile fields
  83. How to display Meta Field Value?
  84. MySQL query to set wp_postmeta using term_taxonomy_id value
  85. How to Validate Post Meta type/extension (Video File Image File etc)
  86. Get all meta keys assigned to a post type
  87. using multiple meta_key and meta_value in query_posts
  88. Update posts after populating ACF field value [closed]
  89. Custom Meta Box not Saving in Posts with Gutenberg Editor
  90. How to validate custom field on lost password form before the user id field?
  91. Adding custom fields (post meta) before/during wp_insert_post()
  92. Combine multiple custom field values into single value
  93. How can I sort homepage by a meta value?
  94. Get specific custom field keys from a post and put into an array
  95. How do I use wp_query for WordPress search?
  96. Nav Menu – Add class based on meta keys
  97. How to query posts with certain custom meta data, and output Post data
  98. MySQL Query that looks for post with Custom Field, then changes Category
  99. ACF: How to get the full field name (meta_key) by a field key?
  100. How to wrap meta values seperated by comma in ? [closed]
Categories custom-field Tags custom-field, filters, post-meta
Recommended sidebar / content widths
WordPress live, custom text box validation, how to?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress