vaakash / git-it-write

A WordPress plugin to publish markdown files present in a Github repository as posts to WordPress automatically.
https://www.aakashweb.com/wordpress-plugins/git-it-write/
GNU General Public License v3.0
48 stars 22 forks source link

Add a post property for featured image, please #12

Closed guillermomf2001 closed 1 year ago

guillermomf2001 commented 2 years ago

It would be cool if anybody could add a feature image directly from post properties into the Yaml configguration of the post .md file. Something like this:

---

title: Title of this post
menu_order: 1
post_status: draft
post_excerpt: Excerpt of this post.
post_featured_image: /_images/featured_image.jpg  # <-- featured image URL in a new yaml post property
taxonomy:
    category:
        - Javascript
    post_tag:
        - Javascript-config
        - VSCode

---

# Title post

The rest of the content...
vaakash commented 1 year ago

Hi @ZonaGuillermo,

There were requests for the same and a merge request for this too. I'll review and implement the best practice to set featured image for the post.

Thanks, Aakash

myannou commented 1 year ago

Thank you for this PR Will this PR integrated in the next release ?

vaakash commented 1 year ago

Hi @myannou, I'm reviewing the changes. I did not receive a PR. I have some comments on the changes. I'll discuss and work on this further. I'll try to publish a version by this month end.

vaakash commented 1 year ago

This is addressed in v1.7. Marking this as closed.

myannou commented 1 year ago

I confirm this work correctly Thanks a lot