Access Text Menu Item content
-
Hi
I am trying to access Menu from this website through the REST api interface.
I seem to be able to get most of the items and have structured the items so they are shown as nested items depending on whether they are children etc.
Most of the text for the menu items are shown in the “post_title” field for each item.
However, I am having an issue when I get to the content created within “Columns”. For instance, when a “Text” menu item is created I cannot actually see the text from the menu only the word “Text”. There is no content in the “post_content” field and I need to access the actually menu text (i.e “Product Name 1”) within the columns,
The same is true for the “Image” menu item. I was expecting to see the url of the actual image so I can show it in my app.
Is there a way to surface the content from these Menu Items in the WP REST api?
Thanks
JoshThe page I need help with: [log in to see the link]
- The topic ‘Access Text Menu Item content’ is closed to new replies.