Content Recommendation Widget Issues

Posted in: Newspaper
Post count: 4

I’m trying to place an AdBlade widget after a video on pages like this:

http://vidcrib.net/2016/06/30/5-strange-events-caught-on-video-with-no-explanation/

It is supposed to be responsive from 550px to 900px, but it looks like the theme is overriding it somehow. I had to insert the right sidebar through an inline code using the AdBlade plugin to finally get it to work. For below the post I can’t seem to place shortcode into the bottom of post ad spot using the theme and the code from AdBlade doesn’t work (looks like how it looks right now – two columns vs. three). I tried to hard-code it into the single.php file, but that just calls for all the content dynamically and there is no way to put it in where I want it. Here is the ad code:

<ins class=”adbladeads” data-cid=”22617-1687397457″ data-host=”web.adblade.com” data-tag-type=”4″ style=”display:none”></ins>
<script async src=”http://web.adblade.com/js/ads/async/show.js&#8221; type=”text/javascript”></script>

Here is the shortcode:

[adblade container_id=”22617-1687397457″]

Do you guys have any ideas on how I can get the widget to display properly? I’m not super technical and tried every workaround that I could think of using the theme parameters.

Your help would be hugely appreciated!!!

Thanks,

HC

Post count: 22421

Hi,
If you want to add a shortcode in the theme files you need to use the do_shotcode function: https://developer.wordpress.org/reference/functions/do_shortcode/
Unfortunately since the plugin is not tested, I can;t say for sure how it should or would display. Plugin implementation falls beyond what support can offer you so we suggest hiring a freelancer to help out in this matter if you still need help.
Thank you!

Post count: 4

Thanks – is there any way to add shortcode in the ad section of the theme where you would typically put a javascript ad tag? I tried putting it in the area for below the post in the theme ad section but nothing showed up. I think it’s looking for JS? Thanks again!

Post count: 22421

Hi,
Unfortunately the ad spots do not accept custom code except for ads. If you want to add a custom js code you can do it in visual composer like so: http://screencast.com/t/7m7MoUtkK0 or you can use the theme panel: http://screencast.com/t/AXw46MQroAOo
Now it depends on what the code is and what it;s meant to do. There is no one spot fits all situation. If you want to add specific parts of code in specific places of the site, you will probably have to edit the theme files and code it in. For this you will require coding skills though so if you cannot do it, we suggest geting some hired help on this as we cannot offer any custom work at the moment.
Thank you!

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