Viewing 3 replies - 1 through 3 (of 3 total)
  • I have something that works, but cuts the headlines by number of characters. You could do the same with words, but I need a set amount of characters for my site. This works for shortcode, not sure about the rest…

    In your back-end, go to: Plugins > EDITOR
    Select the plugin “RSS Multi Import”

    I use the template “Simple Bullet List” so I edit “wp-rss-multi-importer/templates/simple_bullet_list.php” with the following:

    $charlimit = “60”;

    Then add substr() to the code. In my case, the output for headlines is:

    $readable .= '<li class="title">'.substr($items["mytitle"], 0, $charlimit).' - <span class="date">'. date_i18n($strDate,$items["mystrdate"]).'</span>';

    Thread Starter kimmisun8005

    (@kimmisun8005)

    I followed your tips and add the code,

    but still, dosent work

    this is my demo page
    https://pangssi7.cafe24.com/?page_id=941

    can you help me?

    @kimmisum: Do you use shortcode to display the feeds in your page? If so, did you make sure to edit the right template file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can i customize Headlines length??’ is closed to new replies.