Truncate Text

Àpèjúwe

Truncate Text lets you shorten long strings of text in posts, pages, or custom content. Ideal for trimming usernames, crypto wallet addresses, or any lengthy content, it offers flexible options to control exactly how and where the text is truncated.

Check out our other awesome plugins: Admin Hero | Admin Shift

Usage

  • Use the [truncate-text] shortcode to truncate text in your post or page content.
  • Use the [truncate-shortcode] shortcode to process nested shortcodes before truncating.

Optional Attributes

These attributes work with both shortcodes:
Ìtumọ̀ Yorùbá: – limit: Set the number of characters to display (default: 6).
Example: [truncate-text limit="8"]0x8755B12f034ee7b2383fCF5E849201C71622CC44[/truncate-text] 0x8755B1...1622CC44
Ìtumọ̀ Yorùbá: – encoding: Specify the text encoding (default: UTF-8).
Example: [truncate-text encoding="ISO-8859-1"]text[/truncate-text]
Ìtumọ̀ Yorùbá: – location: Choose where to truncate: “start”, “middle” (default), or “end”.
Examples:
Ìtumọ̀ Yorùbá: – [truncate-text location="start"]0x8755B12f034ee7b2383fCF5E849201C71622CC44[/truncate-text] ...1622CC44
Ìtumọ̀ Yorùbá: – [truncate-text location="middle"]0x8755B12f034ee7b2383fCF5E849201C71622CC44[/truncate-text] 0x8755...22CC44
Ìtumọ̀ Yorùbá: – [truncate-text location="end"]0x8755B12f034ee7b2383fCF5E849201C71622CC44[/truncate-text] 0x8755...
Ìtumọ̀ Yorùbá: – dots: Set the number of dots in the ellipsis (default: 3).
Examples:
Ìtumọ̀ Yorùbá: – [truncate-text location="end" dots="10"]0x8755B12f034ee7b2383fCF5E849201C71622CC44[/truncate-text] 0x8755..........
Ìtumọ̀ Yorùbá: – [truncate-text location="middle" dots="5"]0x8755B12f034ee7b2383fCF5E849201C71622CC44[/truncate-text] 0x8755.....22CC44

Nested Shortcode Example

  • [truncate-shortcode limit="6" location="end" dots="4"][another-shortcode][/truncate-shortcode]
    Processes the inner shortcode first, then truncates the result.

Support

If you have questions or issues, please reach out through our support channel at NateChisley.com. We’re happy to assist!

Contributing

We welcome contributions! Please follow our guidelines for contributing at NateChisley.com.

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Log in to your WordPress site as an administrator.
  2. Go to the “Plugins” section in the WordPress dashboard.
  3. Click “Add New” and then click the “Upload Plugin” button.
  4. Choose the truncate-text.zip file from your computer and click “Install Now.”
  5. After installation is complete, click the “Activate Plugin” button.

Àwọn àgbéyẹ̀wò

Ẹrẹ́nà 24, 2025 3 àwọn ìdáhùn
Best plugin for truncating text and not only, in my theme it also works inside the settings so I can control any text. I contacted the developer who in a few hours modified the plugin with my request and did it in a short time and going beyond my expectations. Great job!
Ka gbogbo àwọn àgbéyẹ̀wò 2

Àwọn Olùkópa & Olùgbéejáde

“Truncate Text” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Truncate Text” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.3

  • Restructured directory.

1.0.2

  • Added important links to the plugin page listing and settings page.
  • Brand/images update.

1.0.1

  • New attributes added (limit, location, encoding, dots).
  • Added support for nested shortcodes.

1.0.0

  • Initial release with [truncate-text] and [truncate-shortcode] shortcodes.