Forum Replies Created

Viewing 15 replies - 1 through 15 (of 108 total)
  • Plugin Author Jo4nny8

    (@jo4nny8)

    @erlisa Apologies for the delay in replying. Your site is in maintenance mode at present. Drop me a message when its viewable and ill grab a look for you.

    Kind regards

    Plugin Author Jo4nny8

    (@jo4nny8)

    @erlisa Thank you so much for your kind words of support.

    Forum: Plugins
    In reply to: [WP Post Nav] Stop slider
    Plugin Author Jo4nny8

    (@jo4nny8)

    @vserbu

    Change your css for the next nav to Right:-45vw !important.

    .wp-post-nav #post-nav-next-default:hover, 
    .wp-post-nav #post-nav-next-switched:hover {
      right: -45vw;
    }

    Not sure why its happening but that resolves the flicker

    Plugin Author Jo4nny8

    (@jo4nny8)

    @audiomonk

    Ok so I think I understand now from your example above and what youre describing is absolutely correct in what its meant to do.

    Let me explain.

    You have 5 posts sorted in date order (newest to latest)

    post 1 published today
    post 2 published yesterdaty
    post 3 published 2 days ago
    post 4 published 3 days ago
    post 5 published 4 days ago

    If you click post 1, there isn’t a next post (next would be a post published AFTER the current post) so it will only show the previous post as this is published previously to the current post.

    If you click post 2, the NEXT post is the post published AFTER this one – I/e post 1, and the previous post is the one published before this one (post 3)

    Does that make sense to you now?

    Plugin Author Jo4nny8

    (@jo4nny8)

    @audiomonk Yes

    Please send an email to websites@websitesforthetrade.co.uk with a link to your site so I can see whats happening on there.

    Can you also take a screenshot of the posts page in wp admin with the posts sorted in date order so I can see the posts and what is meant to be next and previous.

    Thanks

    Forum: Plugins
    In reply to: [WP Post Nav] Stop slider
    Plugin Author Jo4nny8

    (@jo4nny8)

    @vserbu Can you provide a link to the site and an example of what you are experiencing so I can test?

    Plugin Author Jo4nny8

    (@jo4nny8)

    @audiomonk
    Wp Post Nav uses built in WordPress functions for fetching the next and previous posts based only on DATE order in admin.

    Any modifications you do to the post order via plugins will use their own system to order posts and at present this is unsupported in WP Post Nav.

    IF the issue is only that the next and previous posts are now sorted the wrong way, you can use the SWITCH DISPLAY option under general settings to reverse the sort order.

    Plugin Author Jo4nny8

    (@jo4nny8)

    @jaspergrafisch

    Im no expert in what appears to be Divi, it appears that all the custom styles for responsive view points are overriden by divi minimising and combining the css into its own stylesheet.

    First try by excluding the wp-post-nav styles from your magnification settings as on mobile devices it should display at the bottom with the post title as hover styles do not work on mobile phones / tablets etc.

    Forum: Plugins
    In reply to: [WP Post Nav] box width
    Plugin Author Jo4nny8

    (@jo4nny8)

    Hi @lpulidos

    See your other post where I have added the correct code for you.

    Forum: Plugins
    In reply to: [WP Post Nav] Left box size
    Plugin Author Jo4nny8

    (@jo4nny8)

    Hi @lpulidos

    Yes. You haven’t specified the previous box with the correct class.

    .wp-post-nav #post-nav-next-default:hover,
    .wp-post-nav #post-nav-previous-default:hover {
    width: 20vw!important;
    }

    Notice that it is #post-nav-PREVIOUS-default not PREV as in your example.

    Hope that helps

    Plugin Author Jo4nny8

    (@jo4nny8)

    Hi @lpulidos

    Thank you for the feedback. I am planning on a major update to the plugin which will allows custom ordering but at present it only selects the next and previous based on the date in wordpress admin.

    Regarding translations, you need to use the built in gettext function and ive included an example in the examples file in the root of the plugin folder but theres an example below for you.

    //Translations without a plugin
    //wrap in a conditional if required
    $type = get_post_type();
    if ($type = 'post') {
      function wp_post_nav_translate( $translated_text, $text, $domain ) {
        switch ( $translated_text ) {
          
          case 'Category: ' :
            $translated_text = __( 'Something You Like: ', 'wp-post-nav' );
            break;
          case 'Previous Post' :
           $translated_text = __( 'Something Else: ', 'wp-post-nav' );
          break;
           case 'Next Post' :
           $translated_text = __( 'Something Else: ', 'wp-post-nav' );
          break;
        }
        return $translated_text;
      }
      add_filter( 'gettext', 'wp_post_nav_translate', 20, 3 );
    }
    //Text MUST be exact for this to work
    Plugin Author Jo4nny8

    (@jo4nny8)

    Hi @digisavvy

    Thanks for reaching out, I’m not at a computer at present big would like to try and help you.

    Firstly let’s confirm the hook you’re using is working.

    1. Can you confirm the words “From adv scripts” are shown on the page before the footer?
    2. Can you increase the priority from 5 to 100 in the add_action line.
    3. Can you change the hook from kadence_before_footer to wp_footer

    Please try the above and confirm any changes and more importantly, that the text you are echoing in addition is visible too.

    Thanks

    Plugin Author Jo4nny8

    (@jo4nny8)

    Excellent!

    Plugin Author Jo4nny8

    (@jo4nny8)

    Hi, it appears that the z-index of the post image is set with the same or higher priority than that of the post navigation banner.

    the default z-index for wp-post-nav is 100. can you try the following css?

    .wp-post-nav #post-nav-previous-default {
    z-index:999999;
    }

    If using the switched version, change the default to switched in the above code.

    Plugin Author Jo4nny8

    (@jo4nny8)

    Hi, apologies for the delay in replying.

    Do you have a link to your site so I can see what you mean and figure a way out to resolve your issue?

    Thanks

Viewing 15 replies - 1 through 15 (of 108 total)