- NewspaperInfinite Loading for Single Posts
- NewspapertagDiv Composer – Website Manager
- NewspaperFilters and sorting for taxonomies
- NewspaperFlex Block Settings Guide
- NewspaperHeader Builder
- NewspaperUnique Articles
- NewspaperBlock settings tutorial
Cool, thanks 🙂
Hi,
Use the do_shortcode() function and add the shortcode of your custom block as you like into post template after the comments template, other than that you could modify the post template and add the code for the loop there and customize it, the theme was not designed that way so this needs custom work and you need to hire a developer to do that for you if you don’t know how because we cannot offer custom work.
Thanks
Thanks for the quick reply.
I tried using the visual composer but that’s not what I want.
I mean is it possible to show a block of latest posts with ajax after everything on posts page? Even after comments? Just before the footer widgets start.
-
This reply was modified 11 years by
Shashank Shekhar.
Hi,
The best way to do this is to use VC to add your post content and then add a block into your post content which is set to infinite load: http://screencast.com/t/RAFpBqRJqF
Enable VC on post editing panel from here: http://screencast.com/t/fCBxUJiLksw
Another way would be to use the do_shortcode() function and add the code inside post template. You can create the shortcode for the block using page builder then switching to classic mode just get the shortcode and add it into the function then into the template where you want to show up. If you don’t know how to do this we recommend you to hire freelancer to do it for you.
Hope this helps!
Thanks
Hi, I know it’s possible but how?
On any blog or posts I want to show infinite latest articles at the bottom.
Hello Lucian,
Thanks for the reply. I Had to de-activate the WP Super cache plugin and got it working now.
Although there are two more issues which i am not able to sort out.
1. On the home page even though i have infinite scroll activated, it is not working properly. As soon as i hit the footer, it does not load more posts. So i have to scroll up and then scroll down again to make the infinite loader working. I have tried deactivating all the plugins, but still it does not seem to work.
2. I would like to change the home page design for mobile view. How do i do this ?
I am sending you the login details through email for you to further investigate on these issues.
Thanks for your help.
Manu
Hi,
Are you using Jetpack Photon – http://jetpack.me/support/photon/ or a similar CDN plugin ? I noticed that your images link contain this resize=480%2C360 which makes the image link looks like this – http://i1.wp.com/thatcoolwebsite.com/wp-content/uploads/2014/08/hqdefault1.jpg?resize=480%2C360
Without this CDN the link should be something like this: http://192.168.0.70/wp_demo_009/3/wp-content/uploads/2013/05/maxresdefault41-745x483.jpg
I think this could be the reason for this issue. Please disable all plugins including CDN and then regenerate thumbnails https://forum.tagdiv.com/how-to-fix-strange-thumbnails/ and also remove and add the link for the featured video again for that post.
Regarding the infinite scroll you already have an loading in progress animation http://screencast.com/t/zca13IONyC which it’s positioned at the center of the block.
Hope this helps!
Thanks
Hi, that video thumbnail in slider is giving problem for one video
check the screenshot
http://www.screencast.com/t/V5FxvCEu6o4
Its working fine on the other slider, you can check the website
thatcoolwebsite.com
Also, i changed the Block 9 pagination to Infinite scroll, with Post Limit is 5. Now when i scroll down, the whole page whitens, as for the loading new posts. How can i change it to something like a text at scroll end with Loading or a progress bar like in case of infinite scroll.
@Manuel Fink
Great looking site!
I’m still developing mine but I noticed you are having a similar issue with the AJAX Infinite loading (maybe you haven’t noticed) when you reach the bottom of your page the AJAX loads the next series of posts only once, if you reach the bottom again it won’t load the next series, you have to go back up then back down.
I’m using FF30.0.
Any idea why?
Main Slider issue: was fixed from a user in the 4.0 forum post. Whether it was clearing CloudFlare or changing the number of homepage slide limit, it’s fixed.
Infinite Scroll issue: this seems to be improved a bit after clearing Cloudflare’s cache but since smooth scrolling is added, the user is able to scroll like a maniac since it is so smooth (nicely done) if they wanted, which slows down the infinite load. Is there a way to disable smooth scrolling at all?
1. Yes, we need the sticky menu back! None of the 4 options work in Theme Panel 🙁
2. Also, the infinite scroll issue that is posted above. The smooth scrolling is nice but it does prevent the new articles to load slow and transparent.
3. The drop down menu also gets caught behind images at times which is really bad http://screencast.com/t/2RyqOsiYqpC
-
This reply was modified 12 years by
sbo.
If possible, release a version that brings you back to the previous one, such as 3.8 which worked great.
I’m currently on 4.0.2 and the following issues I am having are as followed:
1. The smooth scroll interferes with the infinite scroll making it scroll too fast that the infinite scroll wont load. The posts that are trying to load also are transparent.
2. Using Homepage – BG + No Article List (OR) With Article List, the background of the slide goes to ‘stretched’ and the blocks are a mess (shown: http://screencast.com/t/f9OpXQsG)
3. Blank Homepage – I’m noticing when using Module 7 on homepage that it shows the blank page.
I posted in the main forum but noticed that this post is all for 4.0+ bugs.
-
This reply was modified 12 years by
sbo.
Hey Marius, I was asking as when you scroll down and it loads new posts on infinite scroll if that will count as a new page view or not.
Hi,
You use a template with latest article and that template is with latest posts with pagination.
You need to do that infinite scroll on a block(infinite load are available on blocks in Page builder). Edit you homepage, select as template Homepage - bg - no article list and with page builder you need to create something like this: http://screencast.com/t/itod8bCfVVN
http://screencast.com/t/feqvh8YHBF
Also I see that you don’t have activated the Visual composer on your site. You need to activate it if you want to work the Visual composer(Page builder)
Thanks for the message!
Hi,
1. You can import this predefined syles like this:
– http://screencast.com/t/yLOZrUAt
– http://screencast.com/t/qLSTINIg
Do you use the default template? – http://screencast.com/t/e4Itye2zr
You can target h1, h2, h3 with custom css (add the css inside the Theme Panel -> Custom CSS):
h1 {
color: red;
}
h2 {
color: red;
}
h3 {
color: red;
}
But this will affect all h1, h2, h3 titles on the site, you have to add a specific class to target them only on the pages/posts you want.
2. I belive you are reffering to the featured image. The feature image can be removed like this: https://forum.tagdiv.com/how-to-hide-the-featured-image-on-post/
3. You can delete the code (or modify it) from the td_module_blog.php – http://screencast.com/t/ZiGcAU70s
You can find code for the other buttons above it, modify them to behave the way you want.
4. If you don’t use pagination or load more / infinite load options edit your home page and enable the “Unique articles” option like this: http://screencast.com/t/pUaAtaYg
If you use pagination configure blocks to display different categories.
Thank you, Emil G.
Hi,
@Manuel Fink
1. You can move the similar articles right after the post content by editing the loop-single.php file – http://screencast.com/t/ccYS4CAmODt
2. You can make them random by editing the td_module_blog.php file and add the following code – http://screencast.com/t/1PNMYcmhzM
'orderby' => 'rand',
3. You can move the author box there and change it’s size with custom css – http://screencast.com/t/gljKdneh
4. This is possible, but if you have a lot of similar articles people won’t be able to easily get to the comment section, so it’s not for everybody.
5. Copy the sharing line before and after the article – http://screencast.com/t/ViFV7PPXBn and you can modify the buttons by editing the td_module_blog.php file – http://screencast.com/t/X3ia5ROdh
6. Added on the feature list, thanks for the suggestion.
7. This can be done easily by adding a button inside the loop-single.php and use css to style and position it.
8. Added on the feature list, thanks for the suggestion.
We had to work on a lot of issues after the WordPress 3.9 udpate and that slowed us down with the implementation of new features, you can see the long list of fixes in the log – http://screencast.com/t/cgxsk3JvR3G
Thank you, Emil G.
Hey,
I just realized that I have about 70% mobile traffic on my page. I just compared the layouts of the post of the most successful publishers like buzzfeed, huffington, upworthy, … . I just thought I share my findings.
It seems their best practises are:
- 2 columns of similar articles, straight after the article (same for home screen)
- Their similar articles seem to be random recommendations with a focus on virality. If I reload the page I always get different articles displayed. (not sure how this works with caching. I think they even pull in the first articles through ajax). I think this is really important, since always recommending the same articles doesn’t support users to stay on the page
- pretty small author information (one line), which isn’t taking a lot of space. They put it just underneath the title.
- infinite loading of similar articles
- sharing buttons before and after the article with the button order: facebook, twitter, pinterest, mailto.
- comments are hidden behind small one line show comments button
- the headline of the similar articles have a home button on the right sight
- most space consuming white gaps are removed on mobile.
I hope this ideas help you to further improve your theme 😉
thx for your fast replies!
best, manu
Hi
I use in my homepage infinite scroll. I would like to ask you if it possible to make it load earlier and faster than how it is set up. For example to start loading more posts when the visitor is 200pixels higher on page than now.
I hope that u understand what.i mean
Thanks
hi,
thank you Kronos17 for your answer.
Thanks for you message.
Radu A.
What you’re wanting is loop-single.php with a loop of posts afterward like homepage with loop. I’ve found no shortcode to accomplish this. You’d need to make a new post template from the homepage with loop page template (easiest way) but that’s not a feature in Newspaper. My advice is to hire a programmer for this task as it’s quite complicated requiring js, php, html, and css knowledge to make it work.
Hi,
Thanks for your reply. I know how to add infinite with visual composer. My question is a bit more complicated.
In the post page, under the comments, (maybe I should use the file comments.php or single.php) I want to add module 9 with infinite scroll with php code .(Like daily mail posts.)
I cant do this with visual composer.is it possible to wotk with shortcode?? Like [module 9 short code here] .
Any solution?
hi,
1. http://screencast.com/t/25wdXyBJ9Nz3
2. http://screencast.com/t/pIhaniPUWHlL
however with this options it is possible to have duplicated post on the page.
Thanks for you message.
Radu A.
Hi,
I have a website which I am testing the design and the plugins of Newspaper Theme. On the post page (http://www.alexiptwto.com/?p=29143) under the comments I add the module 9 showing the latest posts.
How is it possible to make this module 9 with infinite scroll? See example of the dailymail post page (http://www.dailymail.co.uk/news/article-2619458/So-happens-Scotland-votes-yes-Camerons-quit-Queen-furious-Shetlands-taken-oil-Scottish-economy-tanking-A-brilliant-imagining-life-Union.html)
Thank you
Hello all..
if you’re getting some bizarre things on your site from using YOAST SEO 1.5x, after upgrading from the stable 1.4.25 version, please be aware of the following major issues.
I am recommending you NOT upgrade to Yoast SEO 1.5x until they get a stable version!
——–
There have been a LARGE number of bugs with the Yoast SEO plugin released last week (1.5), and about three or four patches so far. Still buggy as hell with 1.5.2.3 (including option for Google News keywords not saving to dbase or showing in the SEO post panel). I rolled back my sites to the prior version (stable), 1.4.25 due to a lot of issues including a major memory spike on our server post 1.5 update. If you look at the changelog for 1.5 it’s pretty awful, and doesn’t bode well for their new development team, frankly.
-Chris
SERIOUSLY …. (!)
— YOAST SEO 1.5 BUG FIXES (SO FAR) —
1.5.2.3
** Note: if you already upgraded to v1.5+, you will need to retrieve your Facebook Apps again and please also check your Google+ URL. We had some bugs with both being escaped too aggressively. Sorry about that. **
◾Bugfixes
◾Added missing settings menu pages to wp admin bar.
◾Replaced old AdWords keyword tool link.
◾Fix wp admin bar keyword density check link
◾Taxonomy sitemap will now also show if empty.
◾Prevent infinite loop triggered by sitemap_close(), fixes #600 as reported and fixed by pbogdan.
◾Fixed a link count Page Analysis bug.
◾Fixed a keyword density problem in the Page Analysis
◾Fixed OpenGraph/GooglePlus/Twitter tags not showing in a select few themes, issue #750 as reported by Jovian and wwdboer – props Jrf.
◾Fixed Facebook Apps not being saved/ “Failed to retrieve your apps from Facebook” as reported by kevinlisota in issue #812 – props Jrf.
◾Fixed duplicate feedback messages on WPSEO -> Social pages as reported by steverep in issue #743 – props Jrf.
◾Flush our force title rewrite buffer earlier in wp_footer so it can be used by other plugins in wp_footer. Props Gabriel Pérez Salazar.
◾Start the force rewrite buffer late (at 999) in template_redirect instead of get_header because of several themes not using get_header, issue #817 as reported by Jrf.
◾Fixed ‘Page %d of %d’ / %%page%% variable not being replaced when on pages, as reported by SGr33n in issue #801 – props Jrf.
◾Restore robots meta box per post to its former glory, it now shows even when blog is not set to public.
◾Fixed individual page robots settings not being respected when using a page as blog as reported by wintersolutions in issue #813 – props Jrf.
◾Fixed: Too aggressive html escaping of the breadcrumbs.
◾Fixed: Last breadcrumb wasn’t always determined correctly resulting in crumbs not being linked when they should have been.
◾Fixed: Breadcrumbs were sometimes missing separators and default texts since v1.5.0.
◾Fixed: 404 date based breadcrumb and title creation could cause corruption of the $post object.
◾Fixed: Filtering posts based on SEO score via the dropdown at the top of a post/page overview page no longer worked. Fixed. As reported by gmuehl in issue #838 – props Jrf.
◾Enhancements
◾Added filters for the change frequencies of different URLs added to the sitemap. Props to haroldkyle for the idea.
◾Added filter wpseo_sitemap_exclude_empty_terms to allow including empty terms in the XML sitemap.
◾Private posts now default to noindex (even though they technically probably couldn’t be indexed anyway).
◾Show a warning message underneath a post’s robots meta settings when site is set to noindex sitewide in WP core.
◾Updated licensing class to show a notice when requests to yoast.com are blocked because of WP_HTTP_BLOCK_EXTERNALS.
◾Other
◾Refactored the breadcrumb class – props Jrf.
1.5.2.2
◾Bugfixes
◾Fix for issue with Soliloquy image slider was not applied to minified js file.
◾Fixed some PHP ‘undefined index’ notices.
◾Fix banner images overlapping text in help tabs.
◾Fixed meta description tag not showing for taxonomy (category/tag/etc) pages as reported in issue #737 and #780 – props Jrf.
◾Prevent a fatal error if wp_remote_get() fails while testing whether the title needs to be force rewritten as reported by homeispv – props Jrf.
◾Enhancements
◾Added composer support – props codekipple and Rarst.
1.5.2.1
◾Bugfixes
◾Fix white screen/blog down issues caused by some (bloody stupid) webhosts actively disabling the filter extension – props Jrf.
◾Fix for some PHP notices, issue #747 as reported by benfreke – props Jrf.
◾Fixed: GooglePlus vanity urls were saved without the + as reported by ronimarin in issue #730 – props Jrf.
◾Fix WP Admin menu items no longer clickable when on WPSEO pages as reported in issue #733 and #738 – props Jrf.
◾Fix strict warning for W3TC, issue 721.
◾Fix RSS text strings on options page being double escaped, issue #731 as reported by namaserajesh – props Jrf.
◾Avoid potential confusion over Facebook OpenGraph front page usage, issue #570 – props Jrf.
◾Potentially fix issue 565 bbpress warning message. Thanks inetbiz for reporting and tobylewis for finding the likely cause.
◾Filter ‘wpseo_pre_analysis_post_content’ output is now only loaded in DOM object if not empty. – props mgmartel.
◾$post_content is now unset after loading in DOM object. – props mgmartel.
◾Fix Alexa ID string validation, as reported by kyasajin and Bubichka in issue 736 – props Jrf.
◾Fix issue with Soliloquy image query, as reported by osalcedo and mattisherwood in issue #733 – props Jrf.
◾Enhancements
◾Twitter metatag key is now filterable by ‘wpseo_twitter_metatag_key’.
◾Added a filter called “wpseo_replacements” in wpseo_replace_vars to allow customization of the replacements before they are applied – props martinernst.
◾Added useful links for page analysis – props bhubbard.
◾i18n Updates
◾Updated nl_NL, id_ID, it_IT, fr_FR and de_DE
◾Added ko
◾Updated .pot file.
1.5.2
◾Bugfix: ◾If mbstring extension isn’t loaded, fatal error was thrown.
There have been a LARGE number of bugs with the Yoast SEO plugin released last week (1.5), and about three or four patches so far. Still buggy as hell with 1.5.2.3 (including option for Google News keywords not saving to dbase or showing in the SEO post panel). I rolled back my sites to the prior version (stable), 1.4.25 due to a lot of issues including a major memory spike on our server post 1.5 update. If you look at the changelog for 1.5 it’s pretty awful, and doesn’t bode well for their new development team, frankly.
SERIOUSLY …. (!)
— YOAST SEO 1.5 BUG FIXES (SO FAR) —
1.5.2.3
** Note: if you already upgraded to v1.5+, you will need to retrieve your Facebook Apps again and please also check your Google+ URL. We had some bugs with both being escaped too aggressively. Sorry about that. **
◾Bugfixes
◾Added missing settings menu pages to wp admin bar.
◾Replaced old AdWords keyword tool link.
◾Fix wp admin bar keyword density check link
◾Taxonomy sitemap will now also show if empty.
◾Prevent infinite loop triggered by sitemap_close(), fixes #600 as reported and fixed by pbogdan.
◾Fixed a link count Page Analysis bug.
◾Fixed a keyword density problem in the Page Analysis
◾Fixed OpenGraph/GooglePlus/Twitter tags not showing in a select few themes, issue #750 as reported by Jovian and wwdboer – props Jrf.
◾Fixed Facebook Apps not being saved/ “Failed to retrieve your apps from Facebook” as reported by kevinlisota in issue #812 – props Jrf.
◾Fixed duplicate feedback messages on WPSEO -> Social pages as reported by steverep in issue #743 – props Jrf.
◾Flush our force title rewrite buffer earlier in wp_footer so it can be used by other plugins in wp_footer. Props Gabriel Pérez Salazar.
◾Start the force rewrite buffer late (at 999) in template_redirect instead of get_header because of several themes not using get_header, issue #817 as reported by Jrf.
◾Fixed ‘Page %d of %d’ / %%page%% variable not being replaced when on pages, as reported by SGr33n in issue #801 – props Jrf.
◾Restore robots meta box per post to its former glory, it now shows even when blog is not set to public.
◾Fixed individual page robots settings not being respected when using a page as blog as reported by wintersolutions in issue #813 – props Jrf.
◾Fixed: Too aggressive html escaping of the breadcrumbs.
◾Fixed: Last breadcrumb wasn’t always determined correctly resulting in crumbs not being linked when they should have been.
◾Fixed: Breadcrumbs were sometimes missing separators and default texts since v1.5.0.
◾Fixed: 404 date based breadcrumb and title creation could cause corruption of the $post object.
◾Fixed: Filtering posts based on SEO score via the dropdown at the top of a post/page overview page no longer worked. Fixed. As reported by gmuehl in issue #838 – props Jrf.
◾Enhancements
◾Added filters for the change frequencies of different URLs added to the sitemap. Props to haroldkyle for the idea.
◾Added filter wpseo_sitemap_exclude_empty_terms to allow including empty terms in the XML sitemap.
◾Private posts now default to noindex (even though they technically probably couldn’t be indexed anyway).
◾Show a warning message underneath a post’s robots meta settings when site is set to noindex sitewide in WP core.
◾Updated licensing class to show a notice when requests to yoast.com are blocked because of WP_HTTP_BLOCK_EXTERNALS.
◾Other
◾Refactored the breadcrumb class – props Jrf.
1.5.2.2
◾Bugfixes
◾Fix for issue with Soliloquy image slider was not applied to minified js file.
◾Fixed some PHP ‘undefined index’ notices.
◾Fix banner images overlapping text in help tabs.
◾Fixed meta description tag not showing for taxonomy (category/tag/etc) pages as reported in issue #737 and #780 – props Jrf.
◾Prevent a fatal error if wp_remote_get() fails while testing whether the title needs to be force rewritten as reported by homeispv – props Jrf.
◾Enhancements
◾Added composer support – props codekipple and Rarst.
1.5.2.1
◾Bugfixes
◾Fix white screen/blog down issues caused by some (bloody stupid) webhosts actively disabling the filter extension – props Jrf.
◾Fix for some PHP notices, issue #747 as reported by benfreke – props Jrf.
◾Fixed: GooglePlus vanity urls were saved without the + as reported by ronimarin in issue #730 – props Jrf.
◾Fix WP Admin menu items no longer clickable when on WPSEO pages as reported in issue #733 and #738 – props Jrf.
◾Fix strict warning for W3TC, issue 721.
◾Fix RSS text strings on options page being double escaped, issue #731 as reported by namaserajesh – props Jrf.
◾Avoid potential confusion over Facebook OpenGraph front page usage, issue #570 – props Jrf.
◾Potentially fix issue 565 bbpress warning message. Thanks inetbiz for reporting and tobylewis for finding the likely cause.
◾Filter ‘wpseo_pre_analysis_post_content’ output is now only loaded in DOM object if not empty. – props mgmartel.
◾$post_content is now unset after loading in DOM object. – props mgmartel.
◾Fix Alexa ID string validation, as reported by kyasajin and Bubichka in issue 736 – props Jrf.
◾Fix issue with Soliloquy image query, as reported by osalcedo and mattisherwood in issue #733 – props Jrf.
◾Enhancements
◾Twitter metatag key is now filterable by ‘wpseo_twitter_metatag_key’.
◾Added a filter called “wpseo_replacements” in wpseo_replace_vars to allow customization of the replacements before they are applied – props martinernst.
◾Added useful links for page analysis – props bhubbard.
◾i18n Updates
◾Updated nl_NL, id_ID, it_IT, fr_FR and de_DE
◾Added ko
◾Updated .pot file.
1.5.2
◾Bugfix: ◾If mbstring extension isn’t loaded, fatal error was thrown.