Viewing 5 posts - 1 through 5 (of 5 total)
Jorge

Bug in Shopperpress

Hi Mark, Don't know if it's been reported yet, but I added in the header text items my facebook fan page, and when shopperpress outputs the address, it has an apostrophe at the end of it. I have attached the screenshot

Created: July 3, 2013 at 5:25 pm

  • David Harris
    David Harris
    July 3, 2013 at 6:11 pm

    In functions.php it needs another apostrophe in the facebook line. Old bug, thought it got fixed but I guess not.

    [code title=”FB Error”]if(strlen($icons[‘facebook’]) > 1){ echo “

  • <div>  </div>
  • “; }[/code]

  • David Harris
    David Harris
    July 3, 2013 at 6:20 pm

    Ignore that rubbish, forum still not good at posting code here I see… will put it on pasetbin, hangon.

    https://pastebin.com/jLXAr3yc

    after a href= and before ”

    _functions.php in your child theme.

  • Mark Fail
    Mark Fail
    July 4, 2013 at 12:59 am

    thanks i spotted that also and removed it for the update


  • Jorge
    July 9, 2013 at 9:30 pm

    David,

    Thanks for the pastebin. Gave me a bit of trouble to find the correct file at first, but finally got it.

  • Copyright © 2010-2020 PremiumPress Limited.

    secure payments