1. Home
  2. Docs
  3. WP ieCard
  4. Template Structure

Template Structure

Override templates via a theme

The WP ieCard is made with WordPress standard and it is developer friendly. The plugin contains some markup files within the /templates/ directory.

If you want to customize any markup related to front end, You just need to copy these files to your theme directory.

ieCard Templates Hierarchy

  • ecard-custom-msg.php
  • ecard-img-stats.php
  • ecard-magnific-popup-data.php
  • ecards/
    • ecard.php
    • ecard-header.php
    • ecard-form-fieldset-style.php
    • ecard-form-input-box-anim.php
    • ecard-form-simple.php
    • ecard-form-single-column.php
    • ecard-form-two-column.php
  • ecards-img/
    • ecard-img-column-1-landscape.php
    • ecard-img-columns.php
    • ecardecard-img-columns-masonary.php
    • ecard-img-flat-columns.php
    • ecard-img-flat-columns-masonary.php
  • ecards-view/
    • siteview.php
  • emails/
    • header.php
    • footer.php
    • body.php
    • email-cnt-simple.php
    • email-cnt-default.php
    • email-cnt-siteview.php

Template Override Example

To override the ecard-header.php file then simply copy /wp-iecards/templates/ecards/ecard-header.php to Your-theme/wp-iecards/ecards/ecard-header.php