Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #1065769

    Hey 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,
    Ismael

    #1065797

    Hi 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.

    #1065934

    Hi,

    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,
    Ismael

    #1066802

    Hi 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

    #1067293

    Hi Mohammad,

    Thanks for the update, we’ll keep this thread open in case you should need any further help.

    Best regards,
    Rikard

    #1068147

    Hi 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.

    #1069278

    Hi,

    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,
    Ismael

    #1069417

    Hi 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.

    #1069806

    Hi,

    You’re welcome. We’ll close this thread then.

    Have a nice day.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Problem about rel next/ previous in pagination (2)’ is closed to new replies.