WordPress.org

Ready to get started?Download WordPress

Forums

WP Facebook Open Graph protocol
[resolved] Custom field support for images (3 posts)

  1. SteveW928
    Member
    Posted 1 year ago #

    I just ran across this plugin, and it looks great! I was wondering about the addition of a feature to support pulling first from a custom field, rather than the featured image. The reason I'm looking for this, is that a lot of modern themes use the featured image as a more full-width header, so they have a very wide aspect ratio.

    While this looks nice for the posts, it wrecks havoc on all kinds of feeds that require a more square aspect ratio (or, often unwelcomed cropping). I'm having to look into custom fields to store an image specific to this kind of purpose, so it would be nice to be able to check a box put in a field-name that the plugin would first check.

    I know the plugin could be modified, but figure more people might be running into this kind of issue, so it might be a welcome feature. Thanks!

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

  2. Chuck Reynolds
    Member
    Plugin Author

    Posted 1 year ago #

    I don't see adding this in soon... never had the request and as you know it's a very theme specific issue. I do however understand your concern... My main point in writing plugins is to limit the amount of user interaction, it should just work w/o a user having to worry about it. This works for most everything except the outlying cases; such as this.
    It adds further complexity with options determining if 1 to use this optional field, 2 how to name what field to look for, 3 would said field be the same custom field for every single post, page, cpt, etc?, 4 where in the decider loop to put it? etc.. just adds complexity.

    I see this as a good fork opportunity or a plugin of a plugin where if this plugin is enabled yours will add further functionality. In the beta we've made it object oriented with a class associated allowing you to call upon it easier in such a case. In the support forum there's a pinned thread with the intel on how to get involved in dev and github link if you're motivated as such.

    Cheers

  3. SteveW928
    Member
    Posted 1 year ago #

    Thanks, I just don't have enough coding experience to tackle such a project. I understand your concerns over complexity. I also understand that this is theme specific. I'd only note that from what I've seen, an increasing number of themes and users are going to run into such an issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.