Tagged: ajax, pagination
-
AuthorPosts
-
August 22, 2014 at 12:25 pm #307797
Hello,
I am still having a problem with the ajax portfolio and I appreciate that on the following thread you mentioned there’s not much you can do.
https://kriesi.at/support/topic/ajax-portfolio-3/
However, is there at least a way to put the pagination at the top of the portfolio so that at least it shows there is more than one page of entries? At the moment the portfolio cuts off at the bottom and overlays the pagination.
Thanks
Andrew
August 23, 2014 at 10:30 pm #308320Hi awilson3rd!
What is the url for the site that is having the issue with the ajax portfolios?
Best regards,
DevinAugust 24, 2014 at 10:19 am #308419This reply has been marked as private.August 25, 2014 at 7:18 am #308648Hey!
Thank you for using Enfold.
If you want to add a pagination on top of the portfolio grid element, edit config-templatebuilder > avia-shortcodes > portfolio.php. Find this code on line 373:
$output .= "<div class='{$class} grid-sort-container isotope {$style_class}-container with-{$contents}-container grid-total-{$total} grid-col-{$columns} grid-links-{$linking}' data-portfolio-id='{$container_id}'>";Replace it with this:
//append pagination if($paginate == "yes" && $avia_pagination = avia_pagination($this->entries->max_num_pages, 'nav')) $output .= "<div class='pagination-wrap pagination-{$post_type}'>{$avia_pagination}</div>"; $output .= "<div class='{$class} grid-sort-container isotope {$style_class}-container with-{$contents}-container grid-total-{$total} grid-col-{$columns} grid-links-{$linking}' data-portfolio-id='{$container_id}'>";Cheers!
IsmaelAugust 25, 2014 at 11:19 am #308753Thanks for the reply Ismael,
I guess there is no way to do this in the quick css option?
Andrew
August 26, 2014 at 3:35 pm #309368In this case no but if you are using a child theme that change can be made so that it stays intact with theme updates.
Otherwise you could keep a copy locally and after each theme update re-upload the file with the location change.
-
AuthorPosts
- You must be logged in to reply to this topic.
