Bug: options template and summary

Posted in: Newspaper
Post count: 11

I have a big big problem, I think it’s a bug, please help me.

In the options of the template you can decide how many letters or words from the article appear below the photo. Ok.
(ExampleA-> http://www.screencast.com/t/FouaNCnZvQ)

In addition to article i also write a summary (for feed, Facebook, archive, search engines, etc etc), in this case the template options are canceled completely and the entire text of the summary appears below the photo!
(ExampleB-> http://www.screencast.com/t/f1ynpCpDNv)

Help is not normal, how can you solve?
(CorrectExampleC-> http://www.screencast.com/t/ZTZZGi05LMS)

  • This topic was modified 12 years by FanoTag.
Post count: 3343

Hi,
Is not a bug, but if you want to be like that edit the code to be like here: http://screencast.com/t/UdmUxnmlOd

if (empty($lenght)) {
            $lenght = 25;
        }

        if ($this->post->post_excerpt != '') {
            return td_util::excerpt($this->post->post_excerpt, $lenght, $show_shortcodes);
        }

Thanks!

Post count: 11

Fantastic solved!

thanks

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.