Forum Replies Created

Viewing 15 replies - 1 through 15 (of 97 total)
  • 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

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

    (@jo4nny8)

    Glad its now sorted for you.

    Plugin Author Jo4nny8

    (@jo4nny8)

    @kds26 Apologies for the delay in replying.

    I am unable to offer support on the issue related to the post type order plugin as I use default wordpress functions (latest release will be different) to fetch the next and previous posts.

    However I can offer a work around if it is simply adjusting the order in reverse.

    All you would need to do is click the ‘Switch Nav’ option in the settings (of WP Post Nav) to make the arrows display as they should (in reverse).

    You can then use the built in function to translate the wording on NEXT or PREVIOUS post and switch that around. Ive attached the generic example from the plugin to help.

    /*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

    All of the CSS can be altered with some custom css and transitions.

    To adjust the amount the nav button slides out, just add negative positioning on the hover

    .wp-post-nav #post-nav-next-default:hover {
        right: -275px; //just change the amount to suit but keep NEGATIVE
    }

    You cant change the mobile styles to be the same as on desktop as there is not efficient way to offer hover actions to make the buttons slide out, but you can change them with media queries if required.

    I hope that helps.

    Forum: Reviews
    In reply to: [WP Post Nav] Super
    Plugin Author Jo4nny8

    (@jo4nny8)

    @mkmkmkmkmk

    Thank you for the positive feedback, much appreciated!

    Plugin Author Jo4nny8

    (@jo4nny8)

    @clikzdigital

    Which bit are you struggling with?

    Plugin Author Jo4nny8

    (@jo4nny8)

    @shirtguy72

    Thank you for your comments! Thats actually a good idea and something ive added to my list of things to do.

    Ive taken a quick look through many of the default options in WordPress for making modifications to any of the queries as a temporary fix but unfortunately that doesnt seem possible as the adjacent_post function doesnt offer a hook at the point required.

    As a temporary fix if its something urgent, if you let me know what options you are using on the settings screen, I can tell you a couple of files to alter to add in the first and last post ids so it will loop for you.

    Plugin Author Jo4nny8

    (@jo4nny8)

    @josediz Thank you for the feedback.

    At present there are no plans for filtering through tags for the navigation.

    I will look into excluding posts via category.

    To hide the heading, you can simply use some custom css

    wp-post-nav h4 {
    display:none;
    }
    Plugin Author Jo4nny8

    (@jo4nny8)

    @cestep

    Brill, I’ll make the required updates to the repository.
    Thanks for the patience.

    Plugin Author Jo4nny8

    (@jo4nny8)

    @cestep Ive just emailed you a new version of the plugin.

    Please upload via FTP and see if this fixes the issue. Ive tried it with a custom post type on my dev version and it seems to work perfectly with and without the floating nav on.

    John

    Plugin Author Jo4nny8

    (@jo4nny8)

    @cestep

    Oooh now we’re getting somewhere.

    I don’t have computer access at present, but I will look at the shortcode as I think I now know the issue.

    Leave it with me and I’ll let you know how I get on

    Plugin Author Jo4nny8

    (@jo4nny8)

    @cestep Ive just sen the you the updated plugin.

    Can you upload with via FTP and NOT the wordpress upload option inside wp admin (otherwise you’ll need to delete the old plugin and then reinstall)

    When you’ve done this, go to the new DEBUG tab in the wp post nav settings and simply click the check box.

    Visit a project page on the front end where you are using the nav and at the bottom a large purple box will appear showing you your settings for the plugin, under that will be the details of the post fetched according to your settings, and then under that will be the actual next and previous post according to a custom function. I just need to see this page so I can fathom out where its going wrong for you.

    Plugin Author Jo4nny8

    (@jo4nny8)

    @cestep thanks. I’ll email it over tomorrow am for you. Please let me know when you’ve uploaded it and I’ll be able to view the output on the site.

    The plug-in is exactly the same with a debug option which only shows the query that’s ran on the page load so won’t affect anything else.

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