Excerpt under title on slider

Posted in: Newspaper
Post count: 3

Hi guys,
I cannot figure out how to call excerpt under title in the slider.

I tried to solve it similar to big slider like here but it doesn’t work.

Any ideas?

Cheers,
Kris

Post count: 7909

Hi,

That solution works but you will need to customize it with css code, please use inspector tool and see if excerpt is added there: http://screencast.com/t/9WJcsURKex
If you don’t have basic css/html experience I suggest to hire a profesional to do this for you. We would have gladly made it for you but for the moment we cannot offer custom work, sorry for this.

Thanks!

Post count: 3

Hi,
thanks for the reply, however I want to put this on the slider, not big slider 🙂

Here is what I’m trying to do: https://bitbucket.org/snippets/krishoja/z4rG

And it outputs error: Fatal error: Call to a member function get_excerpt() on null in /wp-content/themes/Newspaper/includes/modules/td_module_slide.php on line 27

I guess

Post count: 3

Okay, not a problem anymore, figured it out 🙂
https://bitbucket.org/snippets/krishoja/RB68

Could you just verify it’s totally correct? lines 25 to 27

Post count: 7909

Hi,

The Slider block was not designed to display excerpt, but you can do custom modification if you need it. After you have added the excerpt function in the file, call excerpt like this: http://screencast.com/t/KdQdzdfUrQb so you will have a class to customize with css code: http://screencast.com/t/Ah8xVbyCR

Thanks!

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