Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1143749
    Lobsterass
    Participant

    Hi awesome developers!

    Hey, I really like the nice entry top nav function. 🙂

    1. Since I’m using The Grid for the feed-pages of portfolio, shop and blog, I want to change the link of the menu-buttons. Please see attached images for this.

    2. Is it possible to make entry top nav look the same on blog entries? See blog image.

    3. I’ll need this to work both in SWE and ENG. (WPML).

    PORTFOLIO ENTRY:
    http://dev.monroedesign.se/portfolio/sodra-stations-naprapatklinik-5/

    LINK TO PORTFOLIO FEED:
    http://dev.monroedesign.se/#portfolio

    SHOP ENTRY:
    http://dev.monroedesign.se/shop-vaggdekor/dykare-vaggdekor-brandslackare/

    LINK TO SHOP FEED:
    http://dev.monroedesign.se/vaggdekor-shop/

    BLOG ENTRY:
    http://dev.monroedesign.se/forpackningsdesign-for-ljusgran/

    LINK TO BLOG FEED:
    http://dev.monroedesign.se/grafisk-design-uppat-vaggarna-blogg/

    Possible?
    Thanx!

    <3

    #1144273
    Christopher
    Moderator

    Hi there,

    Please change portfolio items parent to ‘vedaktor shop’.

    There is no attachment named blog. Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    Hope it helps.

    #1144496
    Lobsterass
    Participant

    Hi!

    1. I now created a portfolio feed page: http://dev.monroedesign.se/portfolio/ and set it as parent to a portfolio item. How do I style it so that it looks like The Grid here: http://dev.monroedesign.se/#portfolio ? I’ll have the same styling issue with products and blog posts as I want unified style everywhere. Is it easier to just change the link of the menu buttons in the attached images?

    2.Oh, I’m sorry, I see now that I uploaded the same image 3 times. Attached are the correct ones. I basically would like my blog entries to have similar entry top nav as seen on products and portfolio.

    <3

    #1145429
    Rad
    Moderator

    Hi there,

    That option is only available on portfolio default templates. Your page is just a blank one with added The Grid element. If you wish to edit it, then add this code to your child theme’s functions.php

     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
    
      }

    And change its link, currently, it defaults to parent portfolio and shop home page. Example, change this

     if ( x_is_portfolio_item() ) {
          $link = x_get_parent_portfolio_link();
        } elseif ( x_is_product() ) {
          $link = x_get_shop_link();
        }
    

    to this

    $link = home_url('/')."#portfolio";

    Hope this helps.

    #1146775
    Lobsterass
    Participant

    Hi!

    You are bad ass! It worked perfectly! Thank you so much, Rad!

    High five!

    <3

    #1146954
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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