Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #65267

    Rich A
    Participant

    Just a note that the code to display the title, content, etc. on a portfolio index page, works with the Icon stack as well (even unmodified to reflect “icon” instead of “integrity”) using X v2.1.0.

    Placing the file in the appropriate folder in a child theme will ensure that it continues to work after future X Theme updates.

    It would be nice to have these options included in the Portfolio page editor going forward.

    Thanks for asking Harry and thanks very much to the X devs for their terrific and ongoing support. 🙂

    #65461

    Christian
    Moderator

    You’re welcome Rich. We’ll take note of that.

    #67635

    Harry B
    Participant

    Thanks for your help. This enabled the isotope filtering and full content display after I updated, however the “titles” don’t link to the individual posts. Can you please help me with this? Also I was wondering how to make the full content display on my blog posts when they are accessed by category. The blog posts show exactly how I want them on the index page, however the display un formatted without line breaks on the category pages.

    Cheers,

    Harry

    #68002

    Harry B
    Participant

    Thanks for your help. This enabled the isotope filtering and full content display after I updated, however the “titles” don’t link to the individual posts. Can you please help me with this? Also I was wondering how to make the full content display on my blog posts when they are accessed by category. The blog posts show exactly how I want them on the index page, however the display un formatted without line breaks on the category pages.

    Cheers,

    Harry

    #68039

    Rad
    Moderator

    Hi Harry,

    Would you mind providing a url address?

    Thanks!

    #68059

    Harry B
    Participant
    #68790

    Zeshan
    Member

    Hi Harry,

    To add the link to the portfolio posts title, replace the code in content-portfolio.phpunder /x-child-integrity-light/framework/views/integrity/ with following:

    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/CONTENT-PORTFOLIO.PHP
    // -----------------------------------------------------------------------------
    // Portfolio post output for Integrity.
    // =============================================================================
    
    $archive_share = get_theme_mod( 'x_integrity_portfolio_archive_post_sharing_enable' );
    
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <div class="entry-featured">
        <?php x_portfolio_item_featured_content(); ?>
      </div>
      <div class="entry-wrap cf">
    
            <header class="entry-header">
              <h1 class="entry-title entry-title-portfolio"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
              <?php x_integrity_entry_meta(); ?>
            </header>
            <?php x_get_view( 'global', '_content', 'the-content' ); ?>
    
            <?php x_portfolio_item_tags(); ?>
            <?php x_portfolio_item_project_link(); ?>
            <?php x_portfolio_item_social(); ?>
    
      </div>
      <?php x_google_authorship_meta(); ?>
    </article>
    

    Cheers!