Forum Replies Created
-
AuthorPosts
-
Hello Ismael
I got this error when i put this codeYour PHP code changes were rolled back due to an error on line 1436 of file wp-content/themes/enfold/functions.php. Please fix and try saving again.
Cannot redeclare custom_theme_setup() (previously declared in wp-content/themes/enfold/functions.php:1400)
Hello @ismael
Thank you for the reply . i have had a lot of headache with this issue .. DreamPress say that the problem is from Enfold, and Enfold say the oppositeat last i installed Cloudflare but i don’t know if this will help me improve the site or not ! i am not even sure if i really need cache anymore !
Yes they use their own server side caching system and there is a plugin they use to check all this .. plugin name is
Proxy Cache PurgeHello @ismael
Thank you for the reply .. i have redirected my page to a better custom page .. problem solved !thanks
Hello Ismael ./. There is no error no !
@ismael
Thank you for your reply
I tried the code but it did not work ! the page is now loading foreverHello @rikard
it added my own avatar // i do not want this !
i want the post MAIN BANNER (Featured Image) to be displayed on top of the post title
@rikard
Thank you for clarifying .. i thought it was an Enfold featureCheers
Hello
My sits is not yet published .. i just want to have the blog posts show their profile photo and not only the title .,. is that possible ? if not .. its ok !March 16, 2020 at 5:28 pm in reply to: keep two layout elements next to each other on mobile #1193544@Ismael or @Yigit
I hope you are welli have been trying to fix this but i couldnt at last find a way to have the photos aligned on mobile and not go one above the other
I am using a grid row like Yigit said ..
mine is 1/3 x 3 sections .. the middle 1/3 is big and contains 3x 1/3 layouts . each containing an image
those images i want them aligned one next to the other on mobile !
“then edit Grid Row element to display cells next to each other on mobile ” it is enabled in my case ! but they are not aligned next to eachotherUPDATE !! SORRY I CANNOT DELETE THE COMMENT BUT I FIXED IT NEVERMIND THANKS
- This reply was modified 4 years, 9 months ago by Cloudypro.
Hello @yigit
I have disabled Maintenance mode and tried ! it gave the same result !Hello Terry
I have the exact same problem .. did you solve yours ?It’s directly related to a no-cache header Enfold theme puts down !!!
Hello @yigit
This is so frustrating .. DreamPress is saying that the issue is with Enfold .. it is forcing the Cache-Control header to return
“no-store, no-cache, must-revalidate !
We have disabled all plugins, still same problem, then when we switched the Enfold them, the site started caching !
So i think it is clearly a problem with Enfold !I tried the plugins you mentioned, and they did not cache the site .. only few pages got a successful cache, however most of the site pages are not caching
I saw on your forum that other people had this issue and no solution was provided
https://kriesi.at/support/topic/enfold-seems-to-add-cache-disabling-headers/There is a problem with the removal of the no-cache headers specifically. which is something only Enfold can resolve i guess !
@romano2 Hi
Did you solve this issue .. my site is not caching too and i am getting X-Varnish MISS as well !@fellsys
Thank you very much for your reply !
Hello @fellsys
Were you able to fix this issue, i have the same problem !These are the problems:
https://ibb.co/2PrH0g6
https://ibb.co/d6sPQYg
https://ibb.co/6rYzrjZThe server-side cache cannot be deactivated, this is what they said !
This was the last message i got from their support:
The problem that’s causing the cache to not work properly is that when
Enfold is enabled, it forces the Cache-Control header to return
“no-store, no-cache, must-revalidate”, and the Pragma header to be set to
“no-cache”. This is what prevents the server-side cache to work and would
probably cause issues with all other cache services. Enfold should be
able to find why whenever the theme is enabled, the headers change to the
above.Hello @Yigit
Thank you for the reply, i have opened a new support topic related to my main issue with cache since i thought that my previous message wasn’t readActually this is the only issue i guess .. for now ! but i am extremely late for the launching and i must solve this problem asap !
I hope you can push it further and have them treat this case as urgentThanks again !
Dear @Mike
Thank you so much for your help !I am using it perfectly within a content slider (i did not test it in a masonry yet but i will later and update you)
Thanks again !
Update:
After talking further with them, they clearly said:Enfold support team needs to know the theme is pushing the cache control header to no-cache, as well as the pragma header to the same (no-cache). This causes the server-side cache to not be able to cache
I hope you can help very soon !
Hello @Rikard
2- Yes it is developed by Dreamhost ! I have attached what the support told me
“The site is not currently cachable. That’ll affect the site performance.. The Proxy Cache is indeed a plugin developed by DreamHost. I don’t believe we can do much about it. It’s not just the plugin. The plugin helps you test the cache to ensure it is working. It’s more how the caching works. Some plugins/themes create cookies sessions that conflict with the server-side cache. The path forward is to contact Enfold to see if they can make the theme more cache-friendly; that’ll be how they code the theme. You could also try updating the theme, if that hasn’t been done.
Here you can see some scans from the plugin
https://ibb.co/2PrH0g6
https://ibb.co/d6sPQYg
https://ibb.co/6rYzrjZTheir support is also telling me:
We don’t recommend you use a different caching plugin but can certainly try. The thing is that we won’t be able to assist with the configuration.
– Do you have any solution or any comment regarding this issue ?
– Do you also think that the site is not caching because i am not on the latest Enfold Version (Now i am on 4.6.3.1)
– Do you think i can cache the website on another plugin that Enfold is more compatible with?
– Do you think in that case, the site performance would not be as good as if the site was cached on their own caching plugin ?Thank you
@Nikko thank you for the follow up
I found an alternative semi-solution, Actually i do not want to have the option to “Hide out of stock items from the catalog” ticked in the WooCommerce Product -> Inventory option !
I just want a code to hide out of stock items from the AJAX Search !
I have achieved to have the product not show in the search result page
but in the AJAX search it does show !The moment you start typing the product name, it shows in the ajax search (BEFORE YOU PRESS ENTER)
if you type the product name and press enter, and you get redirected to the search page result, it says “Sorry, no posts matched your criteria. Please try another search”so my main issue is the Ajax Search .. any code i can use to disable out of stock products from appearing there
See attached photo when i search in ajax (the product that appears is out of stock, and the visibility is set to shop only)
If there is no solution, then maybe there is a way to disable some product category from the Ajax search ? this way i can add a special category or tag to the out of stock products and maybe use a specific code to hide them from the ajax search ?!@Mike
Thank you very much, his is working perfectly on links i add to texts ..
However
1- i want to have the link applied on a masonry gallery image , meaning when someone clicks on an image, he will get the pop up lightbox
is that possible ?2- i can benefit from your solution elsewhere on the site, not only with what mentioned above, so my next question is, can the pop up include images and buttons ? i tried adding a shortcode from within Enfold inside the code block but it didnt work
@victoria THANK YOU !
No further questionsThis reply has been marked as private.@Basilis Thank you ! no further questions
-
AuthorPosts