Gradientthemes FrontPage Elements
v1.0.4Gradient Themes · 2026年11月25日 上架
Modular front-page sections (Post Slider, Services, Team, Testimonials, and FAQs) built with native WordPress core UI and shortcodes.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月25日
贡献者
FrontPage Elements is a lightweight, theme-agnostic companion plugin that provides modular front-page sections—Post Slider, Services, Team, Testimonials, and FAQs—via clean, accessible shortcodes for gradientthemes themes and compatible with any other themes.
Instead of adding heavy custom meta box frameworks or proprietary page-builder interfaces, FrontPage Elements uses native WordPress core content fields:
- Post Title for headings, names, or questions
- Post Editor (Content) for descriptions, bios, quotes, or answers
- Featured Image for slide visuals, service icons, team photos, or client avatars
- Excerpt for team member roles/positions or testimonial client company/title
- Menu Order (
page-attributes) for straightforward drag-free ordering
Assets (responsive CSS and dependency-free Vanilla JavaScript) are only loaded on pages where a FrontPage Elements shortcode is used, keeping your site fast and compliant with WordPress performance best practices.
Available Shortcodes
-
Post Slider
[gradientthemes_frontpage_elements_post_slider count=”3″ category=””]
Displays recent standard WordPress posts with Featured Image, Title, Excerpt, and Permalink inside an accessible slider with keyboard navigation, previous/next buttons, and dot indicators.count(optional): Number of posts to show. Default3.category(optional): Category slug to filter posts. Default empty (all categories).
-
Services Section
[gradientthemes_frontpage_elements_services count=”3″ columns=”3″]
Displays entries from the Services (gtfe_service) custom post type using Featured Image/Icon, Title, and Content.count(optional): Number of services to display. Default3.columns(optional): Grid columns on desktop (1to4). Default3.
-
Team Section
[gradientthemes_frontpage_elements_team count=”4″ columns=”4″]
Displays entries from the Team (gtfe_team) custom post type using Featured Image (photo), Title (name), Excerpt (role/position), and Content (bio).count(optional): Number of team members to display. Default4.columns(optional): Grid columns on desktop (1to4). Default4.
-
Testimonials Section
[gradientthemes_frontpage_elements_testimonials count=”3″ columns=”3″]
Displays entries from the Testimonials (gtfe_testimonial) custom post type using Content (quote), Featured Image (client avatar), Title (client name), and Excerpt (company or role).count(optional): Number of testimonials to display. Default3.columns(optional): Grid columns on desktop (1to4). Default3.
-
FAQ Section
[gradientthemes_frontpage_elements_faq count=”6″]
Displays entries from the FAQs (gtfe_faq) custom post type using Title (question) and Content (answer) in an accessible accordion powered by native<details>/<summary>markup and progressive Vanilla JS enhancement.count(optional): Number of FAQ items to display. Default6.
Theme Integration & Customization
FrontPage Elements uses CSS custom properties (--gtfe-accent, --gtfe-bg, --gtfe-card-bg, --gtfe-text, --gtfe-muted, --gtfe-border, --gtfe-radius) so active themes can seamlessly style every section to match their design system without !important overrides.