• Hello,
    I would like to make a banner size widget which would show latest posts of my wordpress page as a banner on the other, non wordpress site.
    So basically I would need a HTML code to embed this “widget” to that second site.

    I already tried using widget latest posts which comes with wordpress by default and embedding it there, but to do that, widget must be active and visible on wordpress page, but I do not want this.

    So to conclude and make myself clear, I would like that three of the latest posts will be shown on other page like a banner ad.

    If anyone knows about some plugin or code I could use or has any idea if this could be done, it would be really appreciated.

    Thanks in advance
    best

Viewing 1 replies (of 1 total)
  • Moderator cubecolour

    (@numeeja)

    You could make a custom page template in a child theme that displays the three latest posts, but does not display things like the header, footer and sidebars. If your theme has a landing page template, that might be be good starting point. Then create a page on your WordPress site set to use this template, but without a menu link.

    Then you can embed this content within your static site using an iframe

Viewing 1 replies (of 1 total)
  • The topic ‘Latest posts in a banner’ is closed to new replies.