• johanna123456

    (@johanna123456)


    I have a function that I have added to my mobile first page. All the other content are showing but not my function. I cant link to the site because I only have it localy on my computer.

    I have some code for the function in the child theme header.php
    <script data-host="//auctionet.com/embed" src="//auctionet.com/embed/js/auctionet-embed.v2.js" id="auctionet-embed-script"></script>

    And the code I have inserted to the text (not visual) on the mobile first page is

    <script id="auctionet-embed">// <![CDATA[
    auctionet.init({
    companyId: 1,      heading: 'Föremål till salu',
    backgroundColors: {
    image: '#ececec', meta: '#ececec'},
    textColors: {
    itemId: '#000', link: '#252525', heading: '#000', bidOrEstimateText: '#5d5d5d',       bidOrEstimateValue: '#5d5d5d', endsAtText: '#5d5d5d', endsAtValue: '#5d5d5d' },     locale: 'sv',     howManyItems: 4,     initialFilter: 'bid_on'   });
    // ]]></script>

    The functions should be responsive so I don’t know why it won’t show

    https://ww.wp.xz.cn/plugins/wptouch/

The topic ‘Plugin won't show my function’ is closed to new replies.