Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter karollew

    (@karollew)

    Hi Jose,

    Thanks, I’ve found js you mentioned and modified text. It works but the only issue I have is that I used Polish letter ‘?’ which got replaced by ‘question mark’ sign. Any idea how to work that out?

    Thanks,
    K

    Hi,

    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’>

    <?php
    $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’]; ?>
    </div>

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

Viewing 2 replies - 1 through 2 (of 2 total)