Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #176836

    lmarinovich
    Participant

    Hi,

    1. My Main Menu has completely disappeared: http://b50.e16.myftpupload.com/ (suddenly) probably around the time of the upgrade, but I’ve only now returned to check. I am working from a child theme. I checked on both Chrome and Safari in case it’s a cache issue (also flushed the WP cache).

    2. I followed the steps you recommended for updating the Visual Composer by uploading js_composer.zip, but no luck, still doesn’t want to install. Message: Destination folder already exists.

    Please assist,

    regards

    Leonie

    #176839

    lmarinovich
    Participant

    Hi,

    Ignore point 2: I deactivated and then tried installing from the plugin page’s “New version available” and that worked.

    Best

    Leonie

    #176888

    John Ezra
    Member

    Hi Leonie,

    Thanks for writing in. Could you check to see if the issue is on the child theme? Do this by activating the main theme and if your menu returns then the issue is within the Child theme.

    Either way though it seems that the issue is because the nav was customized and there were structure changes in this recent update, please review the recent release notes https://theme.co/x/member/forums/topic/release-notes-x-v3-1-1-x-shortcodes-v2-6-1/

    You will need to make necessary changes to your nav to make it work the way you customized it to.

    Also note there is an error in the console regarding “micro-themes” you may want to check for a plugin conflict as well.

    Let us know how that goes thanks!

    #176902

    lmarinovich
    Participant

    Hi,

    Thanks,

    yes, the problem seems to be in the Child Theme (eek!) – My Mobile navigation is working though as illustrated in the release notes.

    Where do I even start fixing this?

    #176940

    Zeshan
    Member

    Hi there,

    In that case I’d advise to start by removing any child theme changes, then slowly adding them back to identify which code is the issue. You can also compare any templates you’ve changed to the code in the current files. That way you can find the issue and adjust the template accordingly.

    Thanks!

    #176972

    lmarinovich
    Participant

    Hi,

    I removed ALL the child theme changes from the Customizer css (see below) and added them back one by one

    .x-post-carousel.unstyled{
    height:175px;
    }
    .x-post-carousel.unstyled .entry-cover{
    padding-bottom:175px;
    }

    .single-post .entry-featured{
    display: none;
    }

    /* Cropping position for thumbnails */
    .entry-cover {
    background-position: 0 -42px !important;
    }
    /* This is so that the image can fit better on page*/

    .x-img {
    max-width: 80% !important;
    margin-left: auto;
    margin-right: auto;
    }
    /* red dropcaps with better padding */
    .my-dropcap {
    margin: 0.135em 0.135em 0 0;
    padding: 0.105em 0.100em 0.105em 0.135em;
    font-size: 3.5em;
    background:#DC143C;
    }

    /*dropshadow
    p4 { color: #ffffff; text-shadow: 1px 1px 1px #000000; }

    /*read more link
    p5 {color: #ffffff; }

    /*disable Category and date display on Post Slider

    .x-post-slider-entry .featured-meta {
    display: none !important;
    }

    And nothing brought my menu back.

    I’m not a WordPress expert, and I haven’t made any changes to templates that I’m aware off, and the only code I’ve added has been in the Customizer window. I simply don’t have the skills to go and fiddle behind the scenes. Could there be a plugin conflict? Everything is up to date.

    Regards

    Leonie

    #176985

    lmarinovich
    Participant

    Hi,

    Please understand that I’m trying to remain good-humoured about this, but my frustration levels are really high. I stuck to making changes in a child version as recommended, to prevent exactly this from happening.

    The mobile menu also suddenly is now all red, which it wasn’t in the previous version.

    Regards

    Leonie

    #177043

    Nabeel A
    Moderator

    Hi Leonie,

    It looks like a plugin conflict upon testing your site. Please deactivate all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Let us know how this goes!

    #177149

    lmarinovich
    Participant

    Hi,

    so it appears that the plugin Advanced Custom Fields (https://wordpress.org/plugins/advanced-custom-fields/) is the culprit. When I disable it, the whole site disappears except for the background, and I have mapped two fields to my post carousel etc. – it’s now an integral part of my site, so I can’t just disable.

    I have logged a support ticket with the creator – but any thoughts from your end in the meantime?

    Thank you,

    Leonie

    #177324

    Christian
    Moderator

    Hey Leonie,

    We’d love to help you with your issue however, there are many possibilities that might be causing the issue. Therefore, we cannot give any input and plugin conflicts falls beyond the scope of our support.

    Thank you for understanding.

    #177590

    lmarinovich
    Participant

    Hi,

    UPDATE: Here’s something I don’t understand – I activated the latest version of X as my current theme, and it had imported all my custom CSS and settings etc. and everything is working as before. It’s like there is something wrong with the Child theme overall, which I don’t understand. Do I create a new child theme? What would be the best way forward?

    Also, the ACF guys have asked me to do a clean install, which I’m doing on a local MAMP server. How do I go about getting a validation key for the temp install? I don’t want to jeopardise my existing install, but I need to upgrade to the latest version of Theme X to test the plugin.

    Best,

    Leonie

    #177626

    lmarinovich
    Participant

    UPDATE :

    I think I know where the problem is, I had to change some code to reflect my custom fields in the post carousel above the navbar.

    I had to change the function.php in the child theme to reflect my custom fields from the default:

    <div class=”x-post-carousel-meta”> <span class=”entry-cover-author”><?php echo get_the_author(); ?></span> <span class=”entry-cover-categories”><?php echo x_ethos_post_categories(); ?></span> <span class=”entry-cover-date”><?php echo get_the_date( ‘F j, Y’ ); ?></span> </div>

    To this:

    <div class=”x-post-carousel-meta”>
    <span class=”entry-cover-author”><?php echo get_field( “photographer” ); ?></span>
    <span class=”entry-cover-categories”><?php echo x_ethos_post_categories(); ?></span>
    <span class=”entry-cover-date”><?php echo get_field( “date_created” ); ?></span>
    </div>

    Any ideas on how to fix this? Or is this still a plugin support issue? The custom fields seem to be creating the conflict.

    Regards and apologies if this is not your support area

    Leonie

    #177654

    Zeshan
    Member

    Hi Leonie,

    Thanks for posting in!

    While the support for a 3rd party plugin is outside the scope of support, I could point you in the right direction with the understanding that it would ultimately be your responsibility to take it from here. So, you can try replacing your code from your child theme’s functions.php file with following (I’ve added the ACF fields you’ve used in this code):

    if ( ! function_exists( 'x_ethos_entry_cover' ) ) :
      function x_ethos_entry_cover( $location ) {
    
        if ( $location == 'main-content' ) { ?>
    
          <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            <a class="entry-cover" href="<?php the_permalink(); ?>" style="<?php echo x_ethos_entry_cover_background_image_style(); ?>">
              <h2 class="h-entry-cover"><span><?php x_the_alternate_title(); ?></span></h2>
            </a>
          </article>
    
        <?php } elseif ( $location == 'post-carousel' ) { ?>
    
          <?php GLOBAL $post_carousel_entry_id; ?>
    
          <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            <a class="entry-cover" href="<?php the_permalink(); ?>" style="<?php echo x_ethos_entry_cover_background_image_style(); ?>">
              <h2 class="h-entry-cover"><span><?php ( $post_carousel_entry_id == get_the_ID() ) ? the_title() : x_the_alternate_title(); ?></span></h2>
              <div class="x-post-carousel-meta">
                <span class="entry-cover-author"><?php echo get_field( "photographer" ); ?></span>
                <span class="entry-cover-categories"><?php echo x_ethos_post_categories(); ?></span>
                <span class="entry-cover-date"><?php echo get_field( "date_created" ); ?></span>
              </div>
            </a>
          </article>
    
        <?php }
    
      }
    endif;
    

    Cheers!

    #178696

    lmarinovich
    Participant

    Hi,

    thanks for this, but this is exactly the code that’s already in the functions.php of my child theme – so nothing has changed.

    Could I in some way duplicate the Theme X main theme that I have with all the changes in it (and with the ACF plugin working) and set that as a child theme?

    This is a disaster, the ACF people are completely unresponsive, so I would just like to figure out a work-around. Again, if this is outside of your support scope, I understand,

    Regards

    Leonie

    #178755

    lmarinovich
    Participant

    UPDATE:

    Conclusion – My Child Theme is broken. My main X theme (Ethos) now has exactly the same settings as my Child theme had, with the plugins etc. and the code changed in the ethos.php as set out above (x/framework/functions/ethos.php)

    And everything is working perfectly including my mobile site’s navigation.

    Obviously this is not an ideal situation, so what is the most efficient way of creating a child theme/clone of the current Theme X ?

    I’m still not clear where the problem is, but I have made backups

    Best,

    Leonie