romanB-3
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
How to
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 6 | hace 5 años | |
Displaying non-Types term fields on the term archive page with Blocks
Iniciado por: romanB-3
en: Toolset Professional Support
Problem: I would like to display some non-Types termmeta fields in my Blocks term archive page. Solution: This would require a custom shortcode solution: function archive_term_meta_func($atts) { $a = shortcode_atts( array( 'slug' => '' ), $atts ); $term_id = isset(get_queried_object()->term_id) ? get_queried_object()->term_id : null; if( $term_id && $a['slug'] ) { return get_term_meta( $term_id, $a['slug'], true); } return; } add_shortcode("archive-term-meta", "archive_term_meta_func"); Then use it like this in an archive: [archive-term-meta slug="some-slug"] |
|
2 | 10 | hace 5 años | |
Display defaut post’s post type slug in URL
Iniciado por: romanB-3
en: Toolset Professional Support
Problem: I would like to change my site's default post permalink structure to be mysite.tld/%post_type%/%post_name%/ Solution: You can use the permalink structure settings in wp-admin > Settings > Permalinks to add some custom rewrite slug. Then in each custom post type's rewrite rules you can disable the "append to front" setting as needed. |
|
2 | 5 | hace 5 años | |
Hide empty filters
Iniciado por: romanB-3
en: Toolset Professional Support
Problem: Solution:
Notice: Relevant Documentation: |
|
2 | 5 | hace 5 años | |
Convert content to shortcode
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 3 | hace 5 años | |
Conditional display if view results >0
Iniciado por: romanB-3
en: Toolset Professional Support
Problem: Build a conditional display based on wether if the view has results or not. Solution: When you edit a post view, you can display the post found count with shortcode [wpv-found-count] In section "Loop Editor", there are two sets of shortcodes: You can use them to display different results "based on wether if the view has results or not". Relevant Documentation: https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-items-found https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-no-items-found |
|
2 | 4 | hace 5 años | |
Limit filters based on a post terms
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 6 | hace 5 años | |
Wrap repeater fields into custom tags
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 3 | hace 5 años | |
Filter term view based on several conditions for same meta-field
Iniciado por: romanB-3 en: Toolset Professional Support |
1 | 2 | hace 5 años | ||
How to deactivate description defaut field in custom taxononmy ?
Iniciado por: romanB-3
en: Toolset Professional Support
Problem: Solution: |
|
2 | 3 | hace 5 años | |
Every time I save custom fields I got a fatal error
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 8 | hace 5 años | |
Wrap post body in tags
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 3 | hace 5 años | |
Import urls in a repeatable field with Toolset beta addon
Iniciado por: romanB-3 en: Toolset Professional Support |
|
1 | 2 | hace 5 años | |
Display list of posts based on a term's field
Iniciado por: romanB-3 en: Toolset Professional Support |
1 | 2 | hace 5 años | ||
Add a custom filter that will impact other filters in an archive view
Iniciado por: romanB-3 en: Toolset Professional Support |
|
2 | 3 | hace 5 años |