Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1272788
    KimimilaWin
    Participant

    Hey guys! I am just adoring this theme, now using it on both:

    CelesteKimimila.Com
    and
    ThinkingIndigenous.Org

    Any ways.. On the portfolio portion of my site, I would like to edit the slide effect hover info (highlighted with red): http://www.screencast.com/t/cDBF8z0h

    I’d like it say the category instead of the type of media it is. How can I do this? Your time is greatly appreciated, and keep up the awesome works everyone!

    #1272795
    Christopher
    Moderator

    Hey there,

    Thanks for writing in! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!

    #1272802
    KimimilaWin
    Participant

    So this is possible if I begin utilizing the child theme capabilities? I appreciate the timely response. In this case, I am the developer -_- Your advice is greatly appreciated 🙂

    #1272828
    Christopher
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Copy content-portfolio.php from framework/views/renew and put it in the same path inside child theme, replace existing code with following :

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/CONTENT-PORTFOLIO.PHP
    // -----------------------------------------------------------------------------
    // Portfolio post output for Renew.
    // =============================================================================
    
    ?>
    
    <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 class="entry-cover">
            <div class="entry-cover-content">
              <span> <?php x_get_view( 'renew', '_content', 'post-header' ); ?></span>
              <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>
              <span><?php echo get_the_date( 'm.d.y' ); ?></span>
            </div>
          </div>
        </div>
    
      <?php endif; ?>
    
      <div class="entry-wrap cf">
    
        <?php if ( is_singular() ) : ?>
    
          <div class="entry-info">
            <div class="entry-featured">
              <?php x_featured_portfolio( 'cropped' ); ?>
            </div>
            <header class="entry-header">
              <h1 class="entry-title entry-title-portfolio"><?php the_title(); ?></h1>
              <?php x_renew_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 endif; ?>
    
      </div>
    </article>

    All header data including author, date, category and post title will being displayed.

    To hide unwanted header data, please add following code in Customize -> Custom -> Global CSS :

    .page-template-template-layout-portfolio .entry-header .entry-title, .page-template-template-layout-portfolio .entry-header .p-meta span:first-child, .page-template-template-layout-portfolio .entry-header .p-meta span:nth-child(2) {
        display: none;
    }

    Hope it helps.

    #1272836
    KimimilaWin
    Participant

    Ahh! thank you so much! I really appreciate you!

    #1272838
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1272788 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>