• Resolved jtrollia

    (@malivuk)


    Hi,

    I didn’t find any answer for my problem browsing google πŸ™
    I want to display a single post (last of its gategory) in a pop-up page. Not a lightbox, a pop up.
    The problem is all WP function (get header, have post…) returns fatal error when called in my pop up page. I put it in root of my theme (with other pages).

    Any ideas ?
    Thanks.

    Edit : made some tests. I can open a pop up and use WP functions when opening page.php (pages model). But it seems I can’t use a custom page i created by myself…

Viewing 1 replies (of 1 total)
  • Thread Starter jtrollia

    (@malivuk)

    Okay, here is what I did to solve my problem. It isn’t exactly what I was looking for but anyway…

    I created a new page template and displayed my pop up page with it. For more information, have a look at “Specialized page template” section over here.

Viewing 1 replies (of 1 total)

The topic ‘Display post in pop up page’ is closed to new replies.