Topic: Datatables | Wordpress post metadata | how do?

MWCCredit priority asked 8 months ago


I have a requirement to render the datatable in Wordpress from a WP_Query().

I have localized the script that the datatable starter snippet is in, and am able to access the standard post data just fine (ID,date,author,title,etc), but I cannot locate any post custom metadata in the console. (metadata set by advanced custom fields plugin for Wordpress)

If anyone out there has overcome this issue in the past, and is kind enough to share what they did (or even point me in the right direction) I would be very grateful.


Grzegorz Bujański staff commented 8 months ago

What about this: https://developer.wordpress.org/reference/functions/get_post_meta/ This method doesn't return the data you need?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No