Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1178523
    313
    Participant

    I am using the latest versions of x theme, WP and Cornerstone. I haven’t modified the code in anyway.

    Comparing these two portfolio items:
    (1) http://lassekoppeli.com/portfolio/photo-manipulation-angel/

    and

    (2) http://lassekoppeli.com/portfolio/hmv-project/

    First (1) portfolio item works perfectly but the second (2) and every single item after that doesn’t.
    1. breadcrumbs isn’t working as it doesn’t show ‘Portfolio’ , only empty space

    2. class entry-parent part isn’t linking correctly to portfolio index. Instead it links to same page without /portfolio/ and gives 404 error. I also checked edit page and all settings are the same with all.

    // Entry Top Navigation
    // =============================================================================
    
    if ( ! function_exists( 'x_ethos_entry_top_navigation' ) ) :
      function x_ethos_entry_top_navigation() {
    
        if ( x_is_portfolio_item() ) {
          $link = x_get_parent_portfolio_link();
        } elseif ( x_is_product() ) {
          $link = x_get_shop_link();
        }
    
        $title = esc_attr( __( 'See All Posts', '__x__' ) );
    
        ?>
    
          <div class="entry-top-navigation">
            <a href="<?php echo $link; ?>" class="entry-parent" title="<?php $title; ?>"><i class="x-icon-th" data-x-icon=""></i></a>
            <?php x_entry_navigation(); ?>
          </div>
    
        <?php
    
      }
    endif;
    

    In source code:

    <div class="entry-top-navigation">
            <a href="http://lassekoppeli.com/hmv-project/" class="entry-parent" title=""><i class="x-icon-th" data-x-icon=""></i></a>

    I am using child theme which hasn’t been modified in anyway and the theme is clean version, no modifications on that or stack either. I am using Ethos Stack on my site.

    Everything seems to be correct. PHP code is on the site as shown above I and uploaded fresh files of all but nothing changed. Where might the problem be?

    How can it work on the first link (1) but not on (2) or any after it?

    Thanks

    #1179034
    Christopher
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1182173
    313
    Participant
    This reply has been marked as private.
    #1182637
    Rupok
    Member

    Hi there,

    Not sure why this happening as it should be same as other. You can try re-creating the item. You can also add this under Custom > JavaScript in the Customizer.

    jQuery ( function( $ ) { 
      $('.single-x-portfolio .x-breadcrumbs > a:not(:first-child)').text("Portfolio"); 
    } );

    Hope this helps.

    #1185484
    313
    Participant

    Hi,

    that does add Portfolio text to breadcrumbs which is great but instead of linking it to portfolio index it links same as above http://lassekoppeli.com/hmv-project/ not http://lassekoppeli.com/portfolio/hmv-project/ from which first one gives 404 error.

    I removed and uploaded all the files from the X theme but problem didn’t go a way.

    All work in the Agency demo but for some unknown reason not with me even though I have the same files. Weird.
    Somewhere there is problem with linking but I cannot seem to find it.

    #1185698
    313
    Participant

    Ok, now I got it up and running. I changed Portfolio template from fullwidth to Portfolio but lost the Grid settings how to showcase portfolio items in index. At least it doesn’t give any 404 errors now.

    Thanks, problem solved. I’ll work around this Grid next. 🙂

    #1185919
    Paul R
    Moderator

    Hi,

    You can change no. columns and layouts under portfolio settings.

    http://screencast.com/t/s65iyXCceWgT

    Thanks

    #1188704
    313
    Participant

    Hi,

    Ok, I’ll try that.

    Thanks

    #1188780
    Prasant Rai
    Moderator

    Let us know how it goes.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1178523 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>