نمایش فال حافظ در وردپرس با یک شورتکد ساده — صفحات آماده، طراحی زیبا، امنیت کامل
Display random verses from Hafez's poetry on any WordPress site. One-click page setup, AJAX fortune refreshing, bilingual admin panel, and security-hardened code.
آنچه بازدیدکننده و مدیر سایت میبینند
What your visitors and site admin will see
نمایش شعر حافظ در قاب تزئینی طلایی با دکمه «فال جدید» — بدون reload صفحه
Random Hafez poem in a gold ornamental frame with AJAX "New Fortune" button
داشبورد ادمین با وضعیت صفحات، دکمه ساخت خودکار، و راهنمای شورتکدها
Admin dashboard with page status cards, one-click page builder, and shortcode reference
صفحه آداب فال با دکمه طلایی که مستقیم به فال تصادفی لینک میشود
Fortune intro page with editable text and golden CTA button linking to the random poem page
دکمه «فال جدید» با AJAX شعر جدید میآورد — بدون بارگذاری مجدد صفحه
AJAX-powered "New Fortune" button replaces the poem instantly with a fade animation
با یک کلیک هر دو صفحه مورد نیاز ساخته و به هم لینک میشوند
One-click page creator builds and links both required pages automatically — no shortcode copy-pasting
عنوان، متن، دکمه و لینک صفحه فال از پنل ادمین قابل تغییر است
Full content control: title, subtitle, description, button text, and link — all editable from the admin panel
همزمان با تایپ کردن در پنل ادمین، پیشنمایش صفحه آپدیت میشود
Live preview panel in the admin settings updates in real time as you type
قاب طلایی تزئینی، انیمیشن fade، دکمه gradient — همه با CSS/JS یونیک
Decorative gold frame, fade animations, gradient button — all with unique CSS/JS IDs to prevent theme conflicts
بررسی nonce، capability، rate limiting، escaping و sanitization در تمام نقاط
Nonce + capability checks, per-IP rate limiting, full output escaping and input sanitization throughout
[HAFEZ_RANDOM]
نمایش شعر تصادفی حافظ در قاب تزئینی با دکمه فال جدید
Displays a random Hafez poem inside a decorative gold frame with an AJAX "New Fortune" refresh button
[FAL_PAGE]
صفحه کامل آداب و طریقه گرفتن فال حافظ با دکمه طلایی لینکدار
Full Hafez fortune-telling intro page with editable content and a golden CTA button linking to the random poem page
[faleHafez_hafez_poem id="5"]
نمایش یک غزل خاص از حافظ با شماره
Display a specific Hafez poem by its ID number
Nonce + Capability Check
All admin forms verify both WordPress nonce and user capability before processing — double-layer CSRF protection
Output Escaping (XSS Prevention)
All output uses esc_html(), esc_attr(), esc_url(), and wp_kses_post() — no raw DB data ever reaches the browser
SQL Injection Prevention
All database queries use $wpdb->prepare() with typed placeholders — zero raw user input in SQL
AJAX Rate Limiting
Public AJAX endpoint limited to 30 requests per minute per IP using WordPress transients — prevents database spam
Direct File Access Blocked
All PHP files check for ABSPATH and exit immediately if accessed directly outside WordPress
Minimal Data Exposure
Database queries select only required columns (SELECT content, not SELECT *) — no unnecessary data exposure
نیاز به پشتیبانی داری؟ ایمیل بزن تا در اسرع وقت پاسخ بگیری.
✉ 6arshid@gmail.comNeed help? Send an email and we'll get back to you as soon as possible.
اگر از این افزونه رضایت داری، با یک حمایت کوچک انگیزه توسعه بیشتر را بده.
❤ حمایت کنیدIf this plugin has been useful, consider supporting further development.
6arshid.com/donate/رایگان — بدون محدودیت — مستقیم از WordPress.org
Free · No restrictions · Direct from WordPress.org