Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #830680

    Dear Kreisi,
    Thanks for a great WP template. We’ve been using Enfold for a while now, but just now started to use the portfolio feature.

    When creating a new portfolio item we can chose a page for breadcrumb hierarchy. But this is not corresponding in the URL. Because of that, we figured out that a portfolio item must be a post type post and not a page.

    How can we have the URL structure follow the page hierarchy for portfolio item as they do for the breadcrumb today – and as the URL structure does do for a page? Could the type be change from post to page? Or could it be fixed in some other way?

    #830946

    Hey enhanza,

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Best regards,
    John Torvik

    #830959

    Hi John,
    This is our website: https://www.enhanza.com/

    This is a portfolio item example: https://www.enhanza.com/blog/portfolio-item/program-test/
    As you can see, the breadcrumb shows the correct hierarchy, but the URL shows the blog permalink.

    • This reply was modified 7 years, 4 months ago by enhanza.
    #831917

    This is a kindly reminder if you happened to forget me.

    #832127

    Hi enhanza,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? What is the base url in your permalink settings?

    Best regards,
    Victoria

    #833054

    Please see below.

    #835251

    Hi,

    The login credentials are not working. Did you include the “blog” in the permalink field? Please add this code in the functions.php file to adjust the rewrite rule of the portfolio post.

    /* Change portfolio post type settings */
    add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod');
    function avf_portfolio_cpt_args_mod($args) {
    	$args['rewrite']['with_front'] = false;
    	return $args;
    }
    

    Related thread:
    // https://kriesi.at/support/topic/change-with_fronttrue-from-portfolio-entries-custom-post-type

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.