Portfolio pictures are not displaying on page

Support Forums for LiveMesh Themes & Plugins Forums Extinct Theme Support Portfolio pictures are not displaying on page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30571
    Daria Kolowca
    Participant

    Hi,
    I uploaded about 100 portfolio pictures to create a gallery but only half of them is visible on the page and some of them are broken.
    http://trtgstore.com/index.php/portfolio-3-columns-sortable/
    Login:smartdecor
    Password:smartdecor

    #30575
    Raghavendra
    Moderator

    PLs give us few hours and we will have a look and get back to you on this. Thanks.

    #30579
    Raghavendra
    Moderator

    I made the following changes to resolve this –

    Modified the file template-portfolio-3c-sorted-full-width.php in the extinct theme to –

    <?php
    /**
     * Template Name: Portfolio 3 Column Sorted Full Width
     *
     * A custom page template for showing the portfolio items sorted by name
     *
     * @package Extinct
     * @subpackage Template
     */
    get_header();
    ?>
    
    <div id="portfolio-full-width">
    
        <?php
        $args = array(
            'number_of_columns' => 3,
    		'image_size' => 'medium',
            'posts_per_page' => 300,
            'filterable' => true
        );
    
        mo_display_portfolio_content($args);
        ?>
    
    </div> <!-- #portfolio-full-width -->
    
    <?php
    get_footer(); // Loads the footer.php template. ?>

    You can see that I change the posts_per_page param from 50 to 300 to enable all posts to be shown. To protect this change from future theme updates, I would strongly recommend you create a file with the same name – template-portfolio-3c-sorted-full-width.php in child theme and have the above content. That will override the parent theme template.

    I see at least one portfolio item which does not have its featured image set and hence it is showing up as a blank element in the portfolio grid. Pls go to

    http://trtgstore.com/wp-admin/post.php?post=5497&action=edit

    and set the appropriate featured image for the above portfolio custom post type.

    Also, I would recommend you change the permalink for the site to one of the standard ones. Having index.php in the URL is not recommended.

    Hope this addresses all issues.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Extinct Theme Support’ is closed to new topics and replies.