Tagged: x
-
AuthorPosts
-
April 11, 2016 at 9:29 am #876506
I seem to be having a small issues with the header and a microsoft edge underline issue.
I will be posting url and credentials on my next post
X, Cornerstone and WordPress are all updated to the latest version
April 11, 2016 at 9:31 am #876507This reply has been marked as private.April 11, 2016 at 9:36 am #876517sorry, the file wasn’t uploaded
April 11, 2016 at 11:42 am #876743I’ve just had confirmation. This? x-ms-format-detection=”none” doesn’t seem to work
April 11, 2016 at 5:49 pm #877297Hi There,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.x-img {width: 100%;}
Hope it helps, Cheers!
April 12, 2016 at 2:04 pm #878768Thank you, that worked!
Could you please also help with the Edge issue? Maybe I was adding this bit x-ms-format-detection=”none” in the wrong place? I’m using a child theme, integrity. Thank you advance.
I also activated the custom 404 page that comes with the theme and translated it thru WPML. It doesn’t seem to work though. If I’m on the Italian side of the site and I trigger a 404, I get the Italian 404, but if I’m on the English site and I trigger a 404, the Italian 404 shows up. Should I follow these instructions? I’m confused about the object ID though. Do they mean the page-id?
April 13, 2016 at 1:51 am #879480Hi there,
Thanks for updating. The issue with Edge is, it’s a pretty new browser and seems it can’t recognize some CSS attributes. It’s not a standard browser yet like Firefox, Chrome or Safari so some issue might arise.
You can follow the mentioned thread for translation issue.
Cheers!
April 13, 2016 at 3:40 am #879603Thanks for your reply.
I may have fixed the Edge issue. I have tested it on my systems and it doesn’t show up. To be 100% sure, I need to double check with the person who reported the issue tho. Anyhow, I added document.body.setAttribute(‘x-ms-format-detection’, ‘none’); in the customizer > custom > Edit global Javascript and added x-ms-format-detection=”none” to a bunch of places. Hope this helps someone else.
April 13, 2016 at 3:44 am #879608This reply has been marked as private.April 13, 2016 at 9:18 am #880073Hi there @c-admin,
Thanks for writing back, could you post your FTP details in a private reply please, so we can take a closer look at the redirection issue for you. 🙂
Thank you!
April 13, 2016 at 12:36 pm #880460This reply has been marked as private.April 13, 2016 at 11:30 pm #881406Hi there,
I tried your FTP login credentials and it’s not working on my end. For the meantime, please follow this temporary fix.
With your FTP or File manager, please navigate to this folder \wp-content\plugins\x-custom-404\views\site\
Then edit custom-404.php and replace the entire code with this,
<?php // ============================================================================= // VIEWS/SITE/CUSTOM-404.PHP // ----------------------------------------------------------------------------- // Plugin site output. // ============================================================================= // ============================================================================= // TABLE OF CONTENTS // ----------------------------------------------------------------------------- // 01. Output // ============================================================================= // Output // ============================================================================= function x_custom_404_filter_template( $template ) { require( X_CUSTOM_404_PATH . '/functions/options.php' ); if ( ! isset( $x_custom_404_enable ) || ! $x_custom_404_enable ) { return $template; } global $sitepress; if ( function_exists( 'icl_object_id' ) && is_callable( array( $sitepress, 'get_current_language' ) ) ) { $custom_404_post = get_post( icl_object_id( $x_custom_404_entry_include, 'page', false, $sitepress->get_current_language() ) ); } else { $custom_404_post = get_post( (int) $x_custom_404_entry_include ); } if ( ! is_a( $custom_404_post, 'WP_Post' ) ) { return $template; } GLOBAL $wp_query; GLOBAL $post; $post = $custom_404_post; $wp_query->posts = array( $post ); $wp_query->queried_object_id = $post->ID; $wp_query->queried_object = $post; $wp_query->post_count = 1; $wp_query->found_posts = 1; $wp_query->max_num_pages = 0; $wp_query->is_404 = false; $wp_query->is_page = true; return get_page_template(); } add_filter( '404_template', 'x_custom_404_filter_template' );
Hope this helps.
April 14, 2016 at 2:31 am #881666This reply has been marked as private.April 14, 2016 at 2:47 am #881690BTW, I reuploaded the original non-edited x-custom-404.php because if I tried to edit anything else on my site, I’d get the php error mentioned above. The site will go live tomorrow and I still need to fix a few things so I changed it back. Hope this isn’t a problem. Please let me know
April 14, 2016 at 7:42 am #882116 -
AuthorPosts