-
AuthorPosts
-
July 27, 2017 at 3:05 pm #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?
July 28, 2017 at 8:48 am #830946Hey 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 TorvikJuly 28, 2017 at 9:18 am #830959Hi 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.
July 30, 2017 at 11:03 pm #831917This is a kindly reminder if you happened to forget me.
July 31, 2017 at 2:02 pm #832127Hi 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,
VictoriaAugust 1, 2017 at 8:07 pm #833054Please see below.
August 7, 2017 at 7:43 am #835251Hi,
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-typeBest regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.