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–14 of 14 snippets “ip”

  • PHP Content

    Adds a [map_link] shortcode that links an address to Google Maps or Apple Maps directions, opening the visitor's maps app on phones, without embedding a map or loading any script.

  • PHP Content

    Author Box After Posts

    Adds a box with the author avatar, name, biography and a link to their other posts at the end of single posts. Authors without a biography are skipped.

  • PHP Content

    Current Year

    Outputs the current year. Insert it with the snippet shortcode anywhere you need a year that updates itself, such as a footer notice.

  • PHP Content

    Default Category per Author

    Pre-selects a category for new posts based on who writes them, for example "Recipes" for your food writer, so posts land in the right section without anyone remembering to tick it.

  • PHP Content

    Footnotes Shortcode

    Adds a [ref] shortcode for footnotes: each note becomes a numbered superscript link, and all notes are listed at the end of the post with links back.

  • PHP Content

    Notice Box Shortcode

    Adds a [notice] shortcode for colored info, success, warning and error boxes that make tips and important warnings stand out in your content.

  • 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 plain share links for X, Facebook, LinkedIn, WhatsApp and email under each blog post. No third-party scripts or tracking pixels are loaded.

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.