Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    It looks like that the email address inside tables are not being encoded. How are you creating those tables? Are you using a plugin, or are they in your template files?

    Thread Starter geraldineelle

    (@geraldineelle)

    The tables are created without plugin or template files, just coded as:

    <table>
    <tr><td><i class=”icon-guest”></i></td><td>Person name</td></tr>
    <tr><td><i class=”icon-mail”></i></td><td>[email protected]</td></tr>
    <tr><td><i class=”icon-call”></i></td><td>+333312000000</td></tr>
    </table>

    Any idea?

    Plugin Author Till Krüss

    (@tillkruess)

    Could you paste the exact code in ticks, so it doesn’t get converted by the forum here?

    Thread Starter geraldineelle

    (@geraldineelle)

    Sure:

    <table class="no-style">
    <tr><td><i class="icon-guest"></i></td><td>Person name</td></tr>
    <tr><td><i class="icon-mail"></i></td><td><a href="mailto:[email protected]">[email protected]</a></td></tr>
    <tr><td><i class="icon-call"></i></td><td><a href="tel:https://www.ads-software.com/support/topic/+331000000">+33 (0)1 00 00 00</a></td></tr>
    </table>

    Plugin Author Till Krüss

    (@tillkruess)

    I just pasted the exact code into the WordPress editor and it gets encoded correctly.

    Where exactly is your table located?

    Thread Starter geraldineelle

    (@geraldineelle)

    Actually, I just created a test page.
    With only: <a href="mailto:[email protected]">[email protected]</a> And it is still not encoded.

    Plugin Author Till Krüss

    (@tillkruess)

    The only explanation for that could be that either the plugin is not active, or you theme doesn’t use the the_content() method to display the page contents. What theme are you using?

    Thread Starter geraldineelle

    (@geraldineelle)

    I already checked: the plugin is activated.

    I use BeTheme. But I dont’t think it’s linked as it used to work and I used BeTheme since the beginning.

    Plugin Author Till Krüss

    (@tillkruess)

    I can’t have a closer look at your theme, because it’s paid.

    If the plugin used to work and now doesn’t work anymore, something in your theme must have changed, because in other themes email addresses are encoded without an issue, even inside HTML tables.

    Please ask the authors of your theme for further assistance.

    Thread Starter geraldineelle

    (@geraldineelle)

    I asked the theme support who told me that “if the content is built with WP editor, then we use the_content() function. But if you ask about Muffin Builder or VC, both tools have own methods to display the content.”
    So I guess I will have to refer to FAQ “How can I filter other parts of my site?”?

    Plugin Author Till Krüss

    (@tillkruess)

    I guess you’re using that builder then, eh? If you do, then yes, you gotta filter the content manually.

    Thread Starter geraldineelle

    (@geraldineelle)

    I tried to extend to the the_post() content. However it doesn’t work.
    Is there an equivalent to eae_encode_emails() in JS?

    Plugin Author Till Krüss

    (@tillkruess)

    No, the plugin is purely PHP based. You got to figure out how to filter the content that your theme is returning. I recommend you ask your web developer to have a closer look at your theme.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Doesn't work everywhere’ is closed to new replies.