Wklej jeden tag meta do szablonu strony. Każda podstrona udostępniona na LinkedInie, X, Slacku czy WhatsAppie pokazuje kartę z własnym tytułem, opisem i ikoną — bez programu graficznego, bez skryptu, bez pracy przy każdej stronie.
Ta karta powstała wyłącznie z <title>, opisu, ikony i obrazka samej strony.
<meta property="og:image" content=".../u/acc_….png?url=STRONA"> w szablonie, z adresem strony wstawianym przez twoją platformę.og:title, twitter:title albo <title> — nagłówekog:description albo description — jedna, dwie linie pod nimog:site_name i ikona (apple-touch-icon albo największa ikona PNG) — wiersz z markąog:image — w ramce okna przeglądarki obok tekstu, jeśli strona go matheme-color — kolor akcentu, gdy to prawdziwy kolor, a nie biel, czerń albo szarość<link rel="canonical"> — żeby ta sama strona pod dwoma adresami była jednym obrazkiemZamień acc_YOUR_ACCOUNT_ID na identyfikator swojego konta — panel pokazuje te fragmenty z nim już wstawionym.
Dowolna strona: tag w <head> każdej podstrony, z jej adresem zakodowanym po ?url=. Generatory stron statycznych wstawią go ze zmiennej z adresem strony.
<!-- In the <head> of each page, with that page's own address -->
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url=https%3A%2F%2Fyour-site.com%2Fpricing">
<meta name="twitter:card" content="summary_large_image">
Dodaj do functions.php motywu potomnego albo wtyczką do fragmentów kodu. Jeśli wtyczka SEO (Yoast, Rank Math) już wypisuje og:image, wyłącz w niej obrazek, żeby strona miała tylko jeden.
// functions.php of your (child) theme, or a code-snippets plugin
add_action('wp_head', function () {
global $wp;
$page = is_singular() ? wp_get_canonical_url() : home_url(user_trailingslashit($wp->request));
$image = 'https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url=' . rawurlencode($page);
echo '<meta property="og:image" content="' . esc_attr($image) . '">' . "\n";
echo '<meta name="twitter:card" content="summary_large_image">' . "\n";
}, 1);
Sklep internetowy → Motywy → Edytuj kod. Zamień linie og:image w snippets/meta-tags.liquid (albo w layout/theme.liquid). canonical_url działa na produktach, kolekcjach, stronach i wpisach bloga.
{%- comment -%} snippets/meta-tags.liquid — replace the og:image lines {%- endcomment -%}
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url={{ canonical_url | url_encode }}">
<meta property="og:image:secure_url" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url={{ canonical_url | url_encode }}">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
Edytuj default.hbs motywu i wstaw tagi nad {{ghost_head}}. Code injection w panelu Ghosta nie wykonuje Handlebars, więc nie wstawi adresu strony.
{{!-- default.hbs, in <head> ABOVE {{ghost_head}} --}}
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url={{url absolute="true"}}">
<meta name="twitter:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url={{url absolute="true"}}">
<meta name="twitter:card" content="summary_large_image">
Wstaw do partiala, który składa <head>. .Permalink to pełny adres strony, urlquery go koduje.
{{/* layouts/partials/head.html (or the <head> of baseof.html) */}}
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url={{ .Permalink | urlquery }}">
<meta name="twitter:card" content="summary_large_image">
Na stronie szablonu CMS: Page settings → Custom code → Inside <head> tag, z polem Slug wstawionym w miejsce SLUG. Strony statyczne: ten sam tag z adresem strony.
<!-- CMS template page → Page settings → Custom code → Inside <head> tag.
Replace SLUG with the Slug field (“+ Add field”). -->
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url=https://your-site.com/blog/SLUG">
<meta name="twitter:card" content="summary_large_image">
Dla każdej strony: SEO basics → Advanced SEO → Additional tags. Po ?url= adres tej strony.
<!-- Page → SEO basics → Advanced SEO → Additional tags, per page -->
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url=https://your-site.com/about">
Dla każdej strony: Page settings → Custom Code → End of <head>, z adresem tej strony. Usuń własny obrazek społecznościowy strony, żeby został jeden og:image.
<!-- Page settings → Custom Code → End of <head>, per page -->
<meta property="og:image" content="https://shareglint.com/u/acc_YOUR_ACCOUNT_ID.png?url=https://your-site.com/features">
<meta name="twitter:card" content="summary_large_image">
?utm_source= odpadają.