WordPress.org

Support

Support » Plugins and Hacks » Plugin: WP-Email exclude pages

Plugin: WP-Email exclude pages

  • saintagnes
    Member

    @saintagnes

    Hi,

    I have installed the Plugin: WP-Email and it works great. I would, however, like to exclude the option on all my Pages.

    Anyone know how to do that?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Lester Chan
    Participant

    @gamerz

    do not put the php code in your page.php template and it will not display the link to the email page

    saintagnes
    Member

    @saintagnes

    I am using the Lainlog theme and there is no page.php template.
    The code is in the index.php template.

    is there a way to tell it to “exclude pages”?

    Lester Chan
    Participant

    @gamerz

    did u post it in my forums also? Because there is a similar request.

    saintagnes
    Member

    @saintagnes

    yes, i posted in both.
    nothing seems to be working though.
    it is probabaly because my theme (Lainlog) does not have a separate “page” and “post” .php, it is all one index.php 🙁

    Lester Chan
    Participant

    @gamerz

    use a <?php if(!is_page()) { email_link(); } ?>

    saintagnes
    Member

    @saintagnes

    Sorry, I’m sort of a beginner at this.
    Can you please explain where i should be inserting the code above.

    Lester Chan
    Participant

    @gamerz

    Do u remember placing the code of WP-Email into your template? Replace that code with the one I given above.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin: WP-Email exclude pages’ is closed to new replies.