Forum Replies Created
-
AuthorPosts
-
August 10, 2021 at 5:54 am in reply to: Change the hyperlink color just in a custom widget area #1315947
Hi Rickard.
Yes, you can close this topic.
Regards
IainAugust 10, 2021 at 5:53 am in reply to: Upgrading to later version of Enfold causes critical error #1315946Hi Rickard.
Yes, you can close this topic.
Regards
IainAugust 9, 2021 at 6:55 am in reply to: Upgrading to later version of Enfold causes critical error #1315226OK, I don’t know why that productslider.php file is there.
I can’t see anywhere where a Product Slider is used.
So I renamed the folder it is in to shortcodes.bak and renamed productslider.php to productslider.php.bak and then tested the page that you created and it works.I will now go and change the other pages back to using the Product Grid element.
Thanks very much for persisting with this.
Regards
IainAugust 9, 2021 at 6:35 am in reply to: Upgrading to later version of Enfold causes critical error #1315221I’ll take a look at the productslider.php file and see what I find.
Regards
Iain- This reply was modified 3 years, 4 months ago by spottydog63.
August 9, 2021 at 6:15 am in reply to: Change the hyperlink color just in a custom widget area #1315215Never mind.
I added this and it works:#custom_html-2 a:hover {
color: #e02828 !important;
}Regards
IainAugust 9, 2021 at 6:11 am in reply to: Change the hyperlink color just in a custom widget area #1315214Hi Rickard.
That worked, but it also changed the hover color to black too.
I would prefer to keep the hover color as #e02828Regards
IainAugust 8, 2021 at 9:33 am in reply to: Upgrading to later version of Enfold causes critical error #1315108Thanks for all the assistance Rickard, but I just went ahead and removed the Product Grid element from all pages and replaced it with the Code Block element with the short code instead.
I have no doubt that removing the code from the functions.php would most likely have resulted in the pages loading, but I needed to keep those customizations.
You may close this thread now if you wish.
Regards
IainAugust 6, 2021 at 11:27 pm in reply to: Upgrading to later version of Enfold causes critical error #1314916Hi Rickard.
So just to recap.
Everything works just fine with the customizations I have used with all the latest updated Plug-in’s and the latest WordPress version when using Enfold v4.7.6.4
When I upgrade to Enfold versions 4.8x, using the “Product Grid” element causes an error on pages that use that element.
If I replace that element with a “Code Block” and insert a shortcode that effectively does the same thing as the “Product Grid” element, those pages load and display just fine.
It would seem to me that the issue is not with the customizations, but rather this particular element in the 4.8x versions of the Enfold Theme.
Is that a fair assessment?Regards
IainAugust 5, 2021 at 12:17 am in reply to: Upgrading to later version of Enfold causes critical error #1314493I removed all Custom CSS and saved.
Then I added the Product Grid element to https://www.specialneedsrespite.com.au/find-a-carer-or-nurse/find-carers-nurses-qld/ and configured it for the product category and number of columns.
When I saved the page, I received the error:There has been a critical error on this website. Please check your site admin email inbox for instructions.
The email sent is the same as before.
That error message is:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, Enfold.
First, visit your website (https://www.specialneedsrespite.com.au/) and check for any visible issues. Next, visit the page where the error was caught (https://www.specialneedsrespite.com.au/wp-admin/admin-ajax.php) and check for any visible issues.
I have not re-added the Custom CSS yet.
**Note. There is a functions.php file in the Child Theme that contains the following:
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/add_filter(‘woocommerce_get_availability’, ‘availability_filter_func’);
function availability_filter_func($availability)
{
$availability[‘availability’] = str_ireplace(‘Out of stock’, ‘This Nurse/Carer is currently unavailable’, $availability[‘availability’]);
return $availability;
}function cw_change_product_price_display( $price ) {
$price .= ‘ to access this Nurse/Carer’;
return $price;
}
add_filter( ‘woocommerce_get_price_html’, ‘cw_change_product_price_display’ );
add_filter( ‘woocommerce_cart_item_price’, ‘cw_change_product_price_display’ );/**
* Change the heading title on the “Product Description” tab section for single products.
*/
add_filter( ‘woocommerce_product_description_heading’, ‘isa_product_description_heading’ );function isa_product_description_heading() {
return ‘Qualifications/Experience’;
}/**
* Change the Description tab link text for single products
*/
add_filter( ‘woocommerce_product_description_tab_title’, ‘isa_wc_description_tab_link_text’, 999, 2 );function isa_wc_description_tab_link_text( $text, $tab_key ) {
return esc_html( ‘About’ );
}add_action( ‘woocommerce_no_products_found’, function(){
remove_action( ‘woocommerce_no_products_found’, ‘wc_no_products_found’, 10 );// HERE change your message below
$message = __( ‘No Carers or Nurses available.’, ‘woocommerce’ );echo ‘<p class=”woocommerce-info”>’ . $message .'</p>’;
}, 9 );remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’ );
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
remove_action( ‘woocommerce_after_single_product_summary’, ‘avia_woocommerce_output_related_products’, 20);
remove_action( ‘woocommerce_after_single_product_summary’, ‘avia_woocommerce_output_upsells’, 21);
remove_action( ‘woocommerce_after_single_product_summary’, ‘avia_woocommerce_display_output_upsells’, 30);add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
function avia_include_shortcode_template($paths)
{
$template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.’/shortcodes/’);return $paths;
}Regards
IainAugust 3, 2021 at 4:08 am in reply to: Upgrading to later version of Enfold causes critical error #1314041I have enabled both the debug mode and the Theme Editor function.
Regards
IainJuly 31, 2021 at 8:14 am in reply to: Upgrading to later version of Enfold causes critical error #1313557If I remove the “Product Grid” element, and replace it with a “Code Block” with this code, it works.
[product_category category=”Queensland” per_page=”12″ columns=”3″]
You can see an example of that at https://www.specialneedsrespite.com.au/find-a-carer-or-nurse/find-carers-nurses-qld/
But I don’t want to edit each page and replace them all.
I want to use the “Product Grid” element.**EDIT
Pages still don’t load with v4.86Hi.
I have edited the iconbox.php as you suggested and this has fixed the issue.
But what happens when there is a further update?
Will this happen again, or will this edit remain in place?Regards
IainHere is a screen cap of the issue:
Great.
Thanks very much.That’s fantastic Yigit.
I can’t believe how much assistance you have provided.
I am sure that this must be outside your scope.
I very much appreciate what you have done.Regards
IainHi Yigit.
I have edited the functions.php file and added the CSS, but I don’t see any difference.
FTP login credentials supplied in Private Content.Regards
IainHmm, ok.
So is there a better way to have a banner display at the top of every page that is responsive, instead of the way I am trying?
There is no requirement for a logo, so I have used css to turn that off.Regards
IainHi Victoria.
You can close it.
I may have a crack at doing things differently later, but for now I’ll stick with what I have.Regards
IainHi guys.
I’m going to close this.
I’ve undone everything to revert to something that works, and just changed the Logo instead.
Not ideal, but it serves it’s purpose for now.Regards
IainHi guys.
Big problem.
I’ve just noticed that the Burger Menu isn’t working.
Any idea why?Regards
IainHow do I move the Burger Menu from the Left of screen to the Right of screen?
Regards
IainSorry, my mistake.
I added !important after the 28px, and the text now remains inline.However, the other parts of my question remain unchanged.
ie. The phone number text overlaps the Logo, the social icon disappears, and the burger menu is on the left.
Regards
IainThe Burger menu still appears on the Left, and the Header Widget still misaligns on a smaller screen, and it overlaps the Logo.
Regards
IainHi Rikard.
What is that css meant to do?
I have added it, but nothing has changed
And wouldn’t I need to change the existing css as well?Regards
IainMarch 18, 2019 at 3:42 am in reply to: Switch off blog meta elements static post enfold theme #1079761Never mind.
I used this CSS and it worked:span.post-meta-infos { display: none !important; }
So it looks like your instructions are wrong.
I clicked on the link on the Envato Plugin setup page, and the permissions were completely different to those in your instructions!!!!For now I have given up on these other websites.
I have now tried registering one website with it’s own individual Envato login.
And I get EXACTLY the same problem.
Even using the Envato Market Plug-in, I get this error:The OAuth Personal Token could not be verified. Please check that the Token has been entered correctly and has the minimum required permissions.
This is ridiculous, and is just too difficult.
It should not be this hard trying to get this to work.
Either there is a problem, or your instructions are wrong.
We pay good money for this product and it’s a convoluted ridiculous process to try and register a token.
Please look at the following website, check the permissions, and try to get the Token working yourself because I certainly can’t.Never mind, I fixed it.
I went to the visual editor and found some code that had been copied across from the original website.
I removed that and it fixed the problem.OK, I created a completely new Home Page, and the Slider worked right up until I made it the Home Page.
As soon as I told the Theme to use the new page as the Home Page, the same thing started happening again.
If I set the Test Page you created the be the Home Page, the slider worked.Hi Rickard.
I already tried that, but I did it again anyway.
No change, still shows a blank white area.Regards
Iain -
AuthorPosts