Block 9

Posted in: Newspaper
Post count: 12

Hello.

I would like to use Block 9 for my news listings but how can I modify the blog title to show more and with some contents just like what I could have Newspaper 5?

I want to have it like before.

Thanks.

Post count: 7909

Hi,

Like you can see in version 6 of the theme we changed/added more blocks and modules, so if you used block 9 in previous version and you want to have the same look, please set block 12 to display your articles – http://demo.tagdiv.com/newspaper/block-12/ Also you can set excerpt for module used for this block(module 11) – http://screencast.com/t/xQRsjE4Xu
If this is not what you mean please provide more details.

Thanks!

Post count: 12

Thank you for your quick reply!!

Understood about changing excerpt settings, which has been nicely done! Thanks.

But my posts do not have any pictures. So ideally I want to have Module 8 or 9 with a little bit of contents showing as before in Newspaper5 and the page view count if possible. I cannot find the box to change the content length for these modules so please further advise what to do!!

Thanks.

Post count: 7909

Hi,

I did not understand well what you want to do. Block 9 and 10(without thumb) don’t have excerpt content that why you there is not settings in the panel. A solution is to add excerpt in the code, but you also have to specify length there(as it is no option in theme panel) – http://screencast.com/t/zLaE3AoJoPrhttp://screencast.com/t/JxFXgHPsPK

<div class="td-excerpt">
        <?php echo $this->get_excerpt(25); ?>
</div>

Another solution is to use block 6 and comment the thumb code in module 5 – http://screencast.com/t/QzFtNv84oOhttp://screencast.com/t/ihqVMkgnHwX and you can control length from excerpts area – http://screencast.com/t/r6OL3q7LJYCH

Hope this helps!

Post count: 12

Thanks, Alin!

Your above code has just worked wonderfully for me!!

Great!! Have a nice day.

Post count: 20

Hi Alin, I have similar problem. The you have given where i have to add the code.
I mean which file.

Thanks
Venkatesh

Post count: 22421

Hello Venkatesh,

The files you need to modify can be seen in the 2 screenshots provided by Alin above. Please check the screens again. The files needed to be modified are highlighted. They are the module 5 and module 8 files bit under newspaper/includes/modules

Thank you!

Post count: 20

Hi Bogdan,

I have edited the module 8 file and add following code. Still i am not seeing except on the site.

<div class=”td-excerpt”>
<?php echo $this->get_excerpt(25); ?>
</div>

Post count: 22421

Are you sure you are testing a block 9 or a block 17 Those are the blocks affected by module 8.
Here is how it shows up for me:
http://screencast.com/t/wtHd9tXU2

Thank you!

Post count: 20

Hi Bogdan,

Thanks for the response. Now it is working i changes wrong file called td_modulem8.php. Now i corrected it is working but there is no space between author name and excerpt text. excerpt is overlapping on to author. please let me know how to keep space between them.

Thanks
Venkatesh

Post count: 22421

Hello,

Well since the module was not intended to show the excerpt, there is no css for it. It has to be created for the excerpt to position properly. You will have to use the browser inspector and add a top margin or padding to the excerpt: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thank you!

Post count: 21

Hi,

It’s not working for me. Can you please rectify it for me too. I’ll be obliged.

Thanks,
Ausaf

Post count: 22421

I tested this again and it still works. Please use the code exactly as described above. If you cannot handle it, you should hire someone to help out as we cannot do it for you.
The solution is presented above.

Thank you!

Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.