Integrity Stack but Renew Portfolio Posttype

Hey guys,

i would like to have the Renew Portfolio Singlesite Posttype on my Integrity Stack Website, so I made a Child-Theme an tried to just place the wp-single-x-portfolio from the renew Stack to my Child-Theme Folder and it didnt work :smiley:

Can someone help me out?

Thx.

Hello There,

Thanks for writing in! Regretfully you cannot mixed the stack layouts. Each of the stacks ha a unique design and we do not have the option to mixed the stacks in the theme. To resolve your issue, since you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file

<?php

// =============================================================================
// VIEWS/INTEGRITY/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Integrity.
// =============================================================================

$archive_share = x_get_option( 'x_integrity_portfolio_archive_post_sharing_enable' );

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    <?php if ( ! x_is_portfolio_item() ) : ?>

      <div class="entry-featured">
        <?php x_portfolio_item_featured_content(); ?>
      </div>

    <?php endif; ?>

  <div class="entry-wrap cf">

    <?php if ( x_is_portfolio_item() ) : ?>

      <div class="entry-info">
        <div class="entry-featured">
            <?php x_portfolio_item_featured_content(); ?>
        </div>
        <header class="entry-header">
          <h1 class="entry-title entry-title-portfolio"><?php the_title(); ?></h1>
          <?php x_integrity_entry_meta(); ?>
        </header>
        <?php x_get_view( 'global', '_content', 'the-content' ); ?>
      </div>
      <div class="entry-extra">
        <?php x_portfolio_item_tags(); ?>
        <?php x_portfolio_item_project_link(); ?>
        <?php x_portfolio_item_social(); ?>
      </div>

    <?php else : ?>

      <header class="entry-header">
        <h2 class="entry-title entry-title-portfolio">
          <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a>
        </h2>
        <?php if ( $archive_share == '1' ) : ?>
          <?php x_portfolio_item_social(); ?>
        <?php endif; ?>
      </header>

    <?php endif; ?>

  </div>
</article>

3] Save the file named as content-portfolio.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/views/integrity/

You may need to create the folder path since it does not exist in your child theme.

Hope this helps. Please let us know how it goes.

Hey RueNel,

i followed your description, but it didnt work, im afraid. I made that path on the ftp, inserted the new content-portfolio.php, selected the childtheme and emptied the Cache.

Hi There,

Would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

Thanks.

here you go

Hi There,

I’ve updated the content-portfolio.php file and also added this custom CSS:

.x-portfolio .entry-info {
    float: left;
    width: 64%;
}
.x-portfolio .entry-extra {
    float: right;
    width: 32%;
    border: 2px solid #e5e5e5;
    padding: 25px;
    font-size: 114.2%;
}

Could you please check again?

Thanks.

Hey,

the single portfoliopage now looks very nice. Thank you :slight_smile:

But in the overview it seems there are some meta infos like in the screen and there seems to be a new

below the portfolio snippet.

Can you tell me, how to remove them?

Oops, and the single portfoliopost, seems not to be responsive anymore:astonished:

I’ve just updated the custom CSS.

Wow, this looks exactly like i wanted it to be, thank you sooo much :slight_smile:

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.