跳到内容

Gradientthemes FrontPage Elements

v1.0.4

Gradient 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日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

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

  1. 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. Default 3.
    • category (optional): Category slug to filter posts. Default empty (all categories).
  2. 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. Default 3.
    • columns (optional): Grid columns on desktop (1 to 4). Default 3.
  3. 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. Default 4.
    • columns (optional): Grid columns on desktop (1 to 4). Default 4.
  4. 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. Default 3.
    • columns (optional): Grid columns on desktop (1 to 4). Default 3.
  5. 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. Default 6.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums