Forum Replies Created
-
AuthorPosts
-
May 16, 2018 at 10:00 pm in reply to: How do I make my blog posts into a continuous page, rather than a summary page? #957750
Oh I see!
So if I create a normal blog posts without using the Advanced Layout Editor they will display continuously?
That seems a shame as the Advanced Layout Editor is really useful.
March 16, 2018 at 12:05 pm in reply to: Google Access Denied Errors > wp-content/themes/enfold/framework/ #928056OK great thanks.
March 7, 2018 at 1:44 pm in reply to: Fatal error: Can't use function return value…. /enfold/header.php on line 6 #922992Ok thanks. Will go the whole hog then.
C x
March 7, 2018 at 1:00 pm in reply to: Fatal error: Can't use function return value…. /enfold/header.php on line 6 #922945Thank you. Pasting this into the header.php file has fixed the problem.
PHP version 7.1 appears to be available on the server is this ok to go the whole hog now?
March 7, 2018 at 12:46 pm in reply to: Fatal error: Can't use function return value…. /enfold/header.php on line 6 #922930PS I have uploaded the previous version of header.php which has at least got the website up and running.
This is the difference between the two files:
`<?php
if ( ! defined(‘ABSPATH’) ){ die(); }global $avia_config;
$avia_config[‘use_standard_lightbox’] = empty( avia_get_option( ‘lightbox_active’ ) ) || ( ‘lightbox_active’ == avia_get_option( ‘lightbox_active’ ) ) ? ‘lightbox_active’ : ‘disabled’;
/**
* Allow to overwrite the option setting for using the standard lightbox
* Make sure to return ‘disabled’ to deactivate the standard lightbox – all checks are done against this string
*
* @added_by Günter
* @since 4.2.6
* @param string $use_standard_lightbox ‘lightbox_active’ | ‘disabled’
* @return string ‘lightbox_active’ | ‘disabled’
*/
$avia_config[‘use_standard_lightbox’] = apply_filters( ‘avf_use_standard_lightbox’, $avia_config[‘use_standard_lightbox’] );$style = $avia_config[‘box_class’];
$responsive = avia_get_option(‘responsive_active’) != “disabled” ? “responsive” : “fixed_layout”;
$blank = isset($avia_config[‘template’]) ? $avia_config[‘template’] : “”;
$av_lightbox = $avia_config[‘use_standard_lightbox’] != “disabled” ? ‘av-default-lightbox’ : ‘av-custom-lightbox’;
$preloader = avia_get_option(‘preloader’) == “preloader” ? ‘av-preloader-active av-preloader-enabled’ : ‘av-preloader-disabled’;
$sidebar_styling = avia_get_option(‘sidebar_styling’);
$filterable_classes = avia_header_class_filter( avia_header_class_string() );
$av_classes_manually = “av-no-preview”; /*required for live previews*/
$av_classes_manually .= avia_is_burger_menu() ? ” html_burger_menu_active” : ” html_text_menu_active”;?><!DOCTYPE html>
Brilliant – much better thank you!
It works ok!
You can try with these settings
Sorry this is going to be a pain as I have WordFence set up which blocks all countries except UK and requires a mobile phone code when logged in.
January 19, 2018 at 5:26 pm in reply to: emails not being received from SOME visitors sending from contact form. #899772I don’t know. The client doesn’t want me to do any more work on it.
Thank you for the pointer though. I will install this instead next time.
Thanks for your help.
Colin
January 18, 2018 at 9:41 pm in reply to: emails not being received from SOME visitors sending from contact form. #899311I have tried this on a test website. it seems to be a much better solution.
Thank you for your suggestion.
January 18, 2018 at 12:29 pm in reply to: emails not being received from SOME visitors sending from contact form. #899099Sorry. The client wants me to stop spending time sorting this out.
The only way I can test this is to use my own website, but there isn’t a problem with emails not getting through on that – as far as I know!
I will give it a try anyway. Which of the many WPSMTP plug ins do you recommend?
January 16, 2018 at 5:52 pm in reply to: emails not being received from SOME visitors sending from contact form. #898084PS. The known person sending the message is not blacklisted and his emails are not in the spam folder
December 12, 2017 at 3:33 pm in reply to: Editing Text Blocks, the editing window does not contain the original text! #887968Don’t worry. I am happy to do the work round. It only happens very rarely.
Thanks anyway.
December 12, 2017 at 1:39 pm in reply to: Editing Text Blocks, the editing window does not contain the original text! #887919Hiya,
Well it worked, but a really complicated solution. In the end I just went to the original front-end page and copied the text. Then just pasted it back in into the admin.
Obviously no use if I had added some photos, but so far the only error seems to be in the Text Block element. Will keep your clever function handy for emergencies!
Thank you.
December 12, 2017 at 11:29 am in reply to: Editing Text Blocks, the editing window does not contain the original text! #887836Ok thanks will try this.
Colin
Thanks to you! It’s amazing what can be done with CSS.
Let’s hope the client realises all the effort that has gone into it!
Thanks again Colin x
PS – I think you have sorted it now for me – THANK YOU !
I think I can fix the other odd things with CSS.
Thanks again.
Colin x
I have changed the CSS, so it almost works now.
All I need to do is to float the product text panel to the right of the main image.
http://jewellery.waltoncreative.com/product/silver-necklace/
Hi Victoria,
Thank you for your work on the problem.
I have changed the function file as suggested. But I am afraid things go a bit weird:
http://jewellery.waltoncreative.com/product/silver-st-christopher/
- This reply was modified 7 years, 5 months ago by ColinWalton.
Hiya, as I said, I have already tried that. If I put if after THE PREVIOUS CODE Victoria said to keep in – all I get is a blank screen.
This is the code I have already:
// fixes the sidebar to add correctly to PRODUCTS PAGES add_action('init','ava534345953_init', 50); function ava534345953_init() { add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25); } function avia_close_image_div() { echo "</div>"; } function avia_add_sidebar() { if(is_product()) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } }
If I add THIS afterwards:…
function ava534345953_init() { add_action( 'woocommerce_before_single_product', 'avia_add_sidebar', 25); }
I end up with a blank screen. I think the various functions are fighting against each other somehow?
TO SUM UP – THIS IS THE CODE AS I HAVE IT NOW…
// fixes the sidebar to add correctly to PRODUCTS PAGES add_action('init','ava534345953_init', 50); function ava534345953_init() { add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25); } function avia_close_image_div() { echo "</div>"; } function avia_add_sidebar() { if(is_product()) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } } function ava534345953_init() { add_action( 'woocommerce_before_single_product', 'avia_add_sidebar', 25); }
Sorry, I can’t get this to work. Where EXACTLY should this extra function go?
If I put it at the end I either get a blank screen or the loading icon continues and page does not load. I have tried replacing the previous function about the right hand side bar and this has the same effect.
Can you possibly give me the whole script with the LEFT sidebar function in position please?
Sorry to be a pain!
That may well be true. But for me the sidebar in this instance is meant to be read first – so really HAS to be on the left.
I have every faith you can work a miracle! thank you x
Great thank you that’s very good. For the rest of the website I think the sidebar looks best on the LEFT.
Is there anyway of altering the function / CSS to place the sidebar on the LEFT instead of the right?
Great – here we are…
June 21, 2017 at 10:02 pm in reply to: Three identical columns, ANY order they go in THE FIRST IS TALLER WHY? #811183Gosh, I didn’t realise it was possible to change all these details too!
Thank you – making it say IDENTICAL has fixed the problem.
Regards
March 31, 2017 at 12:49 pm in reply to: TURN ON the Lightbox and TURN OFF linking to post in Post Masonry? #769912Don’t worry. I have found this works:
.av-masonry-container.isotope { pointer-events: none !important; }
Is doesn’t turn on the Lightbox, but at least it stops the unnecessary linking to post pages.
February 21, 2017 at 2:01 pm in reply to: As soon as I install the Enfold theme I get a blank screen #749962Sorry Yigit, you are right I was altering the wrong setting. Making the PHP memory_limit 256M has fixed the problem
THANK YOU !
February 21, 2017 at 1:57 pm in reply to: As soon as I install the Enfold theme I get a blank screen #749959Hi Yigit,
I am using Plesk so have altered the php limit myself to 256M. Sadly this hasn’t solved the problem. I can’t even log into the wp_admin page.
Last time I managed to fix this by deleting the Enfold theme folder then setting the theme to something else via Plesk.
The problem seems to be Enfold for some reason?
February 21, 2017 at 1:35 pm in reply to: As soon as I install the Enfold theme I get a blank screen #749935Hiya Pascal,
Thank you. I am glad it isn’t just me!
- This reply was modified 7 years, 10 months ago by ColinWalton.
-
AuthorPosts