New Landing How can we help? Themeforest Theme Support Dante Portfolio – removing pagination

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #183604
    artcrafted
    Member
    Post count: 40

    Hello,

    I have changed permalink for businesses to /thisformat/ and page 2 refused to work. Link /thisformat/page/2 returns Page 404. Why?

    Even if you know why, I want to remove pagination anyway.

    I have changed this code in taxonomy-portfolio-category.php:

    
    			<div class="portfolio-wrap">
    					
    						<?php echo do_shortcode('[portfolio display_type="'.$portfolio_archive_display_type.'" columns="'.$portfolio_archive_columns.'" show_title="yes" show_subtitle="yes" show_excerpt="yes" excerpt_length="20" item_count="-1" category="'.$category_slug.'" exclude_categories="" portfolio_filter="no" pagination="yes" width="1/1" el_position="first last"]'); ?>
    						
    					</div>
    

    to this one:

    	
    		
    <div class="pagination-wrap">
    	<?php echo pagenavi($wp_query); ?>									
    </div>			

    and it still doesn’t have effect on it.

    #183609
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    div.spb_wrapper.portfolio-wrap div.pagination-wrap.masonry-pagination{
    display:none !important;
    }
    

    Thanks
    Mohammad

    #183620
    artcrafted
    Member
    Post count: 40

    Hi Mohammad,

    there’s flaw in your solution. It doesn’t remove pagination, it just removes links to next pages. All content that was supposed to be on the next pages is gone.

    It requires php tweak, not css.

    Kind regards.

    #183628
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You mean you want to show all of your portfolio items on one page?

    – Kyle

    #183665
    artcrafted
    Member
    Post count: 40

    Hi Kyle,

    yes, that’s what I wanted to achieve. But if it’s not possible – how can I fix my pagination?

    #183669
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You can add the portfolio page builder asset to your page and set to show all items by leaving the ‘number of items’ blank

    – Kyle

    #183713
    artcrafted
    Member
    Post count: 40

    I feel stupid now. Thanks!

    #183718
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    no problem. Thanks Kyle
    -Rui

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register