Açıklama
Erdo Draft Links ile herhangi bir taslak, gizli veya yayınlanmış yazı ya da sayfa için güvenli, belirteç tabanlı bir URL oluşturabilirsiniz. Bunu müşterileriniz, inceleme yapan kişiler veya iş arkadaşlarınızla paylaşın; onlar da WordPress hesabı olmadan içeriği okuyabilirler.
Bunu, Google Dokümanlar’daki “Bağlantıya sahip herkes görüntüleyebilir” seçeneği gibi düşünün — ama WordPress için.
Nasıl çalışır?
- Editörde (Blok Düzenleyici veya Klasik Düzenleyici) herhangi bir yazıyı veya sayfayı açın.
- Kenar çubuğu panelinde veya üst veri kutusunda “Taslak Bağlantısı Oluştur” seçeneğine tıklayın.
- Choose an expiry: 24 hours, 48 hours, 7 days, never, or a custom date & time.
- Bağlantıyı paylaşın. Alıcılar içeriği görüntüleyebilir — oturum açmaya gerek yoktur.
Özellikler
- Hem Blok Düzenleyici (Gutenberg) hem de Klasik Düzenleyici ile uyumludur
- Supports posts, pages, and any custom post type — toggle them on in Tools Erdo Draft Links Settings, or via a filter for developers
- Multiple labeled links per post — e.g. “Client A” and “Designer”, each with its own expiry, revocable independently
- WP-CLI support —
wp erdo-draft-links generate|revoke|listfor scripting and automation - Güvenli 32 karakterlik şifreleme belirteçleri — kaba kuvvet saldırılarına karşı dayanıklı
- Configurable expiry: 24 hours, 48 hours, 7 days, no expiry, or a custom date & time
- View count tracking per link, with an email notification the first time a link is opened
- Visitors can leave name + feedback on the preview — collected in a “Feedback” tab in the admin and emailed to you
- Reply to feedback directly from the admin — visitors see your reply the next time they open the preview
- Revoke any link at any time
- Belirteçler veritabanında karıştırılmış olarak saklanır — yönlendirmeden sonra ham belirteçler asla saklanmaz
- İki aşamalı akış: belirteç URL’si çerez temiz kalıcı bağlantı (belirteç tarayıcı geçmişinde asla görünmez)
- Harici API çağrıları yok, sunucuya bağlantı yok, abonelik yok
- Çeviriye hazır (varsayılan dil İngilizce, Türkçe dahil)
Geliştirici Notları
Geliştiriciler, erdo_draft_links_supported_post_types süzgecini kullanarak özel yazı türleri için destek ekleyebilirler:
add_filter( 'erdo_draft_links_supported_post_types', function( $types ) {
$types[] = 'product';
return $types;
} );
Kaynak kodu
Derleme araçlarını da içeren tam kaynak kodu, eklentinin assets/js/src/ dizininde yer almaktadır.
Ekran Görüntüleri



Yükleme
erdo-draft-linksklasörünü/wp-content/plugins/dizinine yükleyin.- WordPress’teki Eklentiler menüsünden eklentiyi etkinleştirin.
- Herhangi bir yazıyı veya sayfayı açın ve düzenleyici kenar çubuğunda veya üst veri kutusunda Erdo Taslak Bağlantıları panelini bulun.
SSS
-
Bu, özel yazı türlerinde de çalışıyor mu?
-
Yes. By default Erdo Draft Links supports posts and pages. Administrators can enable other public post types under Tools Erdo Draft Links Settings — no code required. Developers can also use the
erdo_draft_links_supported_post_typesfilter, which takes precedence over the Settings tab. -
Can I generate or manage links from the command line?
-
Yes, via WP-CLI:
wp erdo-draft-links generate <post_id> [--label=<label>] [--expiry=<24h|48h|7d|never>],wp erdo-draft-links revoke <link_id>, andwp erdo-draft-links list [--post_id=<id>] [--status=<all|active|expired|revoked>] [--format=<table|csv|json|yaml|count>]. -
Evet. Belirteç, WordPress’in yerleşik
wp_generate_passwordişlevi tarafından üretilen 32 karakterlik kriptografik rastgele dizilerdir. Ham belirteç adreste yalnızca bir kez görünür; sonraki ziyaretlerde imzalı bir HttpOnly çerezi kullanılır. Belirteç, veritabanında SHA-256 HMAC karma değerleri olarak saklanır. -
Bir bağlantının süresi dolduğunda ne olur?
-
Alıcı, şu net iletiyi görür: “Bu taslak bağlantısının süresi doldu ve artık erişilemiyor.” Yazı taslak olarak kalır — hiçbir şey yayınlanmaz.
-
Aynı gönderi için birden fazla aktif bağlantı ekleyebilir miyim?
-
Yes. Give each link an optional label (e.g. “Client A”, “Designer”) when you generate it, and each link gets its own expiry, view count, and can be revoked independently of the others.
-
Can I set a custom expiry date and time?
-
Yes. Choose “Custom Date & Time…” from the expiry dropdown when generating a link and pick any future date and time, in addition to the 24 hour / 48 hour / 7 day / never presets.
-
Will I be notified when someone opens the link?
-
Yes. The site admin email receives a notification the first time each link is opened. Repeat visits to an already-opened link don’t send another email.
-
Bu, parola korumalı gönderilerde de işe yarıyor mu?
-
Hayır. Erdo Draft Links, taslak ve gizli yazılar için tasarlanmıştır. Parola korumalı yazılarda WordPress’in kendi mekanizması kullanılır.
-
Bu eklenti sitenin performansını etkiliyor mu?
-
Erdo Draft Links, yalnızca
?erdo_token=parametresini veya geçerli bir oturum çerezini içeren isteklerde çalışır. Sitenin normal trafiği bundan etkilenmez.
İncelemeler
Katkıda Bulunanlar ve Geliştiriciler
“Erdo Draft Links – Taslakları Paylaş, Müşteri Önizlemesi, Güvenli Bağlantı” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“Erdo Draft Links – Taslakları Paylaş, Müşteri Önizlemesi, Güvenli Bağlantı” 1 dile çevrildi. Katkıda bulundukları için çevirmenlere teşekkürler.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
1.2.0
- New: Generate multiple labeled links per post (e.g. “Client A”, “Designer”) — each with its own expiry, view count, and independent revoke.
- New: Reply to visitor feedback directly from the Feedback tab; the visitor sees your reply the next time they open the preview on that page.
- New: Custom date & time expiry option, in addition to the 24 hour / 48 hour / 7 day / never presets.
- New: The site admin gets an email the first time a draft link is opened.
- New: A Settings tab (Tools Erdo Draft Links Settings) lets administrators enable other public post types without code.
- New: WP-CLI support —
wp erdo-draft-links generate|revoke|list. - Tested up to WordPress 7.1.
1.1.0
- New: Visitors can leave name + feedback on a shared draft preview; submissions appear under the new “Feedback” tab in the Erdo Draft Links admin page and are emailed to the site admin.
- New: The Links Manager table now has a “Link” column with a hidden-by-default reveal button and one-click copy for the generated draft link.
- Fix: Page builder content (Elementor and others) now renders correctly on shared draft preview links for non-logged-in visitors.
- Fix: The “View Link” row action was renamed to “View Page” (it opens the post, not the draft link) to avoid confusion with the new “Link” column.
- Fix: The Block Editor sidebar no longer shows a stale draft link after it has been revoked or regenerated elsewhere.
- Fix: Caching plugins (e.g. LiteSpeed Cache) no longer serve stale draft previews or feedback status to visitors after a link is revoked or feedback status changes.
- Fix: The feedback widget’s appearance (colors, sizes, fonts, spacing) is now fully isolated from the active theme so it looks the same on every site.
1.0.1
- Düzeltme: Doğru UTC işleme için artık kullanılmayan
current_time(‘timestamp’)ifadesinitime()ile değiştirin.
1.0.0
- İlk sürüm.
