Home Forums Basel support forum Permalinks & Breadcrumbs Portfolio Post

Permalinks & Breadcrumbs Portfolio Post

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8322

    Web19
    Participant

    Hi! I’ve bought Basel themes, I need help how custom permalinks in the portfolio and a permalink to the portfolio category, and also custom breadcrumbs.

    for example : http://demo.xtemos.com/portfolio/post-name/
    i want to like : http://demo.xtemos.com/projects/post-name/

    and with some of the categories into :
    http://demo.xtemos.com/projects/mockups/post-name/
    http://demo.xtemos.com/projects/pictures/post-name/

    in breadcrumb : Home / Portfolio / Post-name
    i want to change in to : Home / Projects / Mockups / Post-name

    #8326

    Artem Temos
    Keymaster

    Hello,

    Thank you so much purchasing our theme and contacting our support center.

    1. You can change rewrite base from portfolio to project in the file wp-content/plugins/basel-post-types/basel-post-types.php. Find this code

    'rewrite' => array('slug' => 'portfolio'),

    and replace with this one

    'rewrite' => array('slug' => 'project'),

    2. As for breadcrumbs, unfortunately, our inbuilt breadcrumb function doesn’t show portfolio categories and there is no option for this. You can try to customize it in the file basel/inc/template-tags.php. Function name is basel_breadcrumbs. We suggest you to copy this function to the child theme to prevent losing changes after update.

    Kind Regards
    XTemos Studio

    #8330

    Web19
    Participant

    But when I checked in single portfolio, the URL doesn’t display the portfolio category,
    just like this URL, sample:http://demo.xtemos.com/projects/post-name/

    It’s better if the URL become http://demo.xtemos.com/projects/mockups/post-name/

    or like as URL product category in single product, sample: http://demo.xtemos.com/basel/shop/woman/jur-detail-jacket/

    #8332

    Artem Temos
    Keymaster

    Hi,

    Unfortunately, portfolio post type doesn’t support permalinks structure as WooCommerce products. There is no such option in our theme.

    Regards

    #8349

    Web19
    Participant

    Ok, thanks for information.

    #8355

    Artem Temos
    Keymaster

    You are welcome.

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Permalinks & Breadcrumbs Portfolio Post’ is closed to new replies.