Vorrei inserire il codice adsense ogni tot articoli nella vista blog e se è il caso anche nella vista elenco articoli. Ma è più importante la prima.
Ho scritto qui la questione: https://www.joomshaper.com/forums/how-to-insert-infeed-between-an-article-and-the-other-in-the-articles-list-of-a-category
Ora la struttura del blog è diversa, ma non dovrebbe cambiare nulla.
Se non leggete l'articolo, posto qui la trascrizione:
How To Insert Infeed Between An Article And The Other In The Articles List Of A Category?
Issue Asperger Way Helix Ultimate
Tuesday, 28 May 2019 https://support.google.com/adsense/thread/6905114
report post google forum:Hello!I use joomla, in the menu item articles ---> blog category (list of articles in that category) there are for example 6 articles per page, I would like that after the second and after the fourth article of each page, a "manual" InFeed appears but I have no idea how to enter the code.With inarticle it's easy, but in this case I don't know how to do it.I already choose automatic ads, but infeed do not appear.Is it because I still don't have many items? In a few days I will add others.Even a widely viewed article did not have the utomatic InArticles. Perhaps being a glossary divided into paragraphs for each item, adsense could not fit them. Then I manually inserted them making space for not having the ads glued to the text.Hi Asperger Way - Ilaria and Simone,what you would like to do is feasible by using the theme code and exactly in the data loop. Only if you are an expert in the code.Alternatively, you could look for an extension that does this job, if not specifically dedicated to Adsense, that inserts the code every few contents displayed.Thank you!Well, I use Helix Ultimate, where is the file to override?Then I look at the info of the adsense guide for the loop.
https://www.aspergerway.com/blog/diario-di-viaggiohttps://www.aspergerway.com/blog/spettro-autisticohttps://www.aspergerway.com/blog/recensioni-e-dintorni (ora c'è solo 1 vista categoria che è la home https://www.aspergerway.com
this is just a list of articles in a category
https://www.aspergerway.com/articoli-faq-spettro-autistico (ora https://www.aspergerway.com/articoli-faq
maybe some good soul can find the file from the code, or tell me how to do it or how it did it. So I learn and next time I do it alone.Thank you! Paul Frankowski
Hi,you have at least 3 options:1) Do it yourself and customizeprobably that file :templates\shaper_helixultimate\html\com_content\category\blog.phportemplates\shaper_helixultimate\html\com_content\category\default_articles.php2) Hire someone to do it for you3) Find a ready plugin (extension) which add an extra block there---(...)tell me how to do it or how it did it.sorry, but code customization is beyond support. Support Policy Rules. Asperger Way
Thistemplates\shaper_helixultimate\html\com_content\category\blog.phpis for the category blog menu itemand thistemplates\shaper_helixultimate\html\com_content\category\default_articles.phpis it for the menu item list category items? Paul Frankowski
Code of Article List begins from line 155templates\shaper_helixultimate\html\com_content\category\default_articles.php Asperger Way
line?templates\shaper_helixultimate\html\com_content\category\blog.phpThanks!!!!!!!!!!!!! Paul Frankowski
One you ask about Article list, then about blog view? Decide. Asperger Way
You said that for displaying article listlike thishttps://www.aspergerway.com/articoli-faq-spettro-autistico
the code starts with kinea 155 heretemplates for the last time for the category of artworks.But you didn't say where the category view code starts:https://www.aspergerway.com/blog/diario-di-viaggiohttps://www.aspergerway.com/blog/spettro-autisticohttps://www.aspergerway.com/blog/recensioni-e-dintorni
in this filetemplates for the last time _html _content _category_blog.phpIt's two different files.But only for 1 file you said the line of code.I'm not confused.I just have to put the adsense code in all 2 files. Paul Frankowski
Support Policy > PHP customizations > I cannot help more.I thought I was clear in the first answer. Asperger Way
Ah, okay, you helped me.If I could have chosen though, I would have preferred that of the 2 I had told me the line of sight category blog.PS: What do you mean, that I have wrong section or that it is a paid service? Asperger Way
I didn't ask you how to insert my adsense code, but in which line starts the code that interests me in the filetemplates for the last time _html _content _category_blog.phpI'll find out how.Having developed you, I only asked for the line.Then I would have looked for how to do it.I thought you could at least indicate the line, without asking you to change it, of course.Sorry. Asperger Way
You said:Code of Article List begins from line 155templates \ shaper_helixultimate \ html \ com_content \ category \ default_articles.phpBut in blog view, in filetemplates \ shaper_helixultimate \ html \ com_content \ category \ blog.phpwhere does it start? (line)Thanks!
Male che vada userò gli automatici per infeed.