• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Redirecting permalink in a post to launch a video in a lightbox

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Redirecting permalink in a post to launch a video in a lightbox

This topic is: not resolved

Tagged: external URL, lightbox

  • This topic has 6 replies, 2 voices, and was last updated 6 years, 8 months ago by R-Co.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 24, 2020 at 2:49 pm #496938
    R-Co
    Member

    I have an archive page of posts with the posts in 3 columns. Each post is a thumbnail image, title, and description of a video that I want to open in a lightbox. I’ve installed a plugin for the lightbox and have shortcode to call up the lightbox and play the YouTube video. I want the user to stay on the archives page and just have each video open in a lightbox rather than go to a separate page for each post. Is there a way to redirect the permalink for each post to call up the lightbox instead of going to a separate page?

    February 28, 2020 at 8:57 am #497022
    Brad Dalton
    Participant

    Yes, but what do you want to link in the archive entry. The title, featured image or something else?

    This may work https://wordpress.org/plugins/page-links-to/

    You could hook in the shortcode within the archive entry.


    Tutorials for StudioPress Themes.

    February 28, 2020 at 9:17 am #497024
    R-Co
    Member

    I wanted to link the title and featured image so that clicking on either launches the lightbox, allowing the user to watch the video, close the lightbox, and remain on the archive page. There didn't seem to be a way to change the permalink so it didn't take the user to a separate post page. Will this plugin allow me to include the "rel" tag within the URL to call up the lightbox?

    Thanks for your help!
    R-Co

    February 28, 2020 at 9:22 am #497025
    Brad Dalton
    Participant

    There maybe a filter included that allows you to do that.

    Otherwise, there's the genesis_link_post_title filter or maybe the genesis_post_permalink filter.

    You can see the code in genesis > lib > structure > post.php


    Tutorials for StudioPress Themes.

    February 28, 2020 at 9:29 am #497026
    R-Co
    Member

    I'll give it a shot. Thanks!

    February 28, 2020 at 9:36 am #497028
    Brad Dalton
    Participant

    Or you can replace the featured image with a video on archives. There's a plugin for that and then add lightbox.

    Not sure how it works https://wordpress.org/plugins/featured-videos-for-genesis/


    Tutorials for StudioPress Themes.

    February 28, 2020 at 9:43 am #497029
    R-Co
    Member

    I'll check that out too. Thank you.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble