Code

Discussion on Advanced Post Navigator

Discussion on Advanced Post Navigator

By
Cart 291 sales

vaakash supports this item

Supported

This author's response time can be up to 2 business days.

113 comments found.

Hi,

I bought and have already installed your terrific plugin – Advanced Post Navigator into my WordPress site. I would like to know if the Prev and Next buttons (as well as the Speech Bubbles) can be placed at another location on the screen? Right now, the default location is on the left center middle and the right center middle of the screen. I would like to relocate them either further up towards the header or further down towards the footer. And also, further inward as well. The reason is that I have other things on the side of the screen (social share buttons, menu, etc) and your Advanced Post Navigator overlaps with them.

Please tell me how I may custom change the X, Y location for both the buttons and the bubbles.

Thank you, Philip

Hi Philip, Thanks for using ANPN plugin. Happy that you like it. Could you please share your website/page URL where the buttons are active? I will have a look at it and suggest CSS to move the button upwards.

Thanks, Aakash

Hi, actually, I like it the way it is. I now see why the arrow buttons should default to the middle on each side of the screen. The matching speech bubble has to point to it – and the bubble can be large sometimes, depending on the number of posts links to display. I have re-adjusted the location for the social media share buttons that I currently have set there, as well as the navigational menu on the other side of the screen, so I was able to set them all to display without overlapping. Although still, in a future update, consider adding additional placement options, so that all the widgets can play nice with each other. Thanks !!

Sure! I’ll think about this and implement it in the best possible way.

I have used this pulgin for a while. I have some pages excluded using “Hide the buttons in specific posts and pages” option. However, it just stopped working? HOw can I get that working again. Thank you, Sylvia

Hi janton1, That is strange. The plugin did not receive an update recently. So if it was working earlier it should work now too. Can you please share your post URL and a screenshot of the settings you have configured?

hello, I get new error messages : Notice: Undefined variable: wvr_atts in /home/vudum418/public_html/wp-content/plugins/360-view/360-view-util.php on line 31

Notice: Undefined variable: wvr_atts in /home/vudum418/public_html/wp-content/plugins/360-view/360-view-util.php on line 39

Notice: Trying to access array offset on value of type null in /home/vudum418/public_html/wp-content/plugins/360-view/360-view-util.php on line 39

Please help, thank you

Hi @tekno31, Sorry for the late reply. Looking at the error you have shared, I see that error is thrown by a plugin named “360-view”. Can you please check this issue with the author of that plugin ?

Hello, thank you for this plugin which is great. I have a question : Is it possible to display next / previous button only when you scroll and reach the bottom of the page. I thought it was the option “Show the next post bubble when page is scrolled to bottom” but it does NOT work.

Hello, I purchased your code. It works almost perfect. But for my blog, posts are displayed in reverse order. It means that I have change the category order form oldest to youngest. So when I use your code, your “next” is my “previous” . Is there any possibility to apply this with your code with css?

Hi @tekno31, Thanks for using Advanced post navigator plugin. Before using any workaround, the order of the next/prev buttons should be correct (i.e based on post date) It seems something is wrong. Can you please share your website link ? I’ll give a quick look and see what might be the issue.

Hello, I agre, your plugin work as designed. But the order next/prev is based on usual use of post order, the newest are the first. In my particular case, and I see that other persons had the same request, I changed the order of my post and the oldest are the first. (I use a plugin to change the order). I found a workaround for my case by modifying 2 line in anpn.php as follow i inverted $nextpost and $prevpost :

// $nextPost = get_adjacent_post( (int) $opts[‘same_category’] , ’’, true);

// $prevPost = get_adjacent_post( (int) $opts[‘same_category’] , ’’, false);

Maybe as a suggestion, you could add a option “reverse order” that would be usefull for other users, this is a simple modification

Hi @tekno31, Yes, I had shared the same for another customer. But I was not able to figure out when this happens. My guess is environmental since themes/plugins may change the how the posts are queried from DB and ordered. I’m planning to rewrite the plugin from scratch in couple of months. I’ll include your suggestions. Thanks !

This plugin is amazing! Here are some important features that are missing, or I can’t find them :)

1 – Show on Posts only (NOT pages) — The logic: My website has many pages, including landing pages and Thank You pages. I don’t want my visitors accidentally landing on them. Previous/Next arrows really only make sense for Portfolio posts and Blog posts. The solution: A simple tick box for Pages and Posts (and other post types?) Additional suggestion: show only on specified categories.

2 – Different sizes on desktop and mobile — The logic: on desktop you want the arrows to be obvious, but on mobile they need to be smaller and closer to the edges so they’re not in the way. The solution: a simple px value field for both desktop and mobile.

3 – Transparent background and border — The logic: Even though the border and background look pretty cool, some us will want no border or background for a minimalist look. I already found a comment here with some helpful CSS. The solution: for each color picker, simply add a transparency slider.

I have the plugin deactivated because I can’t figure out how to hide the arrows on all pages. Looking forward to your reply!

Hi clarkaq,

Thanks for purchasing Advanced post navigator plugin and for your feedback. Happy that you like it.

1) This has been a request by many people. I’m already working on adding this feature with the ability to create “rules” where the navigation buttons can be placed in custom location as required. I might release in couple of months. For now I would suggest making a small code change in plugin editor -> advanced-post-navigator/anpn.php -> line number 238. Replace

` if(is_singular() && !is_front_page() && !$isPost){`

with this

` if(is_singular(‘post’) && !is_front_page() && !$isPost){`

2) I have added this to my todo list. I’ll implement the same in the next release. For now you can paste below CSS in the additional CSS settings field under style and effects tab.

`@media screen and (max-width:782px){ .anpn-wrap{ margin: 0; } .anpn-wrap a{ padding: 5px 10px !important; } }`

3) Got it. Right now if you need a transparent color then you can open this website -> https://rgbacolorpicker.com/ pick a color and copy the rgba() value and paste it in the “color picker field”.

Thanks, Aakash

Thanks for the very detailed reply! You are definitely on the right track and these will be great features to add.

For #2 the CSS made the icons move closer to the edge of the screen, which is very good. Is there a way to adjust the icon size on mobile screens as well?

Thank you so much

Dear,

I just bought your plugin. but it doenst work how i would like to use it. I bought it for easier navigation on mobile devices to go trough my pages. but the prevouis page only appears when i already click a page and it doenst show next page anywhere. is there a way to change this because there are no settings in the application?

and i dont want it appearing when visiting the site on a pc.

Thank you in advance.

With kind regards,

Mike

Hi Mike, I think I found a bug with the plugin. I need to rework certain parts of the plugin. I will fix the bug and add an option to show the buttons in the homepage in the upcoming release. Meantime if you are interested you can continue with the plugin and keep the plugin deactivated. My guess it might take couple weeks or more. If you are ok thats is fine, or else you can request a refund as I’m sorry that your first experience was not very good.

Thank you for getting back to me. And being honest with the status of the plugin. I want my site to be live in the next couple of days. so i would like a refund please. but i would definitely consider this plugin in the future. and thank you for your amazing support!

Hi Mike, Thanks for understanding. There is a special case which I need to handle. Hence this inconvenience. I’ll let you know when the update is up. You can revisit the plugin later if interested. Refunds can be initiated only by the customer. Can you please initiate a refund from your side ? I’ll approve it. Thanks.

Good luck with your sales

Good Day.

We are interested in purchasing this plugin. We just have a question. Would this plugin be able to display prev/next blog post for a specific author only as well?

We have different authors and would like it that when you click on a authors name that you can view prev/next posts for that specific author.

Kind Regards

Hi as well as between posts, does it also work between pages? thank you

Hi, yeah the arrows work on pages too.. please find demo here – https://wpdemos.aakashweb.com/advanced-post-navigator/page-2/

Is there a way to change “Get posts from same category as current post” to Tags?

Yes please, I would love to have your suggestions. Thanks you!

Please deactivate the plugin before editing. In WordPress’s plugin editorc edit advanced-post-navigator\anpn.php

At line number 170, add , 'post_tag' after true At line number 171, add , 'post_tag' after false

It should finally look like below:

$prevPost = get_adjacent_post( (int) $opts['same_category'] , '', true, 'post_tag'); $nextPost = get_adjacent_post( (int) $opts['same_category'] , '', false, 'post_tag');

Save and reactivate the plugin. Thanks !

Thank you so much! This works perfectly!!!

Love it, is there anyway to display both Prev AND Next post when scrolled to bottom? So both show instead of just the “next” one?

In WordPress’s plugin editor please edit advanced-post-navigator\public\anpn-js.js

At line number 135 replace `anpnHide2` with `anpnShow` and save it.

After save press ctrl+f5 on your website to reload the new change.

This should show both the bubbles at once.

Thank you so much! This works perfectly!!!

Cheers !

awesome plugin! i just installed this now. bought it last year. cheers!

Cheers !

Great plugin! I have 2 questions:

1) Is it possible to switch the Next/Previous positions so the links are displayed reversed?

2) Is it possible to switch positions of the featured image and post title?

Thanks!

That would be great! I tried updating the anpn.php myself but couldn’t figure it out.

Ok.. could you please ping my email ? aakash [dot] 19493@gmail.com I’ll attach it via email before Sunday.

Just emailed you, thank you!

Dear Author, I bought this navigator plugin for my custom post types. Will it work after proper settings, or this functionality is not working. If it not works on custom post type, please refund and write this information to the product description. Thank you for understanding.

I had to reset the settings to show up the arrows. I figured out, that if checkbox “Get posts from same category as current post” is clicked, the arrows dissapear. Please fix the in-category navigation in Custom Post Type. Thank you.

Hi orflex,

Plugin works on custom post types. Not sure what is the issue on your side.

Can you please share your website URL along with a temporary administrator account username and password ?

I’ll login and check the issue for you.

Please send it to aakash [dot] 19493@gmail.com

Ok.. I see you have enabled “Get posts from same category as current post”

I’ll make sure this option is more descriptive and understandable.

Hi, i have a question. I need to create prev next in this site.

https://www.vetrerialandi.it/progetti/

I would need that when I go into a single project you show me the prev next as your plugin does, but by showing only the posts of the specific category (there are three as you see from the link) is it possible to do it?

Hi yillicomputers,

If the posts are “regular” posts and not a custom post type, then yes we can restrict the next/prev buttons to display posts of that category.

If the posts from custom post type, then that restriction is currently not available.

Thanks, Aakash

Ok, that is heading. You have to target the h3 tag. Please paste the code below. Also disable “excerpt” in the settings.

.anpn-cnt h3 { font-size: 15px; } .anpn-cnt > *:last-child{ margin: 0 !important; }

HI Aakash,

I just bought the plugin. Just wanted to know what is the way to reduce the font size within the bubble box?

I tried this but it isn’t working.

.anpn-cnt { font-size: 12px; }

Thanks Rinkehs

Nope. It isn’t working.

Can this be used with “Projects” in the Divi Theme to navigate to the previous and next projects?

Thanks for the swift reply. The plugin works perfectly on pages, but I could not seem to get it to work with the “projects” do you have a support email I can send a message to?

Sure.. please send me an email to aakash [dot] 19493 @gmail.com It is late night here, I’ll reply back in the morning. Hope you understand if there is late reply.

Excellent support. Super fast and was able to explain what I was doing wrong. Many thanks again.

Good mornng, I have 2 questions but I can not see how to start a topic in the forum and the contact form is not working. I purchased the Advanced Next / Prev plugin. I need to do 2 things. The first thing is to set the order of the pages. I want the pages in a certain order.

The second thing need s to hide the buttons on some pages. We only want them on some pages.

Thank you for your help. Sylvia

Thank you for responding promptly. Yes please provide the advanced conditions. I actually did use a plugin to reorder them. But I will change and use the one you suggested. Because the one I am using has no effect.

I am so sorry but this doesn’t seem to be working. do you have a private email that I can send you access?

Hi, please email me at aakash [dot] 19493 @gmail.com

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey