Support » Theme: Medicine » Remove the button "read more" Showroom

  • Hello. I’m From Venezuela and this theme is perfect for me.
    I’d like to know if it’s possible remove the “Read More” button of the Showroom?
    Sorry for my English

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author LizardThemes


    Try to remove “Read more” in Showroom you have to delete the following code:
    <a> class='readmore'><?php echo $settings['showroom']['srreadmore']; ?></a>
    in the file showroom.php located in the directory of the theme.

    Thanks, It Works.

    I have another question. How can change the languages in the list select menu on homepage of the mobile version.

    I’d like “select page” is in spanish on the mobile version, how can I do it?.

    Theme Author LizardThemes



    To change this text you have to find the code:

    jQuery(document).ready(function() {
    	jQuery('#header .menu').each(function() {
    		var menu;
    		menu = jQuery('<select>', {
    		}).append(jQuery('<option>').text('Select page'));
    		jQuery('li', this).each(function() {
    				jQuery('<option>', {
    					'value':jQuery('a:first', this).attr('href')
    				}).text(jQuery('a:first', this).text())

    in the file js/main.js and change the “Select page” text.


    I’d like to refresh the subject. I did not manage to remove ‘rad more’ button.

    I’ve done as below but no joy. Any thoughts?

    <?php global $settings; ?>
    <?php if ( ($settings[‘elements’][‘showroom’][‘show’] || is_super_admin())&&(is_front_page()||$settings[‘showroom’][‘srinnerpages’]) ) { ?>

    <div class=’lzblock’ data-block=”showroom” <?php if (!$settings[‘elements’][‘showroom’][‘show’]&&is_super_admin()) echo ‘style=”display:none”‘; ?>>
    <div class=’showroom-block’>

    $args=array( ‘post_type’ => $settings[‘showroom’][‘showroomsrc’], ‘posts_per_page’ => 4 );
    if ( $settings[‘showroom’][‘onlymarked’] ) {$args[‘meta_key’]=’forshowroom’;$args[‘meta_value’]=true;}
    $items = new WP_Query( $args );
    <?php while ( $items->have_posts() ) : $items->the_post(); ?>

    <div class=’item’>
    <?php echo get_the_post_thumbnail( $post->ID, ‘showroom’ ); ?>
    <h3><?php echo $post->post_title; ?></h3>
    <?php if ($settings[‘showroom’][‘length’] > 0) medicine_custom_excerpt(‘echo=true&maxchar=’.$settings[‘showroom’][‘length’]); ?>
    // ‘ class=’readmore’><?php echo $settings[‘showroom’][‘srreadmore’]; ?>

    <?php endwhile; ?>
    <?php wp_reset_query(); ?>
    <div class=’clear’></div>
    <?php } ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove the button "read more" Showroom’ is closed to new replies.