• 1.] on my template is not fixed width of hot news line. You can fix it adding this part of CSS code:
    .breaking-news-ticker
    {
    width: 960px !important; /* it definds width of breaking news line */
    margin: 0px auto !important; /* just center div */
    height: 37px; /* FIX the hight of the breaking news area DIV */
    }

    ==
    2.] edit \plugins\breaking-news-ticker\inc\bnt.php. It will fix two problems:
    a] ending dots “…”: Now they will appear only if it has sence (title was cutted).
    b] date now use default WP format set in options.

    $length = bnt_get_option(‘title_length’, ‘bnt_styles’, 55);
    $short_title = the_title(”, ”, FALSE);
    $title_lng = strlen($short_title);
    $short_title = $title_lng > $length ? substr($short_title, 0, $length).’ …’ : $short_title;
    $bnt .= ‘

    • ‘;
      $bnt .= ‘ ‘.$short_title;
      $bnt .= ‘
      ‘;
      $date = bnt_get_option(‘display_date’, ‘bnt_basics’, ‘Yes’);
      if ($date == ‘Yes’)
      {
      $date_format = get_option(‘date_format’);
      $bnt .= ‘<span class=”entry-meta”>’;
      $bnt .= get_the_time($date_format);
      $bnt .= ‘</span>’;
      }
  • The topic ‘Fixed a few issues’ is closed to new replies.