Breadcrumbs modification. - by Dobranoc - on WordPress WooCommerce support

This topic has 15 replies, 3 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp

  • Avatar: Dobranoc
    Dobranoc
    Participant
    June 13, 2016 at 00:27

    Hello,

    1. I have changed in the portfolio.php
    'name' => _x('Projects', 'post type general name', ETHEME_DOMAIN),
    to
    'name' => _x('Portfolio', 'post type general name', ETHEME_DOMAIN),

    When I’m on one of the projects of the portfolio, and when I want to come back by clicking the Portfolio breadcrumb it is taking me back to the same page that I’m currently at, instead of bringing me back to the main portfolio page. Where can I change this?

    Also, where can I change:

    2. Portfolio breadcrumbs

    The address is e.g. mypage.com/projects_cat/category1
    the breadcrumbs showing currently:

    I would like to change that from:

    Project to Portfolio in the breadcrumbs, also add category like this -> Home/Portfolio/Category1

    3. Blog breadcrumbs

    Currently:
    Home/Category/blog_post

    I would like to change that to:
    Home/Blog/Category/blog_post

    4. Blog breadcrumb category archives
    Currently:

    I would like to change that to:
    Home/Blog/Archive by category “Uncategorised”

    My Custom Structure is ‘/%category%/%postname%/’, because if I change it to ‘blog/%category%/%postname%/’ then in the address on one of the projects of the portfolio will display ‘blog’ but I don’t want it to be like this.

    Please advice,
    Thank you

    14 Answers
    Avatar: Dobranoc
    Dobranoc
    Participant
    June 13, 2016 at 00:31

    Hello,

    1. I have changed in the portfolio.php
    'name' => _x('Projects', 'post type general name', ETHEME_DOMAIN),
    to
    'name' => _x('Portfolio', 'post type general name', ETHEME_DOMAIN),

    When I’m on one of the projects of the portfolio, and when I want to come back by clicking the Portfolio breadcrumb it is taking me back to the same page that I’m currently at, instead of bringing me back to the main portfolio page. Where can I change this?

    Also, where can I change:

    2. Portfolio breadcrumbs

    The address is e.g. mypage.com/projects_cat/category1
    the breadcrumbs showing currently:

    I would like to change that from:

    Project to Portfolio in the breadcrumbs, also add category like this -> Home/Portfolio/Category1

    3. Blog breadcrumbs

    Currently:
    Home/Category/blog_post

    I would like to change that to:
    Home/Blog/Category/blog_post

    4. Blog breadcrumb category archives
    Currently:

    I would like to change that to:
    Home/Blog/Archive by category “Uncategorised”

    My Custom Structure is ‘/%category%/%postname%/’, because if I change it to ‘blog/%category%/%postname%/’ then in the address on one of the projects of the portfolio will display ‘blog’ but I don’t want it to be like this.

    Please advice,
    Thank you

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 13, 2016 at 08:12

    Hello,

    Please provide us with FTP and WP Dashboard credentials in private Content.

    Best regards,
    Jack Richardson.

    Avatar: Dobranoc
    Dobranoc
    Participant
    June 13, 2016 at 22:47

    Hello,

    Here you go
    Please let me know what changes you make, thank you.

    Regards

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    June 14, 2016 at 13:08

    Hello,

    1. The reason is you created Portfolio page and displayed projects via Ess. Grid shortcode. But there is no default Portfolio page. You need select “Portfolio” template http://storage7.static.itmages.com/i/16/0614/h_1465905425_4129843_1c88024df1.jpeg for your projects page or create projects via Ess. Grid Posts http://storage2.static.itmages.com/i/16/0614/h_1465905492_6276034_6add57a632.jpeg and select them for Post Types http://storage3.static.itmages.com/i/16/0614/h_1465905540_9394355_c8bbb8937b.jpeg.

    2. To change Project to Portfolio you need edit the file wp-content/themes/royal/framework/portfolio.php in line 14. Unfortunately category Home/Portfolio/Category1 can’t be added.

    3./4. It can’t be done. This requires additional customization in the theme files. If you wish you can order customization service https://www.8theme.com/customization-services/ .

    Regards,
    Eva Kemp.

    Avatar: Dobranoc
    Dobranoc
    Participant
    June 14, 2016 at 22:27

    Hello

    1. If I choose this template “Portfolio” on the portfolio page the breadcrumbs will work, however it doesn’t display my grid on the page, I have added my shortcode on the portfolio page, the settings on the essential grid is the same like on the screenshot. http://prntscr.com/bgfgt4

    2. Changing project to the portfolio worked, thank you.

    3. I will consider ordering the customization service. Thank you.

    4. Also on some pages the breadcrumbs are underneath the actual title, and on some the breadcrumbs are above the title, is there a way to change that to the same position?
    http://prntscr.com/bgfigm
    http://prntscr.com/bgfieu

    Avatar: Eva
    Eva Kemp
    Support staff
    June 15, 2016 at 09:52

    Hello,

    1. In this case try to name your page differently (not “Portfolio” and change “portfolio” slug).

    4. You need edit the file wp-content/themes/royal/framework/theme-functions.php in line 779 and switch the strings <h1 class="title"><span><?php echo et_get_the_title(); ?></span></h1> and <?php etheme_breadcrumbs(); ?>

    Regards,
    Eva Kemp.

    Avatar: Dobranoc
    Dobranoc
    Participant
    June 15, 2016 at 19:28

    Hello,

    1. It does not change anything, still the same problem.

    2. Where can I delete this? http://prntscr.com/bgsexc

    4. Thank you

    Regards

    Avatar: Eva
    Eva Kemp
    Support staff
    June 16, 2016 at 08:21

    Hello,

    1. Please try to create projects via Ess. Grid Posts http://storage2.static.itmages.com/i/16/0614/h_1465905492_6276034_6add57a632.jpeg and select them for Post Types http://storage3.static.itmages.com/i/16/0614/h_1465905540_9394355_c8bbb8937b.jpeg.
    Don’t use Project post type.

    2. Please use this code:

    .header-type-7 .header .tbs span {
        display: none;
    }

    Regards,
    Eva Kemp.

    Avatar: Dobranoc
    Dobranoc
    Participant
    June 16, 2016 at 10:53

    Hello,

    1. I tried the second method that you have mentioned but it still doesn’t work, I think there is a problem with template portfolio.php
    Like I have mentioned before, if I don’t use the template portfolio.php then the grid works but the breadcrumbs doesn’t, if I do use it then the breadcrumbs work but the grid doesn’t.

    2. It works Thank you.

    Regards

    Avatar: Eva
    Eva Kemp
    Support staff
    June 16, 2016 at 13:14

    Hello,

    I have changed slug for “Portfolio gallery” page.
    Clear browser cache and check your site now.

    Regards,
    Eva Kemp.

    Avatar: Dobranoc
    Dobranoc
    Participant
    June 16, 2016 at 13:59

    Hello,

    It works, thank you, but where can I change the breadcrumbs?

    From -> Home / Ess. Grid Posts / Portfolio project title
    To -> Home / Portfolio / Portfolio project title

    Avatar: Eva
    Eva Kemp
    Support staff
    June 16, 2016 at 14:18

    Hello,

    You may try to edit the file wp-content/plugins/essential-grid/public/essential_grid.class.php in line 651, but as this is plugin configuration we recommend to keep its settings.

    Regards,
    Eva Kemp.

    Avatar: Dobranoc
    Dobranoc
    Participant
    June 16, 2016 at 14:30

    Thank you so much for you support, Eva.

    Kind Regards

    Avatar: Eva
    Eva Kemp
    Support staff
    June 16, 2016 at 14:44

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 15 results - 1 through 15 (of 15 total)

The issue related to '‘Breadcrumbs modification.’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.