Tagged: x
-
AuthorPosts
-
November 28, 2016 at 12:22 am #1272788
KimimilaWinParticipantHey guys! I am just adoring this theme, now using it on both:
CelesteKimimila.Com
and
ThinkingIndigenous.OrgAny 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!
November 28, 2016 at 12:26 am #1272795
ChristopherModeratorHey 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!
November 28, 2016 at 12:37 am #1272802
KimimilaWinParticipantSo 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 🙂
November 28, 2016 at 12:48 am #1272828
ChristopherModeratorHi 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.
November 28, 2016 at 1:00 am #1272836
KimimilaWinParticipantAhh! thank you so much! I really appreciate you!
November 28, 2016 at 1:02 am #1272838
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1272788 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
