Zidalgo Wordpress Forums | ellipsis on home new´s title.

You must be logged in to post Login Register

Search Forums:


 






ellipsis on home new´s title.

UserPost

6:54 am
February 5, 2010


albert

Member

posts 3

1

Hi Brad,
NewPlus is working perfectly in multilanguage.
I send you the address if you want to include it in "Check out these great blogs utilizing wordpress"
http://fdmed.org

on the other hand, I need you in the headlines, when the title is more than line and is cut, I need dots appear.
ie:
now in http://fdmed.org/en/
one of the new´s headlines is:
First Workshop on Practical and Basic Anthropometry Dietary interviews, applied to the Practice
but only appears "First Practical Workshop on Dietary interviews' because otherwise it would take more lines.
What can I do to display the ellipsis?
like: First Practical Workshop on Dietary interviews "…"

I include the code in index.php and css paragraph:

thanks!

#topentry h1 {
    color:#464646;
    font-family:Geneva, Arial;
    font-size:16px;
    font-weight:normal;
    margin:0px 0px 10px;
    padding:0pt;
    line-height:28px;
}

  <?php if (have_posts()) : ?>
  <!–BLOCK NOTICIAS–>
  <?php query_posts('cat='.$

albertsBlocks->get('3').'&showposts=4'); ?>
  <?php $count=0; while (have_posts()) : the_post(); if(!($firstpost == $post->ID)) : ?>
  <?php if($count % 2 == 0) echo '<div class="left">'; else echo '<div class="right">'; ?>
  <div class="post" id="post-<?php the_ID(); ?>" style="">
    <h2>
      <?php the_category(', ', 'single' ); ?>
      <i> – <abbr>
      <?php the_date('Y-m-d'); ?>
      </abbr> – <a href="<?php comments_link(); ?>">
      <?php comments_number('', __('1 comment', 'newsplus'), __('% comments', 'newsplus')); ?>
      </a></i></h2>
    <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','newsplus'); ?>  <?php the_title(); ?>">
      <?php the_title(); ?>
      </a></h1>

    <p>
      <?php if(function_exists('the_thumb')) the_thumb(); ?>
      <?php the_content_rss('', TRUE, '', 33) ; ?>
      <span class="continuebox"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','newsplus'); ?>  <?php the_title(); ?>"><?php _e('continue','newsplus'); ?></a></span> </p>
    <div class="clear"></div>
  </div>
</div>
<?php if($count % 2 != 0) echo '<div class="clear"></div>';?>
<?php $count++; endif; ?>
<?php  endwhile; ?>
<?php else : ?>
<h2 class="center"><?php _e('Not Found','newsplus'); ?></h2>
<p class="center"><?php _e('Sorry, but you are looking for something that isn&acute;t here.','newsplus'); ?></p>
<?php endif; ?>

6:31 pm
February 7, 2010


admin

Admin

posts 173

2

Hi,


Please check your email I responded, the template currently doesn't support this functionality. I can add it but it requires custom work.

1:06 am
February 17, 2010


albert

Member

posts 3

3

hi admin!

i didn´t received this email…

sorry, can you send me it again?

thanks a lot!

4:09 am
May 3, 2010


albert

Member

posts 3

4

Post edited 4:11 am – May 3, 2010 by albert



sorry, me again!

i didn´t recived the email, please send me it again! [albert(at)dobleclic(dot)biz]

how much will be charged for the custom work?

thanks!