karollew
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Translation of mobile menuHi 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,
KForum: Themes and Templates
In reply to: [Medicine] Remove the button "read more" ShowroomHi,
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 } ?>