• Resolved Nally123

    (@nally123)


    Hi,

    I placed the custom field code <?php the_meta(); ?> into the loop.php file but S2Mail Yes/No then appeared on all pages even if I dont have a S2mail field fill in.

    I then deleted every s2mail post from wp_postmeta in phpmyadmin but for every new post s2mail appears in the post along with my other custom fields.

    The only way S2mail does not appear is when i deactivate the plugin, but I dont have a mailing list then. Could you please help me in removing s2mail from all pages.

    Thanks

    http://wordpress.org/extend/plugins/subscribe2/

Viewing 11 replies - 1 through 11 (of 11 total)
  • @nally123,

    A meta key for s2mail is created for every post and page. We need to find a way of filtering the output from the_meta(). Why have you added that to your theme? Is it for a specific meta field?

    Thread Starter Nally123

    (@nally123)

    I’m using the magazine basic theme, the way it works is somebody submits data to me via a form on my site, It comes into to my backend as a post (pending) with some custom fields filled, I review the data send and send out a news alert so people will go to my site, but the S2mail appears in my posts as well as any new page I create. Have you any idea how to filter the output? Thanks for your help.

    @nally123,

    I was hoping you may be using a single specific meta field and then we could just access that data.

    I’ve done a little reading and WordPress has something called protected meta fields. I’ll move the s2mail field so that it becomes protected in the next version and it will disappear.

    I’ll get the code updated tonight hopefully so you could try the development version tomorrow and that will hopefully resolve your issues.

    Thread Starter Nally123

    (@nally123)

    Thats great thank you very much. Hopefully it will work. Chat to you tomorrow.

    @nally123,

    I’ve just checked the changes in, give it a try. It will work for new posts but you may need trigger the update code to fix existing one or run some manual SQL, let me know which way you’d prefer if it doesn’t work on older posts.

    Thread Starter Nally123

    (@nally123)

    Hi im back again, I done the new update but the s2mail custom field still appear with every new post. even if i dont have the field filled in it appears after i publish the post or update it. Any ideas? Would it have anything to do with the custom fields Plugin rather than the Subscribe2 Plugin? Thanks

    @nally123,

    How is it appearing on your site now? Is is ‘s2mail’ or ‘_s2mail’ – note the starting underscore.

    What is your site address too, I might understand better if I can see it.

    Thread Starter Nally123

    (@nally123)

    It appearing as s2mail this is the link to the page http://www.recruitauto.ie/?page_id=16 the top two are jobs i posted today, the rest I have removed the s2mail in the phpadmin database. Thanks

    @nally123,

    It seems that the updated code is not working for you, did you download the zip and use the entire contents to over write the server files?

    Thread Starter Nally123

    (@nally123)

    Hi im back again, I was away over the weekend. I updated the plugin from wordpress backend. Is there some other way I should do it? Thanks

    @nally123,

    Use FTP software like FileZilla to locate the files on the server and replace them that way. I’m not sure if the WordPress admin area will allow updates to beta versions.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Subscribe2] S2mail appears on all pages’ is closed to new replies.