KHALAF Shortcodes CPT, Pages and Template adds a dedicated, one-click copyable shortcode column (“Shortcode (KHALAF)”) to your WordPress admin tables for every public post type (Pages, Posts, WooCommerce Products, Custom Post Types, Templates) and every public taxonomy (Categories, Tags, Product Categories, and custom taxonomies).
Simply click on any shortcode field inside your admin tables to copy it instantly to your clipboard and reuse that content, template, or archive grid anywhere on your website!
[khalaf-content id="123"] works across pages, posts, WooCommerce products, CPTs, and templates.layout="auto" (default), full (complete article with featured image and metadata), product (complete WooCommerce product page), card (clean modern card), shop (WooCommerce grid), and blog (latest posts grid).[khalaf-term id="12" taxonomy="category"] outputs term posts grids, term cards, images, titles, or archive links.[khalaf-content id="123"]
The layout attribute controls the output presentation:
* auto (default) – Page builder content if present; complete WooCommerce product layout for products; content for pages and templates; styled article for posts.
* full – Featured image, post title, author, date, categories, tags, and full content.
* product – Complete WooCommerce product page (gallery, price, add to cart button, tabs).
* card – Modern styled responsive card.
* content – Raw content only.
* shop – WooCommerce products grid (useful for embedding catalog items).
* blog – Latest posts grid.
Other supported attributes: show_title, show_image, show_meta (yes/no), columns, limit, orderby, order.
[khalaf-term id="12" taxonomy="category"]
Term attributes:
* show="posts" (default) – Grid of posts/products associated with this term.
* show="card" – Compact term card (image, name, description, button).
* show="image" – Term image only (size, link="yes").
* show="description" – Term description only.
* show="title" – Term name only.
* show="link" – Direct archive link.