Support » Plugin: Nooz » Giving featured image a different link

  • doktorramiz

    (@doktorramiz)


    Hi,
    Great plugin.
    Is there a way to differentiate the link of the featured image? I see the css class as “nooz-post__preview-background” and it’s calling the featured image. I want the image to be opened in a lightbox manner instead of having the same link with the rest of the box. In my case I’m only using press coverage and no press releases the whole box becomes an external link. How can I make the image to open itself in a lightbox?

Viewing 1 replies (of 1 total)
  • Plugin Contributor farinspace

    (@farinspace)

    @doktorramiz, this would require some template changes. As you may have noticed, the box content is wrapped with an A tag which becomes the primary link for the entire box.

    I would recommend you use your own theme/skin for Nooz. You can do the following:

    1) create a copy of wp-content/plugins/nooz/themes/outline folder
    2) place the copy in wp-content/themes/[your-theme-folder]/includes/outline
    3) use a wordpress hook to switch the theme/skin that nooz uses (see below)

    add_filter( 'nooz_theme_file', function( $file ) {
        return get_stylesheet_directory() . '/includes/outline/theme.php';
    } );
    

    The above is a bit more advanced, we are working to make this step a bit easier and straight forward .. You will likely need to make adjustments to “theme.php” file.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.