Hi Calin,
the link you provided is not working (https://tagdiv.com/infinite-loading-for-single-posts/). Would you please tell me how to enable this feature?
Hi Bogdan,
thank to your replay I managed to debug this issue. The iframe is not loading at my side because my host website is on HTTPS and DailyMail does not support HTTPS yet. The iframe is blocked by the browser as mixed-content.
Thanks again!
Hello,
Please try with a video which doesn’t follow o-embed standard.
Example of website not working with this theme: http://www.dailymail.co.uk/
Take a video on this website and try to embed it on your theme.
-
This reply was modified 8 years by
truth.
Dear Simon,
I am talking about the loop which generates the “related articles” section in the mobile theme. Not the posts.
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.
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.
Dear Bogdan,
I understand your concerns about priorities and that’s why I would like to know if you can tell us where we can see the list of all the requests. Maybe this can really make this theme the first to be client-oriented. We would like to contribute on this list somehow 🙂
Plus, please keep in mind “fast requests” like mine, which can be implemented really quickly, should be done without waiting other requests. Anyone with some basic SEO knowledge knows how important is what I asked.
Dear Bogdan,
I made this request more than 2 months ago and no action has been taken to accept this suggestion. Since it’s quite simple to make why all this delay? You should really listen to your customers.
Hello,
if I replace all the code in comments.php located in wp_booster with Facebook comment code, which I mentioned above, the mobile theme stops working with the cache plugin enabled.
Does this happen to you?
Thanks.
Do you mean installing a plugin to use Facebook comments?
Hello,
I’ve read the topic… Why we need to adopt that solution? Pros and cons?
Isn’t more effective and fast editing the Newspaper/comments.php directly?
Hello,
after investigating a bit more here is what I found:
the file which broke the mobile theme is mobile/comments.php. I had to edit it in order to set-up the Facebook comments system.
The content of the comments.php file is below:
<div class="comments" id="comments”>
<h4 class="block-title" style="margin-top: 0px;"><span>Leave a comment</span></h4>
<div class="fb-comments" data-width="100%" data-order-by="social" data-href="<?php the_permalink(); ?>" data-numposts="5" data-colorscheme="light"></div>
</div>
The code above started creating problem on mobile devices since the 7.8 version of the main theme:
– if caching plugin is enabled the mobile theme loads also the sidebar of the main theme (desktop mode) at the bottom of the homepage and sometimes also at the bottom of the posts.
– if caching plugin is disabled the mobile version works correctly with the code above.
Since it is difficult to debug the theme with the caching plugin enabled, would you please tell me how can I structure the comment.php in order to use the Facebook comments system.
Thanks.
Hello again,
since I can’t afford to loose traffic on my website I tried re-uploading the main theme files (maybe there was a customisation which broke the mobile theme) just for a test. After that the mobile theme started loading correctly. Cheers!
4) wp_debug mode shows no errors.
I’ve emailed you the website URL and the credentials to access it.
Thanks for the reply Bogdan.
Could you please tell where are the files related with the Gravatar in the mobile theme and the desktop theme?
Hello,
I’ve investigated and found the reason behind my nightmare: ModSecurity (https://modsecurity.org).
Basically on my apache based web hosing the mod_sec module was blocking the Facebook SDK web API call (https://developers.facebook.com/docs/javascript/quickstart):
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'your-app-id',
xfbml : true,
version : 'v2.8'
});
FB.AppEvents.logPageView();
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
In particular facebook-jssdk was blocked.
Since this script was loaded through the theme’s custom code -> custom html panel all the theme settings were blocked from being modified.
After whitelisting this script the issue was solved automatically.
I hope this could help other users or the support staff in the future 🙂
P.S.: thanks to all the support staff for assisting me with this issue. Special thanks to Alvin 😉
-
This reply was modified 9 years by
truth.
I’ve just sent the email, Catalin.
Looking forward to your reply
Any idea? I would like to fix this issue ASAP.
do you need any further details?
So I’ve done some more tests:
I’ve made a fresh installation of the theme on my (same) HTTPS enabled server and everything is working fine.
So the problem is not related to my hosting for sure.
hi,
have you followed these instructions?
Are you using the WP Super Cache plugin?
I am using Cloudflare service. I am facing this issue also with Cloudflare in development mode.
Here some system INFO of the current installation:http://i66.tinypic.com/2dkjr5l.png
For some testing, I made a copy of the website and run it on a different server (with no SSL) and the theme worked as before, without any problem.
The funny part is that on the testing server, the requirements suggested on you guide were not satisfied. Have a look by yourself: http://i67.tinypic.com/2z9mnbq.png
-
This reply was modified 9 years by
truth.
When I click on SAVE SETTINGS the OK symbol appears, as it should, but after I refresh the page everything remains as it was before.
I had to switch to the HTTP connection since on HTTPS the theme’s settings goes on loop.
-
This reply was modified 9 years by
truth.
Thanks for your reply.
The setting you suggested me is global: what if I want the sidebar on some forums and full width pages/posts for some others? I want this setting to be localised and not global.
How can I achieve this?
Hope I was clear enough.
Hi,
try with .td-post-author-name a {color: red}