Ads on category.php [category page ]

Posted in: Newsmag
Post count: 5

Hello, I would like to add some advertising banners at the end of the list of articles in a category.

when I put the code, then the sidebar disappears, I don’t know if I should put the code in category.php or loop-archive.php

http://prntscr.com/pd5rp1

Post count: 35449

Hello,

If you want to set some code at the end of the loop in category, you’ll need to edit the category.php from wp-content/plugins/td-composer/legacy/Newsmag/category.php -> http://prntscr.com/pd6ui9 -> http://prntscr.com/pd6umh -> http://prntscr.com/pd6ur4

Hope this will help you!
Thank you!

Post count: 5

Ok, Calin thanks for answering, but my template is newsmag,

I did that and see what happens,

http://prntscr.com/pdfuvn

then

http://prntscr.com/pdfw6f

Do you see what I mean?

Post count: 35449

Hello,

Please notice that you are using the default category sidebar from default theme root ( wp-content/themes/Newsmag/category.php ) this one do not have a sidebar, you’ll need to edit the file from wp-content/plugins/td-composer/legacy/Newsmag/category.php, the category.php file from there have sidebar, the default one do not have -> http://prntscr.com/pdo93n.

Hope this will help you to understand why your sidebar is not displaying.
Thank you!

Post count: 5

Thanks, it’s done.

I wish I could show the complete content on mobile devices, how do I disable that template that only includes the last articles?

Post count: 35449

Hello,

The Latest articles that you have in the homepage came from the page template -> https://forum.tagdiv.com/newsmag-page-templates/ -> Page Builder + Latest Articles + Pagination.

Thank you!

Post count: 5

I refer to the design of the mobile format, I would like to see all the sections that I have in the home, and in the internal pages that also the information of the sidebar comes out

Post count: 35449

Hello,

If you are using the mobile theme plugin, please make sure that you have set some content in mobile editor or you can show the responsive version, you can check more about this in our documentation from here -> https://forum.tagdiv.com/the-mobile-theme/ -> http://prntscr.com/pdoa9j

Thank you!

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