PDF Viewer Shortcode
Adds a [pdf_viewer] shortcode that shows a PDF from the Media Library or a URL inside the page with the browser's built-in viewer, plus a download link for phones that cannot display it inline.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a [pdf_viewer] shortcode that shows a PDF from the Media Library or a URL inside the page with the browser's built-in viewer, plus a download link for phones that cannot display it inline.
Adds a [wpide_pmpro_expires] shortcode that shows when the member's current level ends, or "never" for levels without an end date.
Adds a [privacy_request_form] shortcode where visitors can ask for a copy of their personal data or for its deletion. Requests go into WordPress's own privacy tools and the visitor confirms by email.
Adds a [wpide_hello] shortcode that greets logged-in members by first name ("Hi, Sam") and visitors with a fallback you choose.
Lets administrators write a private note on any user's profile that only that user sees, through a [wpide_my_message] shortcode and on their own dashboard.
Adds a [wpide_pll_switcher] shortcode that prints an accessible Polylang language list or dropdown anywhere, with flags, names or both.
Adds [post_title], [post_date], [post_modified], [post_author] and [post_url] shortcodes for templates, patterns and widgets that need details of the current post.
Adds a [post_grid type="..."] shortcode that shows any post type as a responsive grid of cards with image, title and excerpt, so a regular page can act as its archive.
Counts views of posts and pages, shows the totals in a sortable "Views" column in the admin, and adds a [wpide_views] shortcode to display the count.
Adds a [rm_primary_category] shortcode that shows the primary category chosen in Rank Math, or the first category when none is set.
Adds a [primary_category] shortcode that shows the post's Yoast SEO primary category as a link, falling back to its first category.
Adds a [print_button] shortcode that places a button visitors can click to print the current page, useful for recipes, guides and forms.
Adds a wpide_log() helper that writes timestamped messages and data to a daily log file in a protected folder inside uploads, so custom code can leave a trail without touching debug.log.
Adds a "Page owner" setting to pages so you can build a private page for one member or client; only that person and editors can open it, and a [wpide_my_pages] shortcode lists a member's pages.
Adds a [wpide_product_price id="123"] shortcode that prints the current price of any product, including sale formatting, inside posts and pages.
Adds a [wpide_progress value="75" label="Funding goal"] shortcode that draws a labeled progress bar, for fundraising goals, skills or project status.
Shows a small promotional banner with a discount code above every Easy Digital Downloads purchase button during a sale.
Adds an optional "Pronouns" field to user profiles and a [wpide_pronouns] shortcode that shows them, for example next to an author's name.
Adds price, bedrooms, bathrooms, floor area and address fields to property listings and a [property_details] shortcode that shows them as a fact list.
Adds a [post_count type="job"] shortcode that prints how many published items a post type has, for lines like "We have 12 open positions".
Adds a [pull_quote] shortcode that sets a short quotation in large type, floated to the side on wide screens and full width on phones, to break up long articles.
Places the postcode and city fields side by side on the checkout, which saves space and matches how many countries write addresses.
Adds a [wpide_quote_form] shortcode where visitors pick a service, budget and timeline and describe their project; requests are emailed to you with spam protection and rate limiting built in.
Records REST API requests that fail with a 4xx or 5xx status, with the route, method, user and error code, and lists the latest 100 under Tools > REST Errors for debugging integrations.