Hello
I have created a child page using the tag div composer. I added the breadcrumbs element, but it only shows home>child page (it doesn’t show the parent page).
Note: I am using a plugin which customises the permalinks as I don’t want the parent page to be shown in the url. Before using the tag div composer to create the design of the page, the breadcrumbs showed correctly home>parentpage>child page even though I changed the permalink structure to remove parent page from the url.
Hi Vlad
Thanks for the quick reply.
There are no conflicts as far as I can tell. It was working fine when creating a page using the WordPress page builder, but when I created a page using the TagDiv builder (adding an element for breadcrumbs) the parent page doesn’t show
Hello !
Our developers had a look and they suggest you to remove the breadcrumb using tagDiv Composer and select this page type: https://prnt.sc/u2qudo
Let us know the result.
Thank you !
Ok thanks Vlad.
Here is the link: https://justforcats.co.uk/test-food-review/
I have left the breadcrumbs element there for now to show you what it looks like. Would be good if the breadcrumbs element could show the parent page as I like the position it is in
Hi drh10,
If the page has set the parent page -> https://i.imgur.com/pSH4hI9.png this should display the breadcrumbs like this -> https://i.imgur.com/1Bf6kdp.png but when you are using tagDiv Composer you need to set this page template -> https://i.imgur.com/SinKKwd.png and the parent will be display.
Hope this will help you!
Hi Calin
The problem is that I have a custom title area – so it doesn’t look very good when I select the page template (pagebuilder + page title).
Please see my link: https://justforcats.co.uk/test-food-review/
As you can see, the breadcrumbs from the page builder element is in the right position, but doesn’t show the parent page.
However, the parent pages does show in the breadcrumbs in the title area – but this is not what I would like as I have used a page title element to show page title (to make it look better).
Is there a way to make the parent page show in the breadcrumbs element in the page builder?
Thanks
Hi,
There are only two solutions, you can use a custom css to hide the page title and let only the breadcrumbs or you can change the code from theme in wp-content/plugins/td-cloud-library/shortcodes/common/tdb_breadcrumbs.php add this code
$buffy .= td_page_generator::get_page_breadcrumbs(get_the_title()); and comment this one -> https://i.imgur.com/d0JXjS3.png in this way when you’ll add the breadcrumbs element it will look like this -> https://i.imgur.com/IwF83Rs.png -> https://i.imgur.com/oFneUqp.png
Hope this will help you!
Hi Calin
Is there anyway you could look into changing this in a future update?
Surely the breadcrumbs element should show the parent page anyway, without having to edit the theme code.
I can’t even work out how to edit the theme code anyway, to see if your second solution would work
The second option you provided doesn’t really achieve
Hi,
Please try like this:
Go in Plugins > plugin editor -> https://i.imgur.com/JMZumUj.png select the tagDiv Cloud Library and go in shortcodes > common and click on tdb_breadcrumbs.php -> https://i.imgur.com/iwhVarl.png after that go on line 200 and set “/*” (this element will comment the code lines) and on line 217 close the comment using “*/” -> https://i.imgur.com/39F5jcu.png after that save the settings and check the breadcrumbs you have set using tagDiv Composer on pages.
Hope this will help you!
Thank you!
That is a shame. It would be great if you could try again and request the breadcrumbs element to be improved so that it showed the parent page.
The alternative solutions are not really good enough seeing as they won’t remain permanent (i.e. will have to change the code after every update).
So until then I will have to do without breadcrumbs altogether.
Please try and request it in a future update!