Get Template Builder Ability: Read a Single Theme Builder Template in WordPress

Key Takeaways

  • Retrieve a single Nexter theme builder template using the nexter/get-template-builder ability by providing a required integer id parameter.
  • Inspect full template records including type, title, display rules, and specific settings like sticky header or hook configuration.
  • Utilize nexter/list-templates-builder to find template IDs when they are unknown before modifying templates with nexter/update-template-builder.
Table of Contents

The nexter/get-template-builder ability retrieves a single Nexter theme builder template by its ID. It returns the full template record including type, title, display rules, exclusion rules, and type-specific settings such as sticky header, transparent header, or hook configuration. Use this ability to inspect template settings before modifying them.

Key Takeaways

The id parameter is required and must be an integer.

The ability returns an error if the template ID does not exist.

This ability is read-only. It never modifies the template.

Use nexter/list-templates-builder to find template IDs when you do not know them.

Required Setup

This ability ships with Nexter Extension (Free). If you do not have it installed, follow the guide on how to install and activate Nexter Extension first.

Parameters

**id** (integer, required) is the WordPress post ID of the template to retrieve.

What It Returns

The ability returns the full template object. Fields include: id, title, type (header, footer, breadcrumb, hooks, singular, archives, page-404, or section), status, display_rules, exclude_rules. Header templates additionally include sticky_header and transparent_header. Footer templates include footer_style. Hook templates include hook_action and hook_priority. The 404 type includes disable_header_404 and disable_footer_404.

When to Use This Ability

Retrieve full template details before passing data to nexter/update-template-builder.

Inspect display rules and exclusions for a template to verify targeting logic.

Read header or footer settings before toggling sticky or transparent behavior.

Related Documentation

List Templates Builder Ability: nexter/list-templates-builder

Update Template Builder Ability: nexter/update-template-builder

Toggle Template Builder Ability: nexter/toggle-template-builder

About the Author

sandip patel

WordPress Developer at POSIMYTH Innovations I am a passionate WordPress Developer at POSIMYTH Innovations, where I focus on building high-performance products and cutting-edge web experiences. Currently, I contribute to the development of major projects including The Plus Addons for Elementor, Sticky Header for Elementor, RankReady AI (LLM & SEO), and the SproutOS MCP server integration. I love bridging the gap between WordPress core functionality and modern AI capabilities. Beyond standard development.

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!