Viewing 6 replies - 1 through 6 (of 6 total)
  • You want Viral option for your post in popup or you want post to open in popup and why u need this and where u need this

    Moderator bcworkz

    (@bcworkz)

    Tarun asks some important questions because there are several ways to create popups, including javascript and plugins. Some will be better than others depending on the circumstance. Most browsers will block certain kinds of popups because of rampant misuse.

    A fullscreen popup is generally discouraged because users do not realize they are in a popup, it appears like the same window was merely resized. They then navigate from it, creating more popups. Soon there’s many dozens of windows open and their browser crashes. Not a good user experience.

    Thread Starter alvaro0022

    (@alvaro0022)

    Hey there,

    I will explain in more detail what I need, the idea is that when you click on a post, this is displayed in the same window popup.

    Here’s an example!

    https://portfolio.themeart.co/

    Moderator bcworkz

    (@bcworkz)

    Yeah, that’s not technically a pop up, it’s really all one page and the CSS display properties are managed with JavaScript based on various click events. It’s the same concept as lightboxes, except the content fills the entire window instead of leaving some background visible.

    Thread Starter alvaro0022

    (@alvaro0022)

    as I can do this, any ideas?

    Moderator bcworkz

    (@bcworkz)

    You might try one of the various photo gallery plugins, not only for WP, but for jQuery as well. The latter will require some minimal custom coding. “Thickbox” is included in the WP distro, you might start there.

    The key is whatever package you chose needs to support arbitrary HTML content, not just photos. I don’t know if thickbox qualifies, but it’s worth a look. I imagine any of them will support the CSS changes needed to make it full window.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘open post in popup’ is closed to new replies.