Icon Stack and Portfolio Title and Text Excerpt

Hi,

until yesterday I could see in my portfolio page the title and text excerpt.

However, today I cannot see anything. I am using the Icon Stack. I just read however that the Icon Stack does not have any title or text excerpt. Really confused here to be honest…

As you see the above picture and till yesterday I could see both…Have not changed anything to CSS, everything checked. Also in Portfolio settings I have the option unchecked.

Any suggestions please? And would it be possible to remove the text excerpt underneath the featured image and leave only the title on top?

Thank you!

Hi There,

Thanks for writing in! If you have installed or new plugins later, please test for a plugin conflict by disabling your recent plugins.

For further assistance, please provide us with the referenced page URL.

Thanks!

Hi,

no new plugins installed or anything else.

The URL is http://nikosefstratiou.com/portfolio/

and here is how the portfolio slug looks like

How can I reproduce this please for my portfolio page http://nikosefstratiou.com/portfolio/ and how can I delete the text excerpt below the featured image?

Thank you

Hi,

That is ICON STACK default design, no title and only an image as you can see in our icon demo.

To add title, you can create file content-portfolio.php in wp-content/themes/x-child/framework/views/icon
and copy the code below into that file.

<?php

// =============================================================================
// VIEWS/ICON/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Icon.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <div class="x-container max width">

    

        <header class="entry-header">
          <h1 class="entry-title"><?php the_title(); ?></h1>
          <?php x_icon_entry_meta(); ?>
        </header>


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

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

        <?php x_get_view( 'global', '_content', 'the-content' ); ?>
        <div class="entry-extra">
          <?php x_portfolio_item_tags(); ?>
          <?php x_portfolio_item_project_link(); ?>
          <?php x_portfolio_item_social(); ?>
        </div>

      <?php endif; ?>

    </div>
  </div>
</article>

Hope that helps.

Hi,

I followed your instructions but keep getting the following message unfortunately

Any suggestions please?

Thank you!

Hi there,

Would you mind providing your FTP details so that we can check it?

Please post it in a secure note.

Thank you.

Hi,

how to I post in a secure note please?

Hi there,

That is the key icon that is under your replies.

Hi,

I went ahead and created the file and it seems to work.

Please check in your end.

Thanks

Hi,

could you please tell me what you did so I know also in my end?

How can I align the titles with the images and make the font smaller?

http://nikosefstratiou.com/portfolio/

Thanks

Hi,

  1. I created content-portfolio.php in wp-content/themes/x-child/framework/views/icon

Then added this code into that file.

<?php

// =============================================================================
// VIEWS/ICON/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Icon.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <div class="x-container max width">

    

        <header class="entry-header">
          <h1 class="entry-title"><?php the_title(); ?></h1>
          <?php x_icon_entry_meta(); ?>
        </header>


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

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

        <?php x_get_view( 'global', '_content', 'the-content' ); ?>
        <div class="entry-extra">
          <?php x_portfolio_item_tags(); ?>
          <?php x_portfolio_item_project_link(); ?>
          <?php x_portfolio_item_social(); ?>
        </div>

      <?php endif; ?>

    </div>
  </div>
</article>
  1. To reduce the font size and center the text, you can add this in Theme Options > CSS
body .x-iso-container.x-iso-container-portfolio .entry-header .entry-title {
    padding: 0;
    font-size: 13px;
    text-align: center !important;
}

body .x-iso-container.x-iso-container-portfolio .entry-featured {
    width:100% !important;
}

Hope this helps

It works! Thanks a lot!

Can I put the title below the featured image?

Hi there,

You will have to update the code to:

<?php

// =============================================================================
// VIEWS/ICON/CONTENT-PORTFOLIO.PHP
// -----------------------------------------------------------------------------
// Portfolio post output for Icon.
// =============================================================================

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="entry-wrap">
    <div class="x-container max width">

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

        <header class="entry-header">
          <h1 class="entry-title"><?php the_title(); ?></h1>
          <?php x_icon_entry_meta(); ?>
        </header>


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

        <?php x_get_view( 'global', '_content', 'the-content' ); ?>
        <div class="entry-extra">
          <?php x_portfolio_item_tags(); ?>
          <?php x_portfolio_item_project_link(); ?>
          <?php x_portfolio_item_social(); ?>
        </div>

      <?php endif; ?>

    </div>
  </div>
</article>

Hope this helps.

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