Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1349827
    Jeffrey S
    Participant

    Hi X,

    Is it possible to change the URL of the Entry Top Navigation in a portfolio item.
    Please take a look in the screenshot to show you what I mean.

    Now its going to http://www.jeffreyschout.nl/werk but i want it to go to Jeffreyschout.nl/portfolio.

    Kind regards,
    Jeffrey

    #1350139
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    You could follow the link below on how to change the entry top navigation URL:

    https://community.theme.co/forums/topic/change-link-in-entry-top-nav-include-entry-top-nav-on-blog-entries-also/

    Hope it helps.

    Let u know how it goes.
    Thanks.

    #1351142
    Jeffrey S
    Participant
    This reply has been marked as private.
    #1351277
    Jade
    Moderator

    Hi Jeff,

    You can edit the page’s permalink.

    Hope this helps.

    #1351911
    Jeffrey S
    Participant

    Hi Jade,

    Im not sure if i made my question clear.
    I need to change the url from the Entry Top Navigation (checkout screenshot in my first question).
    Now its going to http://www.jeffreyschout.nl/werk but i want it to go to Jeffreyschout.nl/portfolio.

    I hope this helps.

    Kind regards,
    Jeffrey

    #1352054
    Christian
    Moderator

    Hey Jeffrey,

    You will need to change your page slug http://www.jeffreyschout.nl/werk to http://www.jeffreyschout.nl/portfolio. Changing it in the template file would require custom development which is outside the scope of our support as that would change the function of the portfolio template.

    Thanks.

    #1352252
    Jeffrey S
    Participant

    Hi Christian

    I change the Page slug, but should that fix the problem? The button link stil goes to http://www.jeffreyschout.nl/werk

    Kind regards,
    Jeffrey

    #1352476
    Lely
    Moderator

    Hello Jeffrey,

    Please try to clear browser cache and try again. See this:http://screencast-o-matic.com/watch/cbVwDPQ942

    #1354876
    Jeffrey S
    Participant

    Hi Lely,

    Thank you for you help, I already cleared the chache. The video you showed on screencast is nog
    give the result i wanted. If I go to: http://jeffreyschout.nl/home-nl/ click on “werk” in the main Menu.
    You will see the correct page. All i need now is when you press the button (see image in attachment) this
    page is loaded: http://jeffreyschout.nl/portfolio/ and not this one: http://jeffreyschout.nl/werk/

    Sorry for the confusion…

    Kind regards,
    Jeffrey

    #1354919
    Christian
    Moderator

    I added the code below in your functions.php to modify the entry top nav link.

    // Change Entry Top Nav Link 
    
    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="/portfolio" class="entry-parent" title="<?php $title; ?>"><i class="x-icon-th" data-x-icon=""></i></a>
          <?php x_entry_navigation(); ?>
        </div>
    
      <?php
    
    }

    Please bear in mind though that all portfolio pages you will create will go to your portfolio page.

    Thanks.

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