-
AuthorPosts
-
February 7, 2019 at 10:11 am #1063979
Hi Ismael,
Problem about rel next/ previous in pagination
On Previous topic you said to me create new topic because last topic is too long.
The ID of video testimonial category is 6084. Your code is ok for two categories id’s but when 3 or more id’s it’s not working in last page rel=”next” is present.I send login page and ftp access
Thank you.
February 12, 2019 at 5:06 am #1065769Hey Mohammad Mostafa,
Thank you for opening a new thread.
I modified this line a bit:
} elseif( $page == $entries->max_num_pages || $entries->max_num_pages > $page ) {
Let me know if you find more issues.
Best regards,
IsmaelFebruary 12, 2019 at 7:16 am #1065797Hi Ismael,
Thank you for your support. it’s work fine in (Blog Post Element) but in (Masonry Gallery Element Pagination) it’s not work correctly rel next and prev. Is it possible write a code for all Element’s that have a pagination?
Thank You.
February 12, 2019 at 12:59 pm #1065934Hi,
This is possible with the masonry gallery but it will require modifications that are beyond of what we had given so far because it uses a different query. You may need to contact a plugin developer or a freelancer to create a custom plugin for it. Please contact our partner, Codeable.
// https://kriesi.at/contact/customization
Best regards,
IsmaelFebruary 14, 2019 at 6:25 am #1066802Hi Ismael,
Thank you for your support. I change my website structure category and more according to my SEO Specialist.Please don’t close this topic until i check every thing in (Blog Element) is ok for rel=”next” and rel=”prev”.
Best regards,
Mohammad Mostafa
February 15, 2019 at 6:03 am #1067293Hi Mohammad,
Thanks for the update, we’ll keep this thread open in case you should need any further help.
Best regards,
RikardFebruary 18, 2019 at 7:05 am #1068147Hi Ismael,
I have a problem with your code. It’s work fine in blog post. But it’s appear in Page like this url below that have not pagination:
https://ariamedtour.com/contact-us/
https://ariamedtour.com/about-us/For now i comment your code in function.php. Please help to solved this issues.
Thank you.February 20, 2019 at 6:52 am #1069278Hi,
You can add the is_page function so that it won’t affect pages other than the ones specified.
Example:
if( ! is_page( array( 42, 'about-me', 'Contact' ) ) ) return;
// https://developer.wordpress.org/reference/functions/is_page/
You can add that right after this line inside the “wp_head_pagination_mod” function:
global $wp_query, $wpdb;
Best regards,
IsmaelFebruary 20, 2019 at 12:05 pm #1069417Hi Ismael,
Thank you for your support. my problem is completely solved.But i have an other issues about pagination and open new ticket for it in link below i appreciate if you help me to solved other problem on topic below:
https://kriesi.at/support/topic/problem-on-page-do-not-have-a-pagination/
thank you again for your support.
February 21, 2019 at 7:16 am #1069806 -
AuthorPosts
- The topic ‘Problem about rel next/ previous in pagination (2)’ is closed to new replies.