• Resolved lakenjr

    (@lakenjr)


    This is a superb plugin. I did struggle for a while to “link” to it. Maybe the following info will help others.

    I discovered that a link like the following will only work in a post, but not in a page.
    <a href="#" class="splite-showpopup">Text to be shown on screen</a>

    I also discovered how to add CSS classes to a WordPress menu. First go to Appearance > Menus in your WordPress theme. Next, find the Screen Options tab at the top right of the screen. Click to open the panel, and check the box labelled CSS Classes. Select the menu you want to edit, and click the link you want to add a CSS class to. The class to be added is splite-showpopup (for the free version).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks, @lakenjr for using free version.
    Have a look for pro version also.
    If you like slick popup lite please care for the review

    • This reply was modified 6 years, 9 months ago by manish.omak.
    • This reply was modified 6 years, 9 months ago by manish.omak.

    Where would you add the CSS code in php?

    $enable_right_button = (realfactory_get_option('general', 'enable-header-right-button', 'disable') == 'enable')? true: false;
    			if( $enable_right_button ){
    				$button_link = realfactory_get_option('general', 'header-right-button-link', '');
    				$button_link_target = realfactory_get_option('general', 'header-right-button-link-target', '_self');
    				
    				$logo_right .= '<a class="realfactory-header-right-button" href="' . esc_url($button_link) . '" target="' . esc_attr($button_link_target) . '" >';
    				$logo_right .= realfactory_get_option('general', 'header-right-button-text', '');
    				$logo_right .= '</a>';
    			}
    
    			if( !empty($logo_right) ){
    				echo '<div class="realfactory-logo-right-text realfactory-item-pdlr" >';
    				echo gdlr_core_escape_content($logo_right);
    				echo '</div>';
    			}
    		?>

    Topic solved and mark as resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Solved] Linking to Slick Popup’ is closed to new replies.