Skip Navigation

[Resuelto] Unexpected things in latest version

This support ticket is created hace 6 años, 6 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 13 respuestas, tiene 3 mensajes.

Última actualización por Clifford hace 6 años, 6 meses.

Asistido por: Shane.

Autor
Mensajes
#905515

I'm unsure if these are new bugs in the latest versions or if I'm doing something incorrectly.

1)
- I created a new custom post type and a post is Published. However, there is no "View" link at the wp-admin list of posts: enlace oculto
- When I edit the single post, it does have a "View" link in the WP Admin Bar.

2)
- When I click to view the single post, Layouts told me there's no Layout for the 404 template, so I created one.
- Next time I tried to view the single post, it loaded my theme's 404.php template file
- So I searched, found https://toolset.com/documentation/user-guides/designing-custom-404-error-pages-with-layouts/, went into Layouts settings, and I do not see the "Options" to select 404: enlace oculto

FYI:
- I have "A blank page with a message" set for what to do if no Layout exists

#905589

I can see the View link in the Post Admin lists for all posts types I created with Toolset.
This must be an exception only happening with another Plugin, a Theme, Custom code or other.

Clicking on a "View" Link should not take you to any Layouts screens.

There seem to be some problems with this install, which are possibly related to either corrupted files or compatibility issues.

Please download fresh copies from Toolset and re-install them.
No data will be lost, but nonetheless, perform a backup.
Then, if the issue persists, check if it also persists with a WordPress Default Theme and NO Plugins BUT the Toolset Plugins?

If not, could you then re-enable the Plugins one after the other, and check the issue each time you enable a plugin?
Please report me when the issue comes back
It might also be due to the Theme.
Please do reactivate your Theme only after you are sure the issue isn't coming from a 3rd Party Plugin.

If at this point the problems are not solved I think we will need to have a copy of this site.
https://toolset.com/faq/provide-supporters-copy-site/

#905628

Switched to Twenty Seventeen theme.

Deactivated all other plugins.

Re-installed fresh downloads.

Still happening:

P.S. Is there no "Private Message" functionality here?

#905657

Ah, figured it out. My post type apparently needs publicly_queryable to be checked... I guess it's a bug that the WP Admin Bar displays a "View" link when it's not viewable.

Any explanation if I should also enable query_var? If I enable it, how is setting something custom there different from setting Use a custom URL format in the rewrite field?

And what about the ability to assign a Layout to the 404? Is the "Options" not appearing like in the help article's screenshot a bug you can confirm?

#905769

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Clifford,

Could you send me a screenshot of what you are seeing on your end regarding the 404 ?

Thanks,
Shane

#905889

From my initial message in this thread:

- So I searched, found https://toolset.com/documentation/user-guides/designing-custom-404-error-pages-with-layouts/, went into Layouts settings, and I do not see the "Options" to select 404: enlace oculto

#905897

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Clifford,

Would you mind providing me with admin access so that I can check on this issue for you ?

Thanks,
Shane

#905982

Was the Duplicator backup insufficient for your testing?
Are you unable to replicate this issue with the latest versions of Toolset plugins?

#905983

And could you please mark my previous reply with Duplicator login info Private?

#906229

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Clifford,

I was able to verify and even replicate this issue and will be escalating it to our 2nd tier supporters for further debugging.

Thanks,
Shane

#906265

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Clifford,

I was able to get this to work and this is how you do it.

First add the following to your functions.php file

function MinimaX1_is_integrated_with_layouts() {
    return true;
}
add_filter('ddl-is_integrated_theme', 'MinimaX1_is_integrated_with_layouts');

Second you need to add this to your 404 page template "<?php the_ddlayout(); ?>"

Finally resave your permalinks and it should now allow you to create your custom 404 page.

Thanks,
Shane

#906318

Thank you. So is this confirmed as a bug? If yes, no problem; it'll get fixed eventually.

If it's not considered a bug, then the UX is "a bug" because I ended up at a 404, Layouts said "hey, go make a 404 template", I did, and then it didn't render it and the "Options" wasn't there (because ddl-is_integrated_theme was false) like in the help article's screenshot.

FYI: You can use WP's built-in https://developer.wordpress.org/reference/functions/__return_true/

add_filter( 'ddl-is_integrated_theme', '__return_true' );
#906362

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Clifford,

Actually no its not a bug just that our documentation was missing this little information.

Thanks,
Shane

#906511

Gotcha. Looking forward to that getting added in the future in case I need to reference it again.
Thank you.