Tagged: postslider
-
AuthorPosts
-
May 16, 2024 at 12:57 pm #1443879
I was assigned to a website made some time agou using enfold 5.0.1. when I upgraded it to 5.7 the posts slider (slider an custom post type) does not show the content any more. It is showing a ‘read more’ with link that seems to be correct but it does not output the image and text that is on that post.
I am not a php or enfold developer so do not know where to look at. It does not seem that there is a custom avia shortcode in the child theme so it is in the basic enfold theme. there is no error so I am clueless on where to start. Any help is appreciated.
May 16, 2024 at 7:01 pm #1443925Hey Deef,
Could you post a link to where we can see the problem you are having?
Best regards,
RikardMay 17, 2024 at 8:12 am #1444030Hi, yes I will add some information for that on the private part.
May 17, 2024 at 3:37 pm #1444083Hi,
Thanks for that. Please post admin WordPress login details in private as well, so that we can check the backend.
Best regards,
RikardMay 17, 2024 at 4:16 pm #1444093Sure, stupid of me to not post these. Added them
May 18, 2024 at 11:42 am #1444309Hi,
Thanks for that. I’m seeing this after logging in though:
LOGIN BLOCKED: 2FA is required to be active on your account. Please contact the site administrator.
Could you disable that for now please?
Best regards,
RikardMay 18, 2024 at 6:22 pm #1444367Darn it….it is disabled for now, you can try again
May 19, 2024 at 11:15 am #1444497Hi,
Thanks for that. I’ve set the Blog Posts element to display the excerpt and read more link in the element options for. You can find it in the Content tab if you would like to make further changes.
Best regards,
RikardMay 20, 2024 at 11:41 am #1444723hi,
thanks for looking in to it, but it did not change the outcome?
The page is still not showing this excerpt (with the same settings it show on the live site)
so the new enfold is somehow not showing it…last one I tested was 5.2.1 that was succesfull and 5.6.9 unsuccesfull. Do not have any versions in between.May 20, 2024 at 4:13 pm #1444756Hi,
Are you referring to the posts under this header?
Ervaringen van ondernemers
die je voorgingenIf so, then where are those posts coming from? I can’t see that post type in the WordPress menu.
Best regards,
RikardMay 21, 2024 at 7:51 am #1444871Yes I am referring to that one.
/post.php?post=14&action=editthere very last block on the page ‘berichten’
May 21, 2024 at 8:55 am #1444876Hi,
Thanks for the update. I’m still not sure where the Reviews posts are coming from though, could you clarify that? Also, the permalinks of the posts seems to only load the front page. Please check the URL in private as an example.
Best regards,
RikardMay 21, 2024 at 9:09 am #1444880Thank you for taking the time.
It is correct that clicking will get you to the homepage, it never was intended to actually show this post. Online in the slider (like it is working with an older version of enfold)
Reagring where the posts are coming from, this is on this url
/edit.php?post_type=reviewsMay 21, 2024 at 12:40 pm #1444907Hi,
Thanks for that. You have to set the excerpt in the actual post, I’ve updated one of the posts for you.
Best regards,
RikardMay 21, 2024 at 12:59 pm #1444913hi
Sure, this helps for this situation but still does not show the image or the text that was entered in that post.
And more importantly: it still does not fix the problem I have and will try to explain again.
We have a working situation with these post types on the live environment. When I upgrade to most recent version of Enfold, it stops working and you see what you see on the testing site (no text, no image).so someting changed within the avia shortcodes I assume betwean enfold 5.2 en enfold 5.7. But I am no sure where to look to try to fix this.
May 21, 2024 at 4:34 pm #1444950Hi,
I don’t think that is the problem, since the posts in question don’t have excerpts or featured images added to them. All you need to do is to add that information to your posts.
Best regards,
RikardMay 21, 2024 at 4:58 pm #1444960Then how do you explain it?
You yourself made changes to the review and added excerpt and featured image. This is not done in the live situation but there it works at the moment, until I upgrade the theme: then is has the same effect as the test site where you changed things. We had some specific styling etc this is all not working now.Can you direct me to which peace of code this slider is using? Then I can take a look for my self and see how to fix this.
May 21, 2024 at 8:11 pm #1444988Hi,
I can’t explain it unfortunately, but it’s very unlikely that a theme update would remove data from posts in the database. Maybe you could copy the live site over to staging, then we can update the theme for you to see what happens?
Best regards,
RikardMay 22, 2024 at 8:00 am #1445082hi,
there is nothing removed from the database, it is all there, it just won’t show….
The staging has a pretty recent backup (less then a month old) with the same relevant data.
I have put enfold5.2.1 on the staging again and changed ‘berichten’ with the same settings as live again. As you can see, the items now show. When you update enfold it will dissapear.May 22, 2024 at 9:22 am #1445098May 22, 2024 at 9:43 am #1445111Ofcourse, I created a user for you. I succesfully logged in with it, so it should work.
- This reply was modified 7 months ago by Rikard.
May 25, 2024 at 4:23 pm #1445997Hi,
Thank you for your patience I see that you have both v5.2.1 & v5.7.1 with the same Theme Name so I’m not sure how you have it setup to enable which parent theme is used, I see that v5.2.1 is currently loading. I also see that you have a custom header.php & footer.php in the child theme, we do not recommend adding these files to your child theme, it is the most common reason for errors when updating. Try removing these and see if this solves. You could replacing these with the header.php & footer.php from the v5.7.1 parent theme, but then you would need to manually update these with each update. I recommend removing these and any customizations you wish to make should be done in your child theme functions.php instead.
If this doesn’t help then I would recommend looking at your custom avia-shortcodes files as it looks like you have created customized elements and I assume they were based on the older v5.2.1 elements:
The theme has changed a lot since then so you may need to review the elements from v5.7.1 and update your custom elements to suit.Best regards,
MikeMay 27, 2024 at 8:54 am #1446686Hi Mike,
Thanks for these. I was renaming the enfold directory name to be it not active. With removing the footer and header not much is changing regard the issue at hand.
So yes I guess I have to review the custom avia-shortcodes, which I stated when I started the topic. I am not sure which shortcode it is, or how to debug it.I guess I have to go old school and write a lot of debugging information in it to see what the culprit function or shortcode is.
-
AuthorPosts
- You must be logged in to reply to this topic.