question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[gatsby-source-wordpress] getting images from wordpress.com

See original GitHub issue

Is it possible without ACF? With wordpress.com, on the free tier, no plugins can be installed making it not possible to use ACF (correct me if I’m wrong).

Specifically looking to grab the featured_image url opposed to the id.

Wondering if a PR is needed to add _embed to the wordpress api example here or if I’m missing something.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Casey6624commented, Mar 7, 2019

Sorry if I’ve misunderstood, but I’m not using ACF and I query the featured images of my posts like this:

carbon

I don’t see why that wouldn’t work on WordPress.com hosting

0reactions
kharropcommented, Mar 23, 2019

Sorry if I’ve misunderstood, but I’m not using ACF and I query the featured images of my posts like this:

carbon

I don’t see why that wouldn’t work on WordPress.com hosting

This worked for me, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding Images to a WordPress Site - Gatsby
The Gatsby Way™ of creating images describes a set of best practices that help you optimize performance and responsiveness of images so that...
Read more >
Gatsby.js + WordPress - Part 06 - Displaying Images - YouTube
In this episode you are going to learn how to display images on your Gastby.js and WordPress site.Now we are going to be...
Read more >
Building a Photo Site With GatsbyJS and the WordPress.com ...
This installs the basic Gatsby plugin that allows you to source data from WordPress.com. You can read more about it here. Finally, we...
Read more >
Gatsby with WordPress - Caching Downloaded Media Images ...
His article walks though the process of getting all media items from the WordPress media library into Gatsby. Perfect, now they can be...
Read more >
gatsby-source-wordpress - npm
Source data from WordPress in an efficient and scalable way.. Latest version: 6.24.0, last published: a month ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found