Content & Posts snippets

Post types, statuses, revisions, excerpts and everything around publishing content.

Pairs well with WP Super Docs WP LinkCanvas

Showing 18 snippets

Content & Posts PHP Only Search Blog Posts Limit your site search to blog posts, so pages like Cart, Checkout or Thank You don't clutter the results. Beginner WP 7.1 Content & Posts PHP Run Shortcodes in Excerpts Make shortcodes typed into a post's Excerpt box work, instead of showing as raw [shortcode] text on archives. Beginner WP 7.1 Content & Posts PHP Go Straight to the Post When Search Finds One Result When a site search returns exactly one result, send the visitor straight to it instead of a results page with one link. Beginner WP 7.1 Content & Posts PHP Rename “Posts” to “Articles” in the Admin Change the word "Posts" to "Articles", "News" or anything else throughout the admin menu, screens and buttons. Beginner WP 7.1 Content & Posts PHP Add Categories and Tags to Pages Let pages use categories and tags like posts do, and include them in category and tag archives. Beginner WP 7.1 Content & Posts PHP Set a Custom Excerpt Length and Read More Text Override WordPress's default 55-word excerpt length and replace the generic [...] truncation string with a custom word count and a styled read more link. Beginner WP 7.1
Want it without code?Our plugins do the heavy lifting, with settings, updates and support.
Browse plugins
Content & Posts PHP Disable Comments Site-Wide Completely disable WordPress comments across all post types, closing existing comments, removing the menu items, and hiding all comment-related UI from the admin. Beginner WP 7.1 Content & Posts PHP Disable Self-Pings on Your Own Posts Prevent WordPress from sending a pingback to itself when you link to your own content in a post, eliminating unnecessary internal self-pings that clutter your comments moderation queue. Beginner WP 7.1 Content & Posts PHP Limit Post Revisions Globally Cap the number of post revisions WordPress stores per post to prevent the wp_posts table from growing indefinitely on sites with frequent content edits. Beginner WP 7.1 Content & Posts PHP Redirect a Specific Page to an External URL Redirect a WordPress page or post to an external URL using a custom field, enabling marketing redirects, affiliate links, and campaign tracking URLs managed from the admin without touching code. Beginner WP 7.1 Content & Posts PHP Related Posts by Category Without a Plugin Query and return related posts from the same category as the current post, with a simple caching layer to avoid repeat database queries on popular posts. Intermediate WP 7.1 Content & Posts PHP Register Custom Post Statuses Add custom statuses like 'In Review' and 'Approved' to the post editing workflow, giving editorial teams a structured approval process beyond WordPress's default Draft and Published states. Intermediate WP 7.1 Content & Posts PHP Fix Missed Scheduled Posts on Shared Hosting Trigger WordPress's missed schedule check on every front-end page load so scheduled posts publish reliably on shared hosting where WP-Cron doesn't fire consistently. Intermediate WP 7.1 Content & Posts PHP Add a Table of Contents to Long Posts Automatically add a linked table of contents above the first heading of any post with three or more H2 or H3 headings. Intermediate WP 7.1 Content & Posts PHP Set the First Image as the Featured Image When a post is saved without a featured image, use the first image in its content automatically. Intermediate WP 7.1 Content & Posts PHP Require a Featured Image Before Publishing Disable the Publish button in the block editor until a featured image is set, with a notice telling the writer why. Intermediate WP 7.1 Content & Posts PHP Add a Call-to-Action Box After Every Post Add the same box to the end of every blog post, such as a newsletter sign-up or a link to your products. Beginner WP 7.1 Content & Posts PHP Close Comments on Media Attachments Stop comments on image and file attachment pages, a common target for spam bots. Beginner WP 7.1

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only