|
Como usar las wpv_filter_query un ejemplo explicado parte 2
Iniciado por: rafaelL-2
en: Soporte profesional de Toolset
|
|
2 |
14 |
hace 4 años, 2 meses
Nigel
|
|
types_render_field renderiza mal los select
Iniciado por: rafaelL-2
en: Soporte profesional de Toolset
|
|
2 |
5 |
hace 4 años, 2 meses
rafaelL-2
|
|
COMO LIMITAR EL NUMERO DE ANUNCIO
Iniciado por: vincenzoD-2
en: Soporte profesional de Toolset
|
|
2 |
21 |
hace 4 años, 2 meses
vincenzoD-2
|
|
Next – Previous en un tipo de contenido
Iniciado por: miquelF-2
en: Soporte profesional de Toolset
|
|
2 |
2 |
hace 4 años, 3 meses
Luo Yang
|
|
link to whatsapp app with custom field
Iniciado por: avansisI-2
en: Soporte profesional de Toolset
|
|
2 |
3 |
hace 4 años, 3 meses
avansisI-2
|
|
Create different relationshop with same custom type
Iniciado por: avansisI-2
en: Soporte profesional de Toolset
|
|
2 |
2 |
hace 4 años, 3 meses
Shane
|
|
CC on messages sended with Messages Module
Iniciado por: avansisI-2
en: Soporte profesional de Toolset
Quick solution available
Problem:
I need to send a copy of the messages sent with Messages Module, copied to a specific user.
Solution:
There are two post forms within Messages Module:
- New message
- Reply message
you can find and edit them here:
Dashboard-> Toolset-> Post Forms
Then follow our document to add the messages notification recipients:
Relevant Documentation:
https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/
|
|
2 |
7 |
hace 4 años, 3 meses
avansisI-2
|
|
Como mostrar resultados de un campo repetible
Iniciado por: marF
en: Soporte profesional de Toolset
|
|
3 |
7 |
hace 4 años, 3 meses
marF
|
|
Show all posts on personal area from a specific category selected by user on CTF
Iniciado por: avansisI-2
en: Soporte profesional de Toolset
Quick solution available
Problem:
The user would like to display posts from the categories where the user has already posts assigned to it.
Solution:
This will need custom code. This will need to use the wpv_filter_query filter to modify the view's query taxonomy parameters.
Check this sample code:
add_filter( 'wpv_filter_query', 'posts_from_user_taxonomy_terms',99,3 );
function posts_from_user_taxonomy_terms( $query_args,$views_settings, $view_id) {
if ($view_id == 833){ // replace this with the view's ID
$user_posts = get_posts( array(
'author' => get_current_user_id(),
'fields' => 'ids',
'post_type' => array('evento', 'empresa'),
'posts_per_page' => -1
) );
$terms = get_terms(
array(
'taxonomy' => 'category',
'object_ids' => $user_posts,
)
);
$terms_ids = array();
foreach($terms as $term) {
$terms_ids[] = $term->term_id;
}
$query_args['tax_query'] = array(
array(
'taxonomy' => 'category',
'terms' => $terms_ids,
),
);
}
return $query_args;
}
Relevant Documentation:
|
|
2 |
13 |
hace 4 años, 3 meses
avansisI-2
|
|
PROBLEMA CON "EDITAR ENLACE DE ENTRADA"
Iniciado por: vincenzoD-2
en: Soporte profesional de Toolset
|
|
2 |
7 |
hace 4 años, 3 meses
vincenzoD-2
|
|
Repeting field no se muestra en el view loop del Search View block
Iniciado por: marF
en: Soporte profesional de Toolset
Quick solution available
Problem:
Search "Title, body and custom fields" in View Block.
Solution:
With view block, for the step "Integration with custom searches", you can try these:
1) In section "View Search", add a search field "Text search (title and content)",
2) find and select above search field "Text search (title and content)", in the sidebar, enable option "Title, body and custom fields"
Relevant Documentation:
https://toolset.com/documentation/user-guides/views/searching-texts-custom-fields-views-relevanssi/
|
|
2 |
3 |
hace 4 años, 3 meses
marF
|
|
Opciones avanzadas para buscador
Iniciado por: marF
en: Soporte profesional de Toolset
|
|
2 |
5 |
hace 4 años, 3 meses
marF
|
|
rellenar un select generico con las opciones de un type definido
Iniciado por: rafaelL-2
en: Soporte profesional de Toolset
|
|
2 |
6 |
hace 4 años, 3 meses
rafaelL-2
|
|
COMO MODIFICAR GRAFICAMENTE LOS FORMULARIO Y RELACIONAR TAXONOMIA
Iniciado por: vincenzoD-2
en: Soporte profesional de Toolset
|
|
2 |
5 |
hace 4 años, 3 meses
vincenzoD-2
|
|
Some custom types in archive list dissapear after updade the content
Iniciado por: miquelF-2
en: Soporte profesional de Toolset
|
|
3 |
6 |
hace 4 años, 3 meses
miquelF-2
|