Article card layout not applied to other pages/entries of blog
Opened this issue · 17 comments
Before submitting your issue, please ensure the following:
- You have reproduced the issue in the latest version of this plugin.
- You searched Github for the issue and found no reports of the issue currently open.
- You properly formated the issue title –
Scope :: One sentence to describe the issue
. - You have provided a detailed description of the issue.
- You have provided any/all relevant information: screenshot, screencast.
- You have provided the steps that one must take to reproduce the issue.
Warning: Please make sure that your issue is detailed, otherwise the ticket will not be prioritized due to lack of information.
Problem:
Article card layout is only applied to the first page of post entries, and not applied to other pages. (Please see screenshot). This happened after the latest Divi update.
Steps To Reproduce:
- Set up 2 pages worth of post
- Install and activate article card plugin
- First page of post should be working fine
- Article card are not applied to other pages, instead they show the default Divi grid layout
Additional Information:
Divi Version: 3.0.74
Child Theme: Divi Child Theme
Device: All devices
Operating System: Tested on windows and mac
Browser: Chrome, firefox, safari, and I believe all browsers
Screen Resolution: All resolutions
Reference:
Hello,
I have same problem, please help me
Antonello
Same here using WP 4.9 and DIVI 3.0.89
All devices and all Browsers
Thanks for your Help
Same here, WP 4.9.1 and DIVI 3.0.92.
Tried on Opera, Firefox, Chrome and Android
Im using Wp-navi too,
I've tried to reinstall Wp-navi -> No work.
I've tried to reinstall Divi-articles -> No work.
I've tried to uninstall Wp-navi -> No work.
Thanks for help
I have the same problem. I was searching in ET Forum and I found a topic in which they were asking to replace the code in: divi-100-article-card/assets/js "scripts.js" with this code: Fix Article Cards. I've tried and it doesn´t worked even clearing caché and trying with other browser. Can anyone try it?
The fix posted by wolfmaster8 works. Follow the instructions here Fix Article Cards, and use the code here: https://pastebin.com/raw/37ULCb0p
I have replaced the code at divi-100-article-card/assets/js/scripts.js with the code provided in the pastebin of vincent and it mostly fixed it. It works fine while you go to next page, but if you go to the previous again, it loses its hover effect. But of course it works much better than before. Thanks for sharing that.
Hi,
I updated all the codes and now the 2nd page of the blog is faded and stays like that.
Blog page: http://www.service2.servicii-digitale.ro/blog-service/
I created a Blog test page and there is not happening such a thing, it works just fine: http://www.service2.servicii-digitale.ro/blog-test/
What have I done wrong on the original blog page?
I appreciate your time!
Hello @What2Say42 I've been playing with it, and it seems that some of the cache plugins are affecting how Article Cards works. For instance, I've activated "WP - Disable" caché plugin and the Article Cards went crazy creating a loop of the title of each article. Try to disable Optimisation and cache plugins and see if it works.
Hi @wolfmaster8 - it is a demo website, I do not have installed any cache plugin or anything. I cleaned my browser cache, temps and all and still the same. Tried it in Firefox, Chrome and Edge - same behavior.
I tend to believe is from some other sections within the page. For example, on a blank new page the module works fine, it is switching on the second page and can see the articles. But if I switch back on 1st page the cards are not working, they work just on one load of the page.
Here it is the link for a blank page with blog only in it.
Any thoughts? Maybe I miss something here..
Thank you so much for your time!
@wolfmaster8
i have the same going crazy problem
with me the culprit is revolution slider
BUT....
This only happens when I apply the news JS from
https://github.com/andyhqtran/Divi-100- ... /issues/74
(https://pastebin.com/raw/37ULCb0p)
When I do not apply the updated JS the Article cards are not applied to other pages, instead they show the default Divi grid layout
@What2Say42 That is weird. Mine is working more than fine in all browsers. https://computerworld.co/
@isitmeor I don't use Rev Slider, did you tried in a blank page without Rev Slider?
@What2Say42 and @isitmeor see if it's any error in the browser Console.
@wolfmaster8 That is the same than in mine https://lacruzazul.com/noticias-y-consejos/
It seems to work fine, till you go backwards instead of forward...
@alzdevel umm I see. That is not fixed. I'll check the JS to see if I can solve that problem.
Was this ever resolved?
Support had me replace all code in this file /wp-content/plugins/assets/js/scripts.js with this one: https://pastebin.com/raw/hqQviC1u (also attached)
Divi-Card-Fix.txt But that reversed the issue. The cards show on the secondary pages and not on the first page.
I did notice that whatever the first page shows will show if the URL is changed to the default(?) Wordpress way, so page 2 would be yourdomain.com/blog/page/2/ on my site the "next page" link says something like that, but when I click it the actual URL doesn't change.
For me it was fixed, but then I discovered more errors. For example, in the visual builder it created a loop and the page stopped to work (with more than 12 posts), and more UX problems, so I decided to remove it and style with CSS. You can see here https://computerworld.co/
@wolfmaster8 are you willing to share the css