Support » Plugin: GEO my Wordpress » Pagination conflict with most of themes i downloaded form themeforest.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Conflict how?
    can you post a link to see an example ?

    Thread Starter Keno

    (@tangpage)

    http://tangpages.com/bus/

    tried a few themes i have, not working..

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Thank you!
    Is it the home page where you have the search form?

    Thread Starter Keno

    (@tangpage)

    yes.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    That is the problem ( I believe ).

    GEO my WP pagination uses the pages number ( http://www.example.com/something/page/2, http://www.example.com/something/page/3 ) just like WordPress pagination works and that is cannot happen on the home page. Try using a different page for the search form and see if it works.

    Thread Starter Keno

    (@tangpage)

    tried, i c, that’t the reason, so i have to give it up to let it show on homepage.. ;( crying, lol. thank you tho.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    I know. I am sorry but that is the way WordPress works. I can look into a solution to see if there is any.

    But for now you could use the search form on the home page and set the results to be displayed on a different page.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    I guess it kinda of half the solution 🙂

    Thread Starter Keno

    (@tangpage)

    i did this, i still want it to show on homepage. : )

    i added this to home page, anyway, people not looking deep to the results always, i just the more option to show different amounts of result for page, : )
    .gmw-pt-pagination-wrapper ul.gmw-pagination { display:none; }

    thank you anyway, so far, i could only do this. : )

    and may be add a link to lead to another search page, that have pagination work.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Below is a solution for you:

    open the file geo-my-wp/plugins/posts/includes/gmw-pt-search-funcitons.php

    and replace line 677 which should be

    $this->form['paged'] = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;

    with :

    if ( is_front_page() ) {
            	$this->form['paged'] = ( get_query_var( 'page' ) ) ? get_query_var( 'page' ) : 1;
    } else {
            	$this->form['paged'] = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
    }
    Thread Starter Keno

    (@tangpage)

    OMG, it works now, I love you! : )

    thank you , thank you , thank you. 😉

    Plugin Author Eyal Fitoussi

    (@ninjew)

    You are welcome 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Pagination conflict with most of themes i downloaded form themeforest.’ is closed to new replies.