Hi, I updated the theme from 6.1 to 7.4, but I have disappeared banners inside the post:
http://postimg.org/image/dx5o5c059/
Only pages appear, not in the articles:
http://postimg.org/image/8kgtr7c8t/
This works fine before the upgrade, but do not know how to retrieve it:
http://s9.postimg.org/5d6or78kf/2code.png
Thank you
PS: Sorry for my English.
Hi,
Did you implemented a custom ad to your articles from the code?
In this case you will need to re-add your code modifications as they were removed by the update.
Please provide more details about this and also a link to your site.
What post template do you use?
If you refer to the articles ads(top, inline, bottom), try to change the post template and see if they appear. There are many modifications added from version 6.1 so please check this and provide more details and your site url so we can provide an accurate answer.
Thanks!
Hi, site is:
I had added the same code pages in the post:
In pages (appearance>widgets>http://s18.postimg.org/5iffg5isp/1pages.png)
<TABLE width="100%">
<td width="80%" class="encabezado1"><div style="text-align: left;"><a href="https://tradeo.com/es/real-social-trading?bta=40620&cxd=728x90" target='_blank'><img src="http://www.tradingunited.es/foro/images/pro/tradeo728x90.gif" width="728px" alt="" /></a></div></td>
<td width="20%" class="encabezado1"><div style="text-align: right;"><a href="https://www.hyoptions.com/es/landing/7000-first-deposit?campaign_id=701D0000001ElRz" target='_blank'><img src="http://www.tradingunited.es/foro/images/pro/hyoptions149x90.gif" width="149px" alt="" /></a></div></td><tr>
</div></td><tr>
<div style="text-align: left;"><font color="silver" size=1>Publi</div></font></td>
<div style="text-align: right;"><font color="silver" size=1>Publi</div></font></td>
</TABLE>
The same code in post:
Theme panel> ads> custom ad 1:
http://s9.postimg.org/5d6or78kf/2code.png
Regards
Hi,
just as general rule you should start moving on from “inline styles” and move to CSS classes.
e.g.,
<TABLE width="100%">
to
<TABLE class="mytable100w">
Many browsers are going to not work well with inline styles any more, and your site will fail “AMP” validation with Google’s new protocol.
Just a thought, sorry to intrude.
Hi,
This was what I asked you. Did you implemented the custom ad in the post template that you use?
If this is what you mean, your code modification was removed by the update and you need to re-add your custom ad to your template above the post title(I see you use post style 2) – http://screencast.com/t/Z5Grx8bgRFZ
So you could try to use do_shortcode function and implement the custom ad there – http://screencast.com/t/TY8jivNVEoO – http://screencast.com/t/xnBmuwlU04g
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Hope this helps!
-
This reply was modified 9 years by
Alin [tagDiv].
Thank you Alin and Chris S for the help. now the banner appears :):), but now the code used before it displaces a little. As you can see, above or below each banner should appear the word “publi” but instead many lines listed above and at different levels.
https://s17.postimg.org/xiwivdur3/borrar1.png
The correct form appears on pages, not the post
https://s15.postimg.org/dtpmoqkbf/borrar2.png
Thank you
I have checked your post page again and it looks fine – http://screencast.com/t/GBf0VuzGQ
I guess you have managed to solve this. However it came from your code.
Thanks!