Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Hey guys just to update you on this, things have got a lot worse. I had errors when I installed a plugin. Then I noticed there was a Enfold update but when I ran it it corrupted the whole site. I uploaded a zip of Enfold 4.0.2 and unpacked it which has got the site back up. I don’t want to try and update the theme again until tomorrow as I have not got time to fix it again now.
Can you take a look at the plugin error I get on the plugins and updates page and see if you can see the problem. I think it may be related to my last post:Warning: fopen(/home/cluster-sites/3/l/lucyelworthy.co.uk/public_html/wp-content/plugins/home/cluster-sites/3/l/lucyelworthy.co.uk/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php): failed to open stream: No such file or directory in /home/cluster-sites/3/l/lucyelworthy.co.uk/public_html/wp-includes/functions.php on line 4834
Warning: fread() expects parameter 1 to be resource, boolean given in /home/cluster-sites/3/l/lucyelworthy.co.uk/public_html/wp-includes/functions.php on line 4837
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/cluster-sites/3/l/lucyelworthy.co.uk/public_html/wp-includes/functions.php on line 4840I will update to 4.2.5 tomorrow unless you find a problem.
Thanks
RobJanuary 23, 2018 at 7:12 pm in reply to: Trying to Add JS Particles Background via Enfold theme #901624Nice one Two Trees you are a diamond!
3 questions (for anyone):
– Is there a way to add it to the header and footer background?
– Is there a way to add it to an entire page behind the color sections and show through?
– It only works in the first color section I add the code block to. How do I get it to appear in more than one color section?
Thanks again
RobThanks John Found it.
Perfect! thanks
Hi Nikko,
Actually it partially works. I have just done it again and it shows half the line red and the top half is still white. That is why it appeared not to be working. Obv. I don’t want any white or red I want all black (#000000) Here is the slider (still building it) http://orionit.ltd.uk/wp/.
I have used Yigit css exactly:.ls-bar-timer { border-color: red!important; }
I am surprised there is no way to do this within the LayerSlider plugin.
Many thanks
RobThis no longer seems to work. Has it changed since December 2014?
Thanks
RobCheers
Your a Diamond. Thanks for the speedy response.
Is it safe to do that with any javascript?Many thanks Jordan
Oh one more thing. Is it okay to delete all the rest of the unused custom fields in the box on the product page?
ThanksGreat thanks Ismael I didn’t suss out how the “Configure post options worked. Now sorted.
Many thanks
RobThanks Ismael,
Unfortunately it is not working. I added the custom field in the product then added [meta:custom_price] to the dynamic content area (Grab: https://pageshot.net/RrmwM8d3qHQE25aX/46.32.240.35.sure-clip.co.uk) but the layers slider price is blank.
Login below if you need it.
I have done this on the fifth product in the slideshow. Here is a link to the edit product page:
http://46.32.240.35.sure-clip.co.uk/wp-admin/post.php?post=875&action=editThanks
RobHi Basilis,
This is the slideshow:
I want the big green price to update automatically when the product price changes.
In LayerSlider content I have gone into the “Dynamic content from posts” selected products under “Configure post options”. It lists all products but doesn’t let you select them or anything.Thanks
RobPlease close it
thanksNice one Nikko! Works a treat.
For anyone else I changed:
$content_output .= '<img src="'. $image['sizes']['thumbnail'].'" alt="'. $image['alt'].'" />';
to
$content_output .= '<img src="'. $image['sizes']['thumbnail'].'" alt="'. $image['alt'].'" title="'. $image['title'].'" />';
Thanks
RobDoh!
Here is a link to a custom post type (story) with 3 images:
http://shaftesbury-remembers.goldhillmuseum.org.uk/story/frederick-john-ford/
Thanks NikkoBrilliant! Thanks Ismael. That works great.
Are you sure? At the beginning of this thread you said it WAS possible. I then followed a load of instructions from you. If it isn’t possible why didn’t you say that at the start and save us both a load of time.
I’ll ask the question again. Perhaps one of your colleagues might have an idea:
On a mobile device in the catalogue (tractor) page the sidebar shows at the bottom after you scroll through all the products for that category. I need it to show the sidebar or a widget at the top so they can select an attribute (parts type) from the Woocommerce Layered Nav widget first. (I cannot envisage a scenario where having the sidebar after scrolling through all the products would be of any use on mobile devices.)
Thanks
RobHi Andy,
Okay I now have content-product.php in a woocommerce folder in my child theme. What edit do I make to this document to achieve your suggestion:
“Instead you could try to work with a widget element from ALB, which you show on mobile devices only.”
ThanksSorry Andy. I am being dense. How do I add a color section to the default products page.This is an example of the page it needs to be on: http://fordtractorsales.co.uk/product-category/10-series/2610/
It is not editable under Pages it is generated when you click a category (tractor). Also I don’t want it to appear on the parent category page (/10-series/ in the url above).
Thanks
RobHi Andy,
How do I add the widget to the top of the default products page? If you remember it is there that I need to show a widget with the same content as the sidebar. Your CSS code will only work on the test page you asked me to create.
Thanks
RobHi Andy I have changed the password. See below.
Thanks
RobHi Andy
I have created a page with a widget in a color section at the top and given it an ID of ‘mobilemenu’. The color section below has an ID of ‘conent’ for testing purposes.
http://fordtractorsales.co.uk/robs-mobile-test-page/
The widget is a copy of the Shop Overview Page sidebar so alongside a search box and a back button it has 6 Woocommerce Layered Nav widgets with the 6 Attributes. The Attributes menu does not show any content on the test page because it only shows attributes available for the category (tractor) page it is on. (e.g. http://fordtractorsales.co.uk/product-category/1000-series/2000/)
I have enabled sidebar on the page but it is showing below the content for some reason.
I have disabled the Sidebar on Smartphones In the Theme Options.Many thanks
RobYes good idea! A widget at the top of the page with the same as the sidebar would work as long as it only shows when the sidebar gets hidden. Can you advise the procedure for that?
Thanks
RobGreat thanks Yigit. I noticed it seemed to be the Layerslider.
Cheers
RobHi I just noticed that I had not responded to Yigit’s question. I always keep my theme up to date so the latest version currently 3.8.4. I just ran it again and got a similar result.
This is the site I ran it on http://www.consolite.co.uk/
This is the new report:
FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
——————————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–January 25, 2017 at 2:04 pm in reply to: Remove large Category image at the top of products and sub cats #738360Wow that was fast!
Perfect thanks.
Rob -
AuthorPosts