Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2219169
headers and footers
Closed

Comments

  • lowcarbnocarb started the conversation

    I would like to ask for your help. 

    I am trying to switch off the rich pins from Pinterest.
    It says to add the code into the header.
    Since Soledad Theme does not have this, I do have a plug in for Headers and Footers.
    But when I add the code, nothing is happening.

    I am not so tech savy and probably I have to add maybe something else at the beginning or an end?
    Could you pls have a look and help me?

    The code I am suppose to add is:
    <meta name=„pinterest-rich-pin“ content="false" />

    This is how my Header box ends.

  •  2,699
    PenciDesign replied

    Hi,

    You can add the custom code into header via Customize > Logo and Header Options > Add Custom Code Inside <head> Tag

    Also, I see this code is wrong - please check it again:

    <meta name=„pinterest-rich-pin“ content="false" />

    It should be like this:

    <meta name="pinterest-rich-pin" content="false">
    


    Best Regards,

    PenciDesign

  • lowcarbnocarb replied

    Thanks a lot.

    So I can Copy paste all of the codes I have in the Plug in and move it to the location you have written?
    And I can than Delete the Plug In?
    I had no idea this is in there.


    Thanks a lot

  • lowcarbnocarb replied

    In here the code at the end is a bit different. This is exactly what I was copying and Pasting in there and that did not work. 

    https://help.pinterest.com/en/business/article/rich-pins

  •  2,699
    PenciDesign replied

    Hi,

    Let's copy the code as I said - It's the same:

    <meta name="pinterest-rich-pin" content="false">

    If it still doesn't work - let's ask pinterest support about this.


    Best Regards,

    PenciDesign

  • lowcarbnocarb replied

    In regards to the other question as I have extra plug in for Headers and Footers, I can Copy paste all of the codes I have in the Plug in and move it to the location you have written?

    And I can than Delete the Plug In?
    I had no idea this is in there.

  •  2,699
    PenciDesign replied

    Hi,

    Yeah, You can add the custom code into header via Customize > Logo and Header Options > Add Custom Code Inside <head> Tag

    And you can add the custom code into Footer via Customize > Footer Options > Google Analytics

    You can delete the pluginsmile.png

    Best Regards,

    PenciDesign

  • lowcarbnocarb replied

    One more question, since I have added the code, but nothing is happening.

    If my last codes in there ending like this:

    var c={ a:arguments,q:[]};var r=this.push(c);return "number"!=typeof r?r:f.bind(c.q);}
    f.q=f.q||[];m[e]=m[e]||f.bind(f.q);m[e].q=m[e].q||f.q;r=a.createElement(i);
    var _=a.getElementsByTagName(i)[0];r.async=1;r.src=l+'?v'+(~~(new Date().getTime()/1000000));
    _.parentNode.insertBefore(r,_);})(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml'); var ml_account = ml('accounts', '1087128', 'o6w5n2s6t6', 'load');
    </script>
    <!-- End MailerLite Universal -->

    Do I have to add anything before or/and after the Pinterest Code? Like maybe </script> or  <script> 

  •  2,699
    PenciDesign replied

    Hi,

    Your code is wrong.

    I see it's missing a open <script> tag. Let's check it again.

    Also, about all the custom codes, it's not the code from us - so we can't manage it. You should ask the author of that codes about how it worksmile.png


    Best Regards,

    PenciDesign

  • lowcarbnocarb replied

    This is how it looks from the beginning. Now I have at the end of that code added 

    <script> followed by Pinterest code and followed by  </script> 

    I have really no idea what I am doing and what is wrong. First time coding anything. I know There is probably just something simple but I have no idea how to add this Pinterest code properly.

    This is how it looks like but still does not works


    <!-- MailerLite Universal -->
    <script>
    (function(m,a,i,l,e,r){ m['MailerLiteObject']=e;function f(){
    var c={ a:arguments,q:[]};var r=this.push(c);return "number"!=typeof r?r:f.bind(c.q);}
    f.q=f.q||[];m[e]=m[e]||f.bind(f.q);m[e].q=m[e].q||f.q;r=a.createElement(i);
    var _=a.getElementsByTagName(i)[0];r.async=1;r.src=l+'?v'+(~~(new Date().getTime()/1000000));
    _.parentNode.insertBefore(r,_);})(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml'); var ml_account = ml('accounts', '1087128', 'o6w5n2s6t6', 'load');
    </script>
    <!-- End MailerLite Universal -->
    <script>
    <meta name="pinterest-rich-pin" content="false" />
    </script>
  •  2,699
    PenciDesign replied

    Hi,

    I think with this issue, you should contact with Pinterest support and ask them about this. Because we don't know how this code works... We're not author of that code, so we don't know how it work..


    Best Regards,

    PenciDesign