This support ticket is created hace 6 años, 11 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I am trying to display result of breadcrumbs php function via custom cell. This function is placed in functions.php. Everything works fine, when I use custom cell in prepared layout. I can change layout use and join it to one concrete page. But when I create a new blank page, edit it with Layouts, add my custom cell, then I have no result.
I am using wordpress functions like is_page(), is_single(), is_archive(), etc.
Is there any difference or limitation of using Layouts when I create new page versus when I join page to existing layout?
Thanks in advance.
Hello. Thank you for contacting the Toolset support.
I need more details on your issue on how you setup your page and what you've added to your functions.php file.
Could you please share problem URL where you added custom cell?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
I checked on your install and I see there is a custom shortcode added to functions.php file "bread" is this shortcode responsible for displaying the breadcrumb?
If yes - I would like to know where you added the shortcode "bread" ? to which PHP template file? Is SEO page using PHP template where you try to implement custom layout cell?
I was testing this breadcrumb via Visual editor cell and it works. Question is, why the same shortcode doesn't work in custom cell (using do_shortcode function).
Well - I checked now and I see you are echoing the custom shourtcode output. You've added custom cell correct way and its functioning on backend and you are able to add/remove custom cell when you are building layout.
Now, regarding the custom shortcode, I would love to help you further but to debug such custom programming is beyond the scope of our support policy. If you need custom programming for your project, please feel free to contact our certified partners:
=> https://toolset.com/contractors/