Read More on Blocks

Posted in: Newsmag
Post count: 49

Hi!

I have activated block 4 on my page and I wuold like to add a button “Read More” in every box on the block.

What is the way to do that?

Thanks =)

Post count: 6535

Hi

To achieve that you need to edit the td_module_2.php file and add this code like here: http://screencast.com/t/Gkgh5nzx3http://screencast.com/t/M8EOdj5Awtvw

<div class="td-read-more">
   <a href="<?php echo $this->href;?>"><?php echo __td('Read more', TD_THEME_NAME);?></a>
</div>

Note that the Read More button will appear each time when module 2 it’s used on page.

Thanks!

  • This reply was modified 10 years by Andrei L..
Post count: 49

Cool! It works Andrei!

Thanks a lot!

=)

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