• Hey there,

    I’m proud, that I’ve found this plugin, but I’m missing some neat features, which should be easy to implement.

    Missing features:
    1. Option to enable/disable the close button.
    2. Option to let the “main” button close the takeover instead.
    3. Option to let a “void click” close the takeover instead.
    4. Options to style the class “page-takeover-overlay”.

    Bugs:
    1. Currently for me (WP5.5.3) the “Custom CSS” won’t be inserted into the style of WP. I can’t see, why this line shouldn’t work:
    <?php if ( ! empty( page_takeover_get_option( 'custom_css' ) ) ) page_takeover_get_option( 'custom_css' ); ?>

    Nevertheless, easy to customize and fun to use.

    Best regards,
    Mike

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mikeknappe

    (@mikeknappe)

    Hey there again,

    found the fix for the bug:
    Line 383 in page-takeover/includes/general.php
    .. the “echo” is missing:
    Should be:
    <?php if ( ! empty( page_takeover_get_option( 'custom_css' ) ) ) echo page_takeover_get_option( 'custom_css' ); ?>

    Best regards,
    Mike

    Thread Starter mikeknappe

    (@mikeknappe)

    Hey there,

    another missing features would be:
    5. Option to set the session cookie “page_takeover_campaign” only after clicking decline and/or the main button.

    Plugin Author WPKube

    (@wpkube)

    Hi @mikeknappe

    Thanks, happy to hear you like it.

    And thanks for the suggestions, will add that to the to do list and pass it on to the plugin owner for review.

    Thread Starter mikeknappe

    (@mikeknappe)

    Hi @wpkube

    Thanks for sharing it with the owner for review.

    6. Another neat hint would be to insert a “background div” within ‘page-takeover’ right before ‘page-takeover-container’ to set fullscreen background images with all possibilities like blend-mode and non-inherited opacity.

    
    <div id="page-takeover-output" class="page-takeover" ...
    
      <div id="page-takeover-cover" class="page-takeover-cover"></div>
    
      <div id="page-takeover-container"
    
    
    .page-takeover-cover
    {
      background-image: url('some image');
      width: 100%;
      height: 100%;
      background-blend-mode: lighten;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-position: center;
      background-size: cover;
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      opacity: 0.7;
    }
     
    • This reply was modified 4 years, 2 months ago by mikeknappe.
    Thread Starter mikeknappe

    (@mikeknappe)

    It’s me again,

    hopefully the last idea ??

    7. Option to set a fadeOut for the page-takeover instead of a simple hide.

    jQuery( '.page-takeover' ).fadeOut( 500 );

    Plugin Author WPKube

    (@wpkube)

    Thanks @mikeknappe

    Will pass those as well to the owner.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Some neat missing features and a bug’ is closed to new replies.