This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: ,

when using post lists or post slider i dont want to see the excerpt

  • Creator
    Topic
  • #13104
    avandam
    Participant

    hi when i use post list or slider list, the excerpt or full content is shown, see example http://iafnet.eu/1-dummy-vb/
    Is there a way to only show titel, image and read more? Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #13107
    Jason Bobich
    Keymaster

    Hello,

    To make any customizations outside of the scope of the theme’s options for how posts displays in a post lists, you’d copy content-list.php to your child theme and make the desired edits.

    http://dev.themeblvd.com/tutorial/editable-content-files/

    #13236
    avandam
    Participant

    Hi Jason, I was running the child thema already. I copied content-list.php to child theme. Though changes arent showing.
    as you can see i removed the content and meta data but it still shows. could you help me? thanx.

    <?php
    /**
     * The default template for displaying content in blogroll.
     */
    global $more; $more = 0;
    ?>
    <div class="article-wrap">
    	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    		<header class="entry-header">
    			<h2 class="entry-title"><?php themeblvd_the_title(); ?></h2>
    		</header>
    		</div><!-- .entry-content -->
    		<footer class="entry-footer">
    			<?php if( 'show' == themeblvd_get_option( 'post_list_tags', null, 'show' ) ) : ?>
    				<?php themeblvd_blog_tags(); ?>
    			<?php endif; ?>
    			<?php if ( comments_open() && 'show' == themeblvd_get_option( 'post_list_comment_link', null, 'show' ) ) : ?>
    				<span class="comments-link">
    					<?php comments_popup_link( __( '<span class="leave-reply">No Comments</span>', 'themeblvd' ), __( '1 Comment', 'themeblvd' ), __( '% Comments', 'themeblvd' ) ); ?>
    				</span>
    			<?php endif; ?>
    			<span class="read-more-link">
    				<a href="<?php the_permalink(); ?>"><?php echo themeblvd_get_local( 'read_more' ); ?></a>
    			</span>
    		</footer><!-- .entry-footer -->
    	</article><!-- #post-<?php the_ID(); ?> -->
    </div><!-- .article-wrap (end) -->
    #13238
    Jason Bobich
    Keymaster

    That’s all you need to do if you’re using working with a post list. Copy content-list.php to your child theme, make your edits and voila; it’s simple. Now, is it possible you’re confused about where you’re using a post list? I’m looking at your site, and I’m honestly not quite sure where I’m supposed to be looking to see that this didn’t work. I’m looking here:

    http://iafnet.eu/1-dummy-vb/

    … But don’t see any post list on that page. Are you sure you’re not asking about the standard Post Slider?

    Also be aware of what HTML markup you’re taking out. Make sure HTML tags open and closed. Currently I see in the code you’re pasting you’ve just got a random closing </div><!-- .entry-content -->. When this does get in there, this is going to bring things on the page. So make sure to delete that.

    #13239
    Jason Bobich
    Keymaster

    Aw, I see right in your topic title, you’ve got “post slider” — There’s no way to turn it off. An easy solution would just be to maybe hide it with CSS.

    .slide-description { display: none; }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.