WordPress.org

Lithuania

  • Temos
  • Įskiepiai
  • Naujienos
  • Apie
  • Susisiekti
  • Modeliai
  • Prisidėkite
  • Parsisiųsti WordPress
Parsisiųsti WordPress
WordPress.org

Plugin Directory

Custom Image_Src

  • Įkelkite įskiepį
  • Mano mėgstami
  • Prisijungti
  • Įkelkite įskiepį
  • Mano mėgstami
  • Prisijungti

Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Custom Image_Src

Autorius OverlappingElvis
Parsisiųsti
  • Informacija
  • Atsiliepimai
  • Kūrimas
Pagalba

Aprašymas

If you’re sharing a link to a blog post on Facebook, having a thumbnail image makes for a much more effective share. If you have an image in the body of your post, Facebook will use that as the share image, but what if you don’t have any images in your post or want to specify an image you’re not using in the content? To solve this problem, I created a WordPress plugin that allows you to control which image shows when a link from your WordPress site is shared on Facebook.

  • Thanks to Dimas Begunoff for the amazingly helpful WPAlchemy MetaBox PHP Class.
  • I’m using the <link rel="image_src" href="…" /> approach. If you’re adding more Open Graph meta tags to your <head>, you’d probably want to use <meta property="og:image" content="…" />, but in that case you probably also don’t need this plugin.
  • If you’re using any other plugins that add sharing info, Open Graph tags, or similar, this plugin will probably conflict with those.

For questions, comments, or bugs, you can reach me at @Overlapping or OverlappingElvis [at] gmail [dot] com.

DUK

I uploaded an image but it’s still pulling my post thumbnail or first image from post!

Uncheck the appropriate box in the panel on the post editing screen.

Why use link rel=”image_src” instead of meta property=”og:image”?

Because that’s what I’m used to using. If you can tell me why I should use <meta property="og:image" content="…" />, I’m totally open to change.

Shouldn’t you always set a sharing image?

Probably, yeah. I might add a setting to always add a default sharing image you can set, if none of the other options are checked.

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Custom Image_Src” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai
  • OverlappingElvis

Išverskite “Custom Image_Src” į savo kalbą.

Domina programavimas?

Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.

Metainformacija

  • Version 0.31
  • Atnaujinta prieš 14 metų
  • Aktyvių instaliacijų 200+
  • WordPress versija 3.0 ar naujesnė
  • Ištestuota iki 3.2.1
  • Kalba
    English (US)
  • Žymos
    facebookimage_srcsocial sharing
  • Daugiau

Įvertinimai

No reviews have been submitted yet.

Rašyti atsiliepimą

See all reviews

Autoriai

  • OverlappingElvis

Pagalba

Turite pastabų? Reikia pagalbos?

Peržiūrėti pagalbos forumą

  • Apie
  • Naujienos
  • Hostingo tiekėjai
  • Privatumas
  • Tinklalapių pavyzdžiai
  • Temos
  • Įskiepiai
  • Modeliai
  • Mokykitės
  • Pagalba
  • Kūrėjai
  • WordPress.tv ↗
  • Prisidėkite
  • Events
  • Paremkite ↗
  • Iniciatyva "Five for the Future"
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Lithuania

  • Visit our X (formerly Twitter) account
  • Apsilankykite mūsų Bluesky paskyroje
  • Visit our Mastodon account
  • Apsilankykite mūsų Threads paskyroje
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Apsilankykite mūsų TikTok paskyroje
  • Visit our YouTube channel
  • Apsilankykite mūsų Tumblr paskyroje
Kodas – tai poezija.