Halloween Sale 15% off Ends in See the plans

Snippet Library

Content snippets for WordPress

Snippets that add to or change your posts and pages: reading time, author boxes, “last updated” notes, content after the post or after a paragraph, and excerpt tweaks. For bloggers, publishers and anyone who wants richer posts without editing theme files.

1–9 of 9 snippets “cli”

  • PHP Content

    Adds a [phone_link] shortcode that prints your phone number as a tap-to-call link, formatted for reading but dialled correctly in international format, so it only needs to be changed in one place.

  • PHP Content

    Inline Spoiler Shortcode

    Adds a [spoiler] shortcode that blurs a word or sentence until the reader clicks it or presses Enter or Space, and keeps the hidden text from screen readers until it is revealed.

  • PHP Content

    Print Button Shortcode

    Adds a [print_button] shortcode that places a button visitors can click to print the current page, useful for recipes, guides and forms.

  • PHP Content

    Adds a "Share draft" link under unpublished posts that creates a secret preview address, so a client or reviewer can read the draft without a WordPress account. Links expire after a set number of days.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.