Opening Hours Shortcode With "Open Now" Status
Adds an [opening_hours] shortcode that prints your weekly opening hours as a table, highlights today and shows whether you are open right now, based on the site time zone.
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 an [opening_hours] shortcode that prints your weekly opening hours as a table, highlights today and shows whether you are open right now, based on the site time zone.
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 "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.
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.
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.
Adds a [random_posts] shortcode that lists a few random posts, optionally from chosen categories or another post type, without running a slow random database query on every page view.
Registers a [reading_time] shortcode that shows an estimated reading time such as "4 min read" for the current post.
Adds a [wpide_recent_comments] shortcode that lists the latest approved comments with the commenter's name, post title and a short excerpt.