Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Hook Element – before header

  • usethebitcoin

    Hi,

    I created a hook element that will be shown before header and set on the entire website. But I noticed below, after footer, it was duplicated, pls reffer on the image below.

    https://i.postimg.cc/SRN8vcyc/Screenshot-15.jpg
    https://i.postimg.cc/NfFm88Cc/Screenshot-16.jpg

    I have cleared all server cache and even browsers. Thank you for helping.

  • Hi there,

    The one below the footer is an iframe, what is HTML you added to the hook element?

    https://app.screencast.com/aHePS7D4Jus8n

    Let me know πŸ™‚

  • usethebitcoin

    <!– TradingView Widget BEGIN –>
    <div class=”tradingview-widget-container”>
    <div class=”tradingview-widget-container__widget”></div>
    <div class=”tradingview-widget-copyright”><span class=”blue-text”>Track all markets on TradingView</span></div>
    <script type=”text/javascript” src=”https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js&#8221; async>
    {
    “symbols”: [
    {
    “description”: “BTC”,
    “proName”: “BITSTAMP:BTCUSD”
    },
    {
    “description”: “ETH”,
    “proName”: “COINBASE:ETHUSD”
    },
    {
    “description”: “SOLANA”,
    “proName”: “COINBASE:SOLUSD”
    },
    {
    “description”: “CARDANO”,
    “proName”: “BINANCE:ADAUSD”
    },
    {
    “description”: “POLKADOT”,
    “proName”: “COINBASE:DOTUSD”
    },
    {
    “description”: “POLYGON”,
    “proName”: “COINBASE:MATICUSD”
    },
    {
    “description”: “XRP”,
    “proName”: “BITSTAMP:XRPUSD”
    }
    ],
    “showSymbolLogo”: true,
    “isTransparent”: false,
    “displayMode”: “regular”,
    “colorTheme”: “dark”,
    “locale”: “en”
    }
    </script>
    </div>
    <!– TradingView Widget END –>

  • It’s the script that is adding the iframe.

    Do you have a performance/cache plugin? I think the issue here is one of those plugins is deferring your JS, so it appears after the footer.

    I would recommend checking your cache plugin’s settings.

  • usethebitcoin

    Hi Ying,
    Actually the js was set to delayed. I tried to set it as deferred it is still the same.

  • It’s not something that we can control, unfortunately.

    check with the performance plugin’s support on how to solve this issue. I guess some cache hasn’t been cleared.

  • usethebitcoin

    Hi Ying,

    This is solve, I just excluded the js of the ticker. Thanks for helping! πŸ™‚

  • Nice πŸ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.