Support » Plugin: Events Manager » question about pagination

  • Resolved afreyer

    (@afreyer)


    hi there,

    i have placed an events list at the bottom of my page. now, if i click for next page at the pagination, page is loading, but starts at the top. Is it possible to link to an anchor to scroll down to events list after loading?

    thanks and regards, andré

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    do you have sample link to your site with this issue for us to see and analyze please?

    hi,
    yes of course:
    http://www.kaisermuehle-leipzig.de/#events-kaisermuehle

    i think i need a filter for paginated Links.

    thnx and regards

    Plugin Support angelo_nwl

    (@angelo_nwl)

    maybe this snippet can help you get started

    
    paste in your theme functions.php
    
    function em_change_pagination($string){
    	if ( strpos($string,'<') ){
    		$string = str_replace("<","< Previous page",$string);
    	}
    	if ( strpos($string,'>') ){
    		$string = str_replace(">","Next page >",$string);
    	}
    	$string = "<div class='em_pagination_link'>".$string."</div>";
    	
    	return $string;
    }
    add_filter('em_paginate','em_change_pagination',10,1);
    
    paste in your theme style.css
    
    .em_pagination_link {
    	float:right;
    }
    
    

    hi angelo,

    i ve placed it into my functions.php . now, all content is a Link to the last page.

    sure, you did understand my problem?

    let me explain:
    before: click on pagination page 2 –> jump to http://www.blabla.de/?pno=2

    after: click on pagination page 2 –> jump to http://www.blabla.de/?pno=2 (BUT to anchor #veranstaltungen –> top of the events list)

    thank you for help

    • This reply was modified 1 year, 1 month ago by afreyer.
    • This reply was modified 1 year, 1 month ago by afreyer.
    Plugin Support angelo_nwl

    (@angelo_nwl)

    the above is just to help you get started and might not work out of the box. you can find the pagination function under events-manager/em-functions.php

    tarunkxi

    (@tarunkxi)

    HI,
    I am implement the events manager plugin. Everything working fine rest of the pagination. when i click the pagination blank page will open. how to resolve it.

    • This reply was modified 10 months ago by tarunkxi.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘question about pagination’ is closed to new replies.