Answers.Body: <p>The Selector.tpl is placed wrong hence its not invoked. It should follow exact path of CiviCRM core module</p>
  <p>For example if the Selector.tpl in Core is placed under <code>plugins/civicrm/civicrm/templates/CRM/Contact/Form/Selector.tpl</code> than in template over-ride it should be <code>/home/domain/testwpcivi/wp-content/uploads/civicrm/templates/CRM/Contact/Form/Selector.tpl</code></p>
  <p>Once you have tpl placed under correct directory path clear civicrm cache</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-19T09:21:59.233Z
Answers.Text: this is it! I read this in a post from 2011 and I wasn't sure it still was the right way. thank.
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-19T08:45:49.757Z
Answers.LastActivityDate: 2021-05-19T08:45:49.757Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>We need to customise a template called 'Selector.tpl', we have identify this template with debugging on and copied it into <code>/wp-content/uploads/civicrm/templates/</code> and this directory is declared in Directories. We followed the documentation and it should work fine when it doesn't. The template is not loaded. We've tried on the original file that gets modify in the desired way but we want to use the custom one. Folder has 755 rights on and File has 644 on. Is there something special to care about?</p>
  <p><a href="https://i.sstatic.net/xqLY1.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/xqLY1.png" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-18T20:21:24.477Z
Comments.Text: What is the actual path of Selector.tpl in your custom template file?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-19T08:40:48.540Z
Comments.Text: `/home/domain/testwpcivi/wp-content/uploads/civicrm/templates/Selector.tpl`. Is this wrong?
Comments.UserDisplayName: Guillaume Sorel
Tags: <custom-templates>
Title: Can't load custom template
ThreadText: # Can't load custom template
  
  (Asked by: username_0 on 2021-05-18)
  
  We need to customise a template called 'Selector.tpl', we have identify this template with debugging on and copied it into `/wp-content/uploads/civicrm/templates/` and this directory is declared in Directories. We followed the documentation and it should work fine when it doesn't. The template is not loaded. We've tried on the original file that gets modify in the desired way but we want to use the custom one. Folder has 755 rights on and File has 644 on. Is there something special to care about?
  
  [![enter image description here](https://i.sstatic.net/xqLY1.png)](https://i.sstatic.net/xqLY1.png)
  
  **Tags:** custom-templates
  
  > **Comments:**
  > **username_1**: What is the actual path of Selector.tpl in your custom template file?  
  > **username_0**: `/home/domain/testwpcivi/wp-content/uploads/civicrm/templates/Selector.tpl`. Is this wrong?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-05-19. Score: 2 | Accepted answer
  
  The Selector.tpl is placed wrong hence its not invoked. It should follow exact path of CiviCRM core module
  
  For example if the Selector.tpl in Core is placed under `plugins/civicrm/civicrm/templates/CRM/Contact/Form/Selector.tpl` than in template over-ride it should be `/home/domain/testwpcivi/wp-content/uploads/civicrm/templates/CRM/Contact/Form/Selector.tpl`
  
  Once you have tpl placed under correct directory path clear civicrm cache
  
  > **Comments:**
  > **username_0**: this is it! I read this in a post from 2011 and I wasn't sure it still was the right way. thank.  
  
  ---
  
  