Hello and Happy new year as well!
The related articles are handled by these files:
http://screencast.com/t/a3VKx55V
http://screencast.com/t/LhGZYP4p4s
http://screencast.com/t/9QfGKpEz48Q
Thank you!
Hi Bogdan and Thanks for reply
i have this code to show the articles on deffrient way
Where i must add it?
<div id="POSTQUARE_WIDGET_101512"></div>
<script data-cfasync="false">
(function(P,o,s,t,Q,r,e){P['PostquareObject']=Q;P[Q]=P[Q]||function(){ (P[Q].q=P[Q].q||[]).push(arguments)},P[Q].l=1*new Date();r=o.createElement(s), e=o.getElementsByTagName(s)[0];r.async=1;r.src=t;e.parentNode.insertBefore(r,e) })(window,document,'script','//widget.engageya.com/_pos_loader.js','__posWidget');
__posWidget('createWidget',{wwei:'POSTQUARE_WIDGET_101512',pubid:174665,webid:146748,wid:101512,on:'postquare'});
</script>
Please Help, and Thanks in advince
Well i’m not sure exactly. I don’t know what the code is supposed to do. You will have to try it out in the files mentioned above. The code provider will have an answer about how it should be implemented. I cannot say for sure if it will even work with our theme or not.
I added your code in a simple text block in visual composer and the elements appeared so if you want to implement it instead of the related articles, you can simply remove the realted articles element from the post templates and replace it with a do_shortcode function and use this shortcode
[vc_column_text]
<div id="POSTQUARE_WIDGET_101512"></div>
<script data-cfasync="false">
(function(P,o,s,t,Q,r,e){P['PostquareObject']=Q;P[Q]=P[Q]||function(){ (P[Q].q=P[Q].q||[]).push(arguments)},P[Q].l=1*new Date();r=o.createElement(s), e=o.getElementsByTagName(s)[0];r.async=1;r.src=t;e.parentNode.insertBefore(r,e) })(window,document,'script','//widget.engageya.com/_pos_loader.js','__posWidget');
__posWidget('createWidget',{wwei:'POSTQUARE_WIDGET_101512',pubid:174665,webid:146748,wid:101512,on:'postquare'});
</script>[/vc_column_text]
I hope this helps.
Hi man
i have try it but i get whitepage 🙁
any advice to add it even in footer?
this is my website
Hello Lewis,
You should use the code below at the right file where you want to bring this. I have tested on my side for a post page and seems to work as properly, as you can see here -> http://screencast.com/t/q1pR3mc4
The code is ->
<?php echo do_shortcode('[vc_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ding!
Hello Lewis,
For example, if you want to add this code for all post template style 1 you should edit the loo-single-1.php core file, where exactly you want to display the code functionality, like this -> http://screencast.com/t/WRme1efY
Thanks for your message!
