• Hello All,
    I’m running a website which is gathering news from different sources, and posting them into my website. what I want is that when a visitor comes to my site, and click on one of that posts, it will open the post in a lightbox theme, or a normal popup window. I want to do this because I don’t want to “steal” other’s efforts in making those news, also I want people to stay on my website…
    I’ve been looking for such solution for 15 days, I tried (Lightbox Plus, Lightbox pop, Alligator popup… etc), and none of them worked as I wished.
    Thank you in advance…

Viewing 15 replies - 1 through 15 (of 25 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    because I don’t want to “steal” other’s efforts in making those news

    I’m not sure I understand how using popup boxes will achieve that. Is that the issue, rather than a technical fault with a plugin?

    Thread Starter daryous_1

    (@daryous_1)

    Thank you Andrew for your response,
    I don’t want to “steal” other’s efforts, so I want to open the links (which will refer to the original article on the original site) in a lightbox popup, the content then will be shown from the original site, but without leaving my website totally.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Okay so do you just want to use an iFrame to achieve this? I’m not sure whether you’ve already done this and are looking for lightbox functionality, because those are separate questions.

    Thread Starter daryous_1

    (@daryous_1)

    I’m not a programmer, but I guess it is not the iframe, I use iframe for videos, but they will be played in the main page.
    Imagine a website with only the homepage, when you click on a link of news (as my website is), then it opens in a popup window. I’d prefer a lightbox theme popup, but that is ok if it will be a normal popup window.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you use an iFrame you’ll get the entire site pulled in, not just the news article, you’ll get the header, footer, and everything on that page. Are you aware of this?

    Thread Starter daryous_1

    (@daryous_1)

    No actually, I’d like to know more… how can I apply an iframe on my website?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter daryous_1

    (@daryous_1)

    I’m sorry, that is not what I mean… Thank you Andrew.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You have another option. The news sources you want to use probably have RSS feeds. RSS feeds are meant for sharing and you won’t have to worry about stealing content.

    So you use their RSS feed to get the data, then you re-construct the news article with the data you’ve got. You can do that in PHP or JavaScript, and then style it with CSS.

    After you’ve done that, then you can think about making it work for a lightbox.

    Thread Starter daryous_1

    (@daryous_1)

    you got it right Andrew!
    I’m using feedwordpress to get the content, but I’m still putting that content in a new post, and referring to the original at the end of the post.
    I want to get rid of this way, and use permalinks of the original feed. if I do so, then it will open the link into the same window of my website, and people will be directed away from mine.
    So, I want a moderate solution, where the permalinks will refer to the original feed, at the same time these permalinks will open in a popup window (prefer to be lightbox popup).
    I’d do that if the links were static on the page, but as the posts change, the links on the main page also change.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m using feedwordpress to get the content, but I’m still putting that content in a new post, and referring to the original at the end of the post.

    Can you link your website so that it’s clearer what you’re doing?

    Thread Starter daryous_1

    (@daryous_1)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re already using an RSS feed then you are not stealing content, and you do not need to worry.

    Thread Starter daryous_1

    (@daryous_1)

    Thank you Andrew for the consolation, but this is how I want my website to be done…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It would be best talking to your theme’s vendors about how this would be done: http://themeforest.net/user/tagDiv/portfolio

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘How to open all links in the homepage in a popup or lightbox’ is closed to new replies.