WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Current Post Shortcode

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Current Post Shortcode

Bởi Md Forid Uddin
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

The “Current Post Shortcode” plugin allows you to display post titles and custom field values using simple shortcodes. You can display the current post’s title or meta information, or specify a post ID to retrieve data from a specific post.

Shortcodes

  1. Display Current Post Title and Meta Information:

    • Post Title: [current_post]
    • Post Meta (Custom Field): [current_post meta="custom_field"]
  2. Display Data from a Specific Post ID:

    • Post Title: [current_post id="123"]
    • Post Meta: [current_post id="123" meta="custom_field"]

Cài đặt

From your WordPress dashboard -> Go to Plugins -> Click on “Add new” -> In the Search field, enter ‘Current Post Shortcode’ and choose Current Post Shortcode. Press “Install Now” -> After installation, click “Activate”.

Or install it manually:
1. Download the plugin ZIP file from WordPress Directory.
2. Log in to your WordPress Dashboard, navigate to Plugins > Add New and click on “Upload Plugin” button at the top of the page
3. Choose the plugin ZIP file you downloaded in step 1 and click “Install Now.”
4. After the installation is complete, click the “Activate Plugin” button.

Hỏi đáp

How do I use the shortcodes?

  • Use [current_post] to display the title of the current post.
  • Use [current_post meta="custom_field"] to display a custom field value.
  • To display data from a specific post, use the id attribute: [current_post id="123"] for the title or [current_post id="123" meta="custom_field"] for a custom field.

Can I use this shortcode in widgets or other areas of the site?

Yes, you can use these shortcodes anywhere shortcodes are supported in WordPress, such as posts, pages, widgets, and more.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“Current Post Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • Md Forid Uddin

Dịch “Current Post Shortcode” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0.0

  • Initial release of the plugin.

Meta

  • Phiên bản 1.0.0
  • Cập nhật lần cuối 8 tháng trước
  • Số lượt cài đặt 10+
  • Phiên bản WordPress 6.0 hoặc cao hơn
  • Đã kiểm tra lên đến 6.7.4
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    custom fieldpost metapost titleshortcode
  • Nâng cao

Đánh giá

Chưa có đánh giá nào được gửi.

Thêm đánh giá của bạn

Xem tất cả đánh giá

Những người đóng góp

  • Md Forid Uddin

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.