• Resolved CH3man

    (@ch3man)


    I am working with a domain name that has a 6 letter extension (.church) however, when I include an e-mail address on the website the address appears as [email protected]ch – in other words the last two letters of the extension are not recognised as part of the address. Is this a known issue? Is there a solution?

Viewing 9 replies - 1 through 9 (of 9 total)
  • It shouldn’t do that. What theme are you using on your website? Do you have a link to the problem on your website?

    Thread Starter CH3man

    (@ch3man)

    There are a couple of examples at the bottom of this page
    https://www.ashtonhayes.church/service-times/

    Please note that the website is still very much under construction.

    The theme being used is MH Purity and I am editing using Visual Composer.

    I think I have pinpointed the problem. When you post a email in the visual editor (or in a widget) it jumps to <a class="pep-email">[email protected]</a>ch instead of <a class="pep-email">[email protected]</a>.

    How are you displaying it on your website? Widget, page, or code?

    Thread Starter CH3man

    (@ch3man)

    I am not totally sure that I fully understand your final question – it is an e-mail address that I have typed onto a page whilst in visual edit mode. Does that mean that it has automatically been widgetised??

    Here is the generated code … I have emboldened the two addresses – they are not in bold in the actual code.

    Sunday Club is normally held in the Village Hall opposite the?<i>church and Village Praise is in the Parish Room (West End)</i>[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row][vc_row][vc_column width=”1/4″][vc_column_text]
    <h5>Address</h5>
    Church Road
    Ashton Hayes
    Chester CH3 8AB

    [email protected][/vc_column_text][/vc_column][vc_column width=”1/2″][vc_column_text]
    <h5>Contacts</h5>
    [/vc_column_text][vc_row_inner][vc_column_inner width=”1/4″][vc_column_text]
    <p style=”text-align: right;”>Tel:</p>
    <p style=”text-align: right;”>E-Mail:</p>
    [/vc_column_text][/vc_column_inner][vc_column_inner width=”3/4″][vc_column_text]01829 751440

    [email protected][/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width=”1/4″][vc_column_text]
    <h5>Social</h5>
    [/vc_column_text][/vc_column][/vc_row]

    Let me get this straight. When you click on the email you want it to do what?

    If you want it to open the email address in the persons default mail program then I would use the following.

    <a href="mailto:[email protected]?Subject=Hello%20again" target="_top">[email protected]</a>

    So try this.

    Sunday Club is normally held in the Village Hall opposite the <i>church and Village Praise is in the Parish Room (West End)</i>[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row][vc_row][vc_column width="1/4"][vc_column_text]
     <h5>Address</h5>
     Church Road
     Ashton Hayes
     Chester CH3 8AB
    
    <a href="mailto:[email protected]?Subject=Hello%20again" target="_top">[email protected]</a>[/vc_column_text][/vc_column][vc_column width="1/2"][vc_column_text]
     <h5>Contacts</h5>
     [/vc_column_text][vc_row_inner][vc_column_inner width="1/4"][vc_column_text]
     <p style="text-align: right;">Tel:</p>
     <p style="text-align: right;">E-Mail:</p>
     [/vc_column_text][/vc_column_inner][vc_column_inner width="3/4"][vc_column_text]01829 751440
    
    <a href="mailto:[email protected]?Subject=Hello%20again" target="_top">[email protected]</a>[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][vc_column width="1/4"][vc_column_text]
     <h5>Social</h5>
     [/vc_column_text][/vc_column][/vc_row]

    Hopefully that works.

    Thread Starter CH3man

    (@ch3man)

    You are right. The most desirable outcome would be for the e-mail address to open the default mail program.

    Unfortunately the code you supplied isn’t having the desired effect – for now I have left it in place so that you can see the result at the bottom of this page – https://www.ashtonhayes.church/service-times/

    I am assuming that “(Replace this parenthesis … )” pops up because I am using the e-mail protector plug in but again I am confused as to why it hasn’t recognised both addresses.

    Is this a “Visual Composer” issue rather than WordPress? Or could it be an issue with the theme??

    I appreciate your time and effort on this.

    Thread Starter CH3man

    (@ch3man)

    Matthew, I can’t thank you enough. I did some more digging around today. I disabled the plugins and reactivated them one at a time. I discovered that it was the plugin “Email Protector” which was indeed identifying the e-mail addresses and causing the truncation issue (I almost answered my own question in my last post). With E-mail Protector deactivated your code works perfectly. Thank you again.

    Awesome! Glad you were able to resolve the problem.

    Thread Starter CH3man

    (@ch3man)

    I’ve since been in and amended the plugin’s code so that it now automatically recognises 6 character extensions! Win-win! Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Extension too long?’ is closed to new replies.