help center

Search
Close this search box.
On this page

Set conditions for site part templates

Last Update: August 27, 2024

Elementor websites use a number of templates, some of which represent website parts that are used on multiple webpages. For example, headers and footers. When you create site parts, you have the option of displaying them on all your pages or selecting certain pages for them to appear on.

Set conditions for templates

Templates can appear on all or some of your pages. For instance, you can have the same header and footer appear on all your site’s pages or you can create a special header for your product pages.

To set conditions for templates to appear

  1. Create a site part template.
    AD 4nXdu3rr769IJxyjNYOWANZp5wo5gHZWovw h0a1L7KYmkKBn1gI6EvFEYAl jqOD1MLOPOdVdUpb cqE7DDlS6Fzi7o9nIqKQZgF1kPGe8rMD46DmwkWjTWqy0vcOjLv3NGMeS5I7eSrhAn JFBFB5hXE5s?key=b0L9AQ5QvoEkKwy cBpODA Set conditions for site part templates 1
  2. Click Publish to save the site part template.
    The conditions window appears.
    Click Add Condtion Set conditions for site part templates 3
  3. Click Add condition.
    Click save and close Set conditions for site part templates 5
  4. If you want this site part to appear on all pages, leave the default setting as is and click Save & Close in the lower right corner.
    INCLUDE or Set conditions for site part templates 7
  5. If you want to limit the template to certain pages, use the left dropdown to determine if you’re going to Include or Exclude pages. 
    Add more conditions Set conditions for site part templates 9
  6. The right dropdown determines which pages will be included or excluded.

See below for a full list of site part options.

Note
You can assign multiple conditions to a template. For instance a template can appear on all pages with the category Shirts and all pages with the category Pants.

Edit display conditions

After you assign display conditions to a template, you can go back and edit these conditions.

To edit display conditions:

  1. Open the template in the Elementor Editor.
    Click the down arrow Set conditions for site part templates 11
  2. Click the down arrow AD 4nXeEotx9w4Ws KNLh4TXqgBW335Do9JcmgXJ4oNML4y1fWxMeMy5ETbTd6rkNQ0Wu1btk0z39UrCWWROKwd8 5JTVLBpLdzjzM5d3w4CykecCnMSqy8sQtTx05A1SN6Q7 JqDTddcVqgS3gWX pFrMyLRs?key=b0L9AQ5QvoEkKwy cBpODA Set conditions for site part templates 13 next to the Publish button.
    Click Display Conditions 1 Set conditions for site part templates 15
  3. Select Display Conditions.

You can now edit the display conditions.

List of template options

The following is a list of options for including and excluding pages.

  • Entire Site: Use to select every page on the site.
  • Singular: Use to select individual pages or groups of pages on the site. After selecting Singular, you need to narrow your selection:
    • All Singular: Any page that doesn’t fall under another category such as Archives.
    • Front Page: The Home page.
    • Posts: All Posts by default with the option to manually select specific posts.
      • In Category: All posts in a selected category.
      • In Child Categories: all posts in selected subcategories.
      • In Tag: All posts with selected tags.
      • Posts by Author: All posts by a selected author.
    • Pages: All pages by default with the option to manually select specific pages.
    • Page by Author: All posts by a selected author.
    • Landing Pages: All landing pages by default with the option to manually select specific landing pages.
    • Landing pages by Author: All Landing pages by a selected author.
    • Floating buttons: All floating buttons by default with the option to manually select specific floating buttons. .
    • Floating buttons by Author: All Floating buttons by a selected author.
    • Media: All media by default with the option to manually select specific media.
    • Media by Author: All media by a selected author.
    • Direct child of: Select a specific page or post and the template will appear in any direct child page or post.
    • Any Child of:  Select a specific page or post and the template will appear in any child page or post, this includes a child of a child page or post.
    • By Author: Any element by a selected author.
    • 404 Page: The template will appear on the 404 page.
  • Archives: All Archives by default but you can select certain archives.
    • Author Archive: Select all archives by a selected author.
    • Date Archive: Select date archives.
    • Search Results: Select Search Results pages.
    • Posts Archive: Select post archive pages. 
    • Categories: All archives in a selected category.
    • Direct Child Category of: Select a specific archive and the template will appear in any direct child page or post.
    • Any Child Category of: Select an archive and the template will appear in any child page or post, this includes a child of a child page or post.
    • Tags: Select archives with a specific tag.
  • WooCommerce: By default, selects all your store pages.
    • All Product Archives: Select all product archives.
    • Shop Page: By default all shop pages with the option to select specific pages.
    • Search Results: Search results pages.
    • Product Category: All Woocommerce pages in a selected category.
    • Product Tags: All WooCommerce pages with products marked with a selected tag.
    • Products: All WooCommerce pages with selected products.
    • In Category: All WooCommerce pages in a selected category.
    • In Child Product Categories: Select a specific product category and the template will appear in any direct child products.
    • In Tag: All WooCommerce pages in a selected category.
    • Products by Author: All WooCommerce pages containing a product by a selected author.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article

Cyber Monday 2024 - Platinum 30% off
Did you know...?
You get a 30 day
money back guarantee

You have nothing to lose – but a great deal!

days
hours
minutes
seconds