TylerBarnes / gatsby-wordpress-inline-images

Fluid images for gatsby-source-wordpress inline images in post_content
57 stars 25 forks source link

Feat: Include ACF #6

Closed ericmarcos closed 4 years ago

ericmarcos commented 5 years ago

This plugin only parses the "content" field of Wordpress nodes, but ignores ACF fields that can contain images too. This pull request adds support for parsing ACFs and includes a plugin option "includeACF" (false by default) to turn on this feature.

TylerBarnes commented 5 years ago

Hey @ericmarcos thanks for this! It looks good. There's one problem though, you've edited the compiled files in the root instead of source files in the src/ directory. Can you move your changes there?

I know the compiled files shouldn't be in git which would prevent this confusion. An earlier PR added it this way and I haven't had time to rejig the setup to compile into a lib/ directory.