fahimS-2
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Sub Categories Placement in Custom Search
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 9 months
- |
|
|
Can't Find Repeatable Group in Toolset view Content
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 9 months
- |
|
|
Checkboxes filter aren't working
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 9 months
- |
|
|
Custom Field slug already used
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 9 months
- |
|
|
View Edit
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
3 | 7 |
vor 3 years, 9 months
- |
|
|
jQuery in Toolset View
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
3 | 5 |
vor 3 years, 9 months
- |
|
|
Dependent Custom Field
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 3 |
vor 3 years, 9 months
- |
|
|
Can't Find Repeatable Group To Show
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 6 |
vor 3 years, 9 months
- |
|
|
Checkbox Values Update
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
3 | 7 |
vor 3 years, 9 months
- |
|
|
Another View already uses this name. Please use another name.
Gestartet von: fahimS-2 in: Toolset Professional Support |
1 | 2 |
vor 3 years, 9 months
- |
||
|
Bootstrap Grid Version
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 3 |
vor 3 years, 9 months
- |
|
|
Custom Post Link
Gestartet von: fahimS-2
in: Toolset Professional Support
Problem: How to remove the base slug of a custom post type? Solution: It is not recommended to do that as slugs need to be unique in WordPress. You can do it by adding the custom code below: [php]
function na_remove_slug( $post_link, $post, $leavename ) {
if ( 'events' != $post->post_type || 'publish' != $post->post_status ) {
return $post_link;
}
$post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link );
return $post_link;
}
function na_parse_request( $query ) {
if ( ! $query->is_main_query() || 2 != count( $query->query ) || ! isset( $query->query['page'] ) ) {
return;
}
if ( ! empty( $query->query['name'] ) ) {
$query->set( 'post_type', array( 'post', 'events', 'page' ) );
}
}
add_action( 'pre_get_posts', 'na_parse_request' );
[/php]
Relevant Documentation: |
|
2 | 5 |
vor 3 years, 9 months
- |
|
|
And Logic Between Checkboxes
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 10 months
- |
|
|
Search Impact
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 10 months
- |
|
|
Filter View
Gestartet von: fahimS-2 in: Toolset Professional Support |
|
2 | 5 |
vor 3 years, 10 months
- |