Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Lester Chan

    (@gamerz)

    WP-Admin -> Email -> Email Options -> “E-Mail Text Link Style”

    Thread Starter scottl31

    (@scottl31)

    I’m not figuring this out.

    If I change to “Email text link only” then there is now “Email to a friend” in the upper right of every page and post, which I don’t want.

    I really like the envelope icon, and I want it to be part of what gets clicked where I have the short code placed, so I tried this in custom:

    <img src=”%EMAIL_ICON_URL%”>%EMAIL_TEXT%

    That makes the envelope before “Email to a friend.” but only the words can be clicked. But now the icon shows by itself on the upper right of every page and post, and is not clickable.

    How do I make the only thing showing or clickable to only be where I have placed the short code, and never have anything in the upper right of every page and post?

    Thanks!

    Thread Starter scottl31

    (@scottl31)

    The code in the above got changed. This is it:

    ‘<img src=”%EMAIL_ICON_URL%”>%EMAIL_TEXT%

    Thread Starter scottl31

    (@scottl31)

    Code still wrong, not sure why it gets changed.

    Plugin Author Lester Chan

    (@gamerz)

    <a href="%EMAIL_URL%" rel="nofollow" title="%EMAIL_TEXT%"><img src="%EMAIL_ICON_URL%"> %EMAIL_TEXT%</a>

    ?

    Thread Starter scottl31

    (@scottl31)

    Great, that made the icon and text clickable.

    But it is still showing on the upper right of every page and post.

    Is there a way to make it show ONLY where I place the short code and never showing on the upper right of every page and post?

    Plugin Author Lester Chan

    (@gamerz)

    That is because you included the PHP code in your theme <?php email_link(); ?> or your theme comes with it. Just remove the PHP code.

    Thread Starter scottl31

    (@scottl31)

    Thanks so much for your fast answers!

    I’m using Graphene (actually a child) and I never put that in. Do you happen to know which file I would edit to remove it?

    Also, if I decide I want it showing on posts, but not pages, what would I have to do?

    Thanks again!
    Scott

    Thread Starter scottl31

    (@scottl31)

    I figured out how to do the second question above. I found code relating to your plugin in three files:

    loop-page.php
    loop-single.php
    loop.php

    If one would be for posts, and one for pages, what would the other one be for?

    The one that worked for pages was: loop-page.php

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can I remove the envelope Icon?’ is closed to new replies.