WordPress.org

Nederlands

  • Thema’s
  • Plugins
  • Nieuws
    • Documentatie
    • Forums
  • Over
    • Vertaalproces
    • Stijlgids
    • Onze community
    • Meetups
    • WordCamps
  • Contact
  • WordPress downloaden
WordPress downloaden
WordPress.org

Plugin Directory

Current Post Shortcode

  • Dien een plugin in
  • Mijn favorieten
  • Login
  • Dien een plugin in
  • Mijn favorieten
  • Login

Current Post Shortcode

Door Md Forid Uddin
Download
  • Details
  • Beoordelingen
  • Installatie
  • Ontwikkeling
Ondersteuning

Beschrijving

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"]

Installatie

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.

FAQ

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.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Current Post Shortcode” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • Md Forid Uddin

Vertaal “Current Post Shortcode” in je eigen taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.0.0

  • Initial release of the plugin.

Meta

  • Versie 1.0.0
  • Laatst geüpdatet 8 maanden geleden
  • Actieve installaties 10+
  • WordPress versie 6.0 of nieuwer
  • Getest t/m 6.7.4
  • PHP versie 7.4 of nieuwer
  • Taal
    English (US)
  • Tags
    custom fieldpost metapost titleshortcode
  • Geavanceerde weergave

Waarderingen

Er zijn nog geen beoordelingen ingediend.

Mijn beoordeling toevoegen

Bekijk alle beoordelingen

Bijdragers

  • Md Forid Uddin

Ondersteuning

Iets te melden? Hulp nodig?

Het supportforum bekijken

  • Over
  • Nieuws
  • Hosting
  • Privacy
  • Showcase
  • Thema's
  • Plugins
  • Patronen
  • Leren
  • Ondersteuning
  • Ontwikkelaars
  • WordPress.tv ↗
  • Raak betrokken
  • Evenementen
  • Doneren ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Nederlands

  • Bezoek ons X (voorheen Twitter) account
  • Bezoek ons Bluesky account
  • Bezoek ons Mastodon account
  • Bezoek ons Threads account
  • Onze Facebook pagina bezoeken
  • Bezoek ons Instagram account
  • Bezoek ons LinkedIn account
  • Bezoek ons TikTok account
  • Bezoek ons YouTube kanaal
  • Bezoek ons Tumblr account
Code is poëzie.