WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Cards
[resolved] Add twitter:image (5 posts)

  1. tetus129
    Member
    Posted 1 year ago #

    How I can add images?

    I mean, the meta tag "twitter:image"

    Thanks :)

    http://wordpress.org/extend/plugins/twitter-cards/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    act on the twitter_cards_properties filter. see FAQ for an example; you'll want to act on image values instead of creator values given in the FAQ.

  3. cpedraza
    Member
    Posted 4 months ago #

    Niall, I don't know what you mean by "act on" the filter? Does that mean replace the 'creator' fields or to add the 'twitter:image' to what's already there? And if I wanted the Twitter card to be an Image_large_summary, what would I do, specifically? What code do I add, replace and/or delete?

    Many thanks,
    /carlos

  4. Niall Kennedy
    Member
    Plugin Author

    Posted 4 months ago #

    The WordPress documentation has more information about how to customize WordPress and plugin defaults using filters.
    http://codex.wordpress.org/Function_Reference/add_filter

  5. luigidelgado
    Member
    Posted 4 months ago #

    This should be easier / automated... having to code isnt really an easy way to use a plugin. Other than that everything else is good.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic