Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @rahuls2704 – Can you provide any additional context of what your goal is with this JSON style call?

    Thanks!

    – Cais.

    Thread Starter rahuls2704

    (@rahuls2704)

    By using these URL https://localhost/sampleapi/wp-json/posts/pageid,we fetching specific post content by giving pageid, in that post content there is gallary, i want to call that gallary of all image by using postid.

    Thanks in advnace

    Plugin Contributor photocrati

    (@photocrati)

    @rahuls2704 – Can you provide a link to the code you have so far?

    – Cais.

    Benjamin

    (@benjaminowens)

    What exactly do you mean by “call that gallery” – do you want to retrieve the rendered HTML of a displayed gallery?

    Thread Starter rahuls2704

    (@rahuls2704)

    I want to show Gallery for the specific post in Josn format.
    In post editor, we calling gallery short code [gallery ids="20611,20612,20613,20614,20615,20616,20617,20618,20619"].
    I want to show all images path related to that gallery id in JSON Format.

    Thanks in Advance.

    Plugin Contributor photocrati

    (@photocrati)

    @rahuls2704 – The shortcode example you are providing is actually for images within the WordPress Media Library … do you have something more specific for us to work from?

    – Cais.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do i call gallary of a speicific post by using Json API.’ is closed to new replies.