Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Nano
tagDiv Member

Hi, Bogdan, thanks for your reply and the concern about the various other cases that can come afterward.

But as you said, there are a lot of things to consider to make these fully compatible. I currently am not looking for the full solution.
I only want to make it work for the single template that I use by default for most of my posts ( no smart lists, isolated templates etc. )

You have written above that:

…. and then the other one grabbed for the next post.

In case you are confusing this infinite scrolling with Auto load next post thing, the both things are totally different. We have discussed separately about auto load next post thing here- https://forum.tagdiv.com/topic/need-little-help-with-most-demanded-auto-load-next-post-thing/ but this is a sperate case.

And I noticed that you guys have already helped a lot to make us be able to use the infinite scroll here- https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/

Everything is working already. You just need to help us stop ‘smart sidebar’ once the ‘Visual composer’ based tag for ‘infinite loading’ starts.

One look at the code of http://darnkid.com/illustrations-show-the-unique-bond-between-dads-and-daughters/ or http://www.storypick.com/success-is-the-best-revenge/ ( both using infinite scrolling with TagDiv Newspaper theme along with proper use of smart sidebar) may solve this issue.

If you don’t want to help, I will surely hire someone to do so, but since you guys have already done a lot about this ( https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/ ), I don’t see much point to hire someone else for just one simple ( or may be not?) part of it.

So, please reconsider this post.

PS: Has Probably Andrei L. left the TagDiv team? He has worked a lot on this under this thread -https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/ .

Thank you.

Nano
tagDiv Member

Hi Bogdan,
Thanks for your reply. I very much know about the time issue and I do understand the TagDiv Team limitations. Though my question written above might appear lengthy it was more to give an idea about the solution that can work.

The support that I currently require doesn’t need you to dive deep into these things. I only wanted to know about the file names of 4-5 codes that are specifically used by Tagdiv team in replacement of the standard WordPress codes.

Making it more simple, can you please provide the ‘Newspaper’ theme friendly version of this code:

// Check that there are posts to load.
while (have_posts()) : the_post();

$post_format = get_post_format(); // Post Format e.g. video

// Load content before the post content.
do_action('alnp_load_before_content');

// Load content before the post content for a specific post format.
do_action('alnp_load_before_content_type_'.$post_format);

if (false === $post_format) {
// Include the standard content.php file.
get_template_part($template_location . 'content');
} else {
// Include the post format content.
if (locate_template($template_location . 'format-'.$post_format.'.php') != '') {
get_template_part($template_location . 'format', $post_format);
} else {
// If no format-{post-format}.php file found then fallback to content-{post-format}.php
get_template_part($template_location . 'content', $post_format);
}
}

This code has few file name like the_post() $post_format get_template_part($template_location . ‘content’); , you just need to replace these codes with the filename/code that Newspaper theme support. Or if these codes are already supported by this theme, let me know that as well.

Thank you.

PS: if your team is really interested in creating something inbuilt for this in future. Here is great site that provides some inbuilt codes for it: https://infinite-scroll.com/
. these are the behind great old plugin https://wordpress.org/plugins/infinite-scroll/ and now they are working on V2 of this plugin.

Nano
tagDiv Member

Thanks for the response Bogdan.

Few things that you missed and I would love to know your opinion about:

1. I love the β€˜cut edge design of images under the Voice report template. Have a look here: https://demo.tagdiv.com/newspaper_voice/td-post-authorities-seeking-expanded-education-for-incarcerated-youth/ , you will notice that the each image under the post content has round-cut-corner. Is it template specific feature? can I replicate only this feature under my current template?

2. what are the things that I should take care while changing the template of the site? Do we need to regenerate all the images? Will this regeneration process kill all the β€˜compression’ that we have done previously with premium image compressions like WPSmush or shortpixel?

Thank you.

Nano
tagDiv Member

Hi, Bogdan. In fact, you are right πŸ™‚

When I typed this thread, I was using ‘Mobile screen’ simulation available using ‘Inspect’ under Google Chrome on my desktop.

I request TagDiv developers to work on ‘mobile’ first design for the next updates as more than 80% of traffic on most of the blogs/news sites are coming now from mobile devices.

Thanks.

Nano
tagDiv Member

Hi Bogdan,
It appears that you missed my above-written comments.

Anyways, thanks for clearing out everything πŸ™‚

Regards.

  • This reply was modified 9 years by Nano.
Nano
tagDiv Member

Hi Bogdan again,

I continued researching about this. In fact, it has been experienced by various other WordPress users as well and it has nothing to do with any WordPress themes or plugins.

There is some issue with WordPress core files which has codes for Facebook integrations. Few such problems reported are:

https://stackoverflow.com/questions/41550989/wordpress-loading-wrong-language-for-facebook-sdk

https://wordpress.org/support/topic/wrong-language-appearing-in-facebook-embeds/

The current solution which worked for me as well is to add following code at the end of functions.php


add_filter( 'the_content', 'facebook_sdk_replace' );
function facebook_sdk_replace( $content ) {
    if ( is_single() ) {
        $content = str_replace("/tl_PH/", "/en_US/", $content);
    }
    return $content;
}

Anyways, thanks for looking at this.

Regards,

  • This reply was modified 9 years by Nano.
Nano
tagDiv Member

Hi Bogdan,

I use ‘Easy Social Sharing plugin’ to display FB comments currently and have used the method you have described above too in the past, but the issue remained same.

Actually, I again checked by simply deactivating all the plugins and running default Newspaper theme only, it still loads the <script id=”facebook-jssdk” src=”//connect.facebook.net/tl_PH/sdk.js#xfbml=1&version=v2.3″></script> when checked under Google Chrome inspect elements.

So, it’s sure that it’s coming from theme but it’s also quite clear since you guys hasn’t included anything like this, it might externally have been embedded somewhere which I am not sure how.

It appears on pages where there is some Facebook post embed etc. is there. You know that now we only need to insert links to embed Facebook posts, images etc. We no more need to write an embed code here. So, it might be possible that the default wordpress code has been changed. How this facebook embed works? Does the Facebook API part of WordPress core files or the newspaper theme.

If you can help me understand the location of the default Facebook API, it might give me a direction to search for it.

What I see is this JS currently under the head section. If you need login access to inspect around, kindly let me know.

Thank you.

Nano
tagDiv Member

Ha ha ha… I totally get that but this is how they get more visits on their site. It’s not a black hat but it gives results like that πŸ˜€ :D.

My main point was to tell you that site works smooth even with infinite loading.

Nano
tagDiv Member
Nano
tagDiv Member

Hi Catalin,

I neither said, nor believe that TagDiv composer is the copy of Visual Composer, but the whole point of creating a new composer was to have tailor made solution that accompanies the Newspaper theme.

Under various other threads, you had already said that getting ‘Infinite loading next post’ is a tough work and need lot of work, but getting ‘Infinite loading related articles’ was already achievable by VC. As you took care of creating a page similar to VC created page, you could have or can try to get ‘similar result for related articles as well’

Every website owner has one and only one aim- to get more users time on their site and infinite loading can help very much in retaining our users for more time.

So, This is just a request. Rest you already know what you can or you should do further.

Thanks.

Nano
tagDiv Member

I agree with what Chris is saying but then there are few websites like https://chaaipani.com who is using it very effectively.

Nano
tagDiv Member

It’s really necessary now. I see almost all new modern themes and sites have this option now. Kindly look for a workaround.

Thanks.

Nano
tagDiv Member

Sure. I will wait for your response Simion. πŸ™‚

Thank you.

Nano
tagDiv Member

Hi Simion,
In both the cases, it was told that I should be informed about this.

And I don’t see any reason for my site to not to get selected as it is a great looking popular website πŸ™‚

Anyways, I request you to kindly ask you team about this or let me know if there is any separate support email for this so that I can try to contact.

Also, if needed, I will submit it again.

Thanks.

Nano
tagDiv Member

Why there is no official reply to this thread? This is SAD!!! πŸ™

Nano
tagDiv Member

Hey Catalin,
When should I hear back about this? It’s been more than 7 months. πŸ™‚

Please update this.

Thank you.

Nano
tagDiv Member

Hi Catalin,

Thank you for reminding me TOS of TagDiv again.

Yes, I am aware that I should hire a freelancer/developer to give me three lines of code that Bogdan has already given me above. Previously, I had forgotten to ask for the mobile version, so he couldn’t provide me the code.

Anyways, I understand. You must have already warned Bogdan as well not to continue helping like this by going beyond the normal work standard as it provokes users to ask for more. Yes, I do understand.

Thank you

Nano
tagDiv Member

Thank you so much.. It is helpful πŸ™‚

3. Why not make next-prev button also similar to ‘load more color scheme’ mean, the box will be filled with red color and the ‘next’ and prev arrow will be bold text in white color.

Also, what about page numbers 1,2,3 ..etc on Mobile homepage? Here is the screenshot : https://s12.postimg.org/pv3ahnvyl/2017-04-18_18-31-05.jpg

Can we have these 1,2,3 buttons similar to ‘next’ prev’ buttons ( red filled color with white numbers) ?

Thank you.

Nano
tagDiv Member

I see. Thank you Bogdan πŸ™‚

Nano
tagDiv Member

Something like this-

null

Nano
tagDiv Member
Nano
tagDiv Member

Hey Amit,
Thank you for notifying.

I have also noticed that few pages are broken. That might be due to a plugin conflict. I haven’t installed any new plugin but had updated to PHP 7 yesterday. Not sure if it has anything to do with that. I am looking at it.

Thank you

Nano
tagDiv Member

Hi Amit,

Thank you for commenting.

Though in use case scenario, I hadn’t use google’s native matched content but my ad units were responsive as well. So, the solution might be similar for both of them.

I checked your thread, but wasn’t sure where is the final code? Have you have updated the first message with the right code where you have first mentioned the issue? Please write the final working code at the end of your thread.

Thank you.

Nano
tagDiv Member

Hi Amit,

What’s you find code to make it work?

Thank you.

Nano
tagDiv Member

I see.
Isn’t there any way to get the similar look when using <!–nextpage–> under the post. For example, in this post: https://tomatoheart.com/webjockey/facts-about-bb-ki-vines-bhuvan-bam/

I do have tried to customize it before but I don’t want to have numbers there. Please see if anything can be done.

Thank you.

Viewing 25 posts - 26 through 50 (of 321 total)