Edit "Related articles" section to place advertisement

Posted in: Newspaper
Post count: 72

Hello,
I am trying to add Google AdSense’s new “In-feed Ad” in the related articles loop in your theme’s mobile version. For now, I was only able to track the file interested for the “loop generation”: Newspaper/mobile/includes/modules/td_module_mob_1.php
The problem is the theme is using some sort of class paradigma and that’s a problem since I want to insert an ad on the second/third position. Here is an illustration: http://i65.tinypic.com/293x24x.png

Hope I was clear enough.

Thanks.

Post count: 22421

Hello,

Sorry but we have not tested such ads in our mobile theme. This represents customization and it is not covered by the theme support. We suggest hiring a freelancer if you need help implementing specific ads other than the options already provided in the theme panel.

Thank you for your understanding.

Post count: 72

Dear Bogdan,
thanks for your reply.
Would you please tell me the files I need to edit in order to achieve what I want?

Thanks.

Post count: 22421

Sure,

The related articles function can be found here: https://www.screencast.com/t/AhJMvBjQhNZW

Thanks.

Post count: 72

The function you posted seems to be only a preparatory one. I am looking for the loop which generates the HTML code for the related articles section. I need to edit the loop somehow.

Hope I was clear enough. Thanks.

Post count: 20688

Hi,

You can find the loop that the mobile theme uses in this file
https://www.screencast.com/t/9xRSsfjo

Thanks

Post count: 72

Dear Simon,
I am talking about the loop which generates the “related articles” section in the mobile theme. Not the posts.

Post count: 20688

Hi,

Sorry about that, I though that this was about the latest articles, my mistake. That is a filtered block that displays related posts
https://www.screencast.com/t/OEVn0qne
https://www.screencast.com/t/gaodgo75q

Thanks

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