למשתמש זה אין נושאים מועדפים.
נושאי פורום מועדפים
נושאי פורום שנוצרו
| סטטוס |
נושא
|
תומך | קולות | פוסטים | עדכניות |
|---|---|---|---|---|---|
|
How to translate custom link menu text
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
Remove automatically added parameters to pagination URLs (custom permalinks)
נפתח על ידי: bhavani-shankarS-2 ב: English Support |
|
3 | 12 | לפני שנה 1, חודש 4 | |
|
trashed urls it should be setup redirects
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
how to removed __trashed on internal pages dynamically
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
how to removed __trashed on internal pages dynamically
נפתח על ידי: bhavani-shankarS-2 ב: English Support |
2 | 2 | לפני שנה 1, חודש 4 | ||
|
_trashed added in internal pages
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
How to Remove automatically added parameters to pagination URLs (custom permalinks) we are getting l…
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
[Assigned] slug in the URL called ***_trashed
נפתח על ידי: bhavani-shankarS-2
ב: English Support
Problem: functions.php file and remove or comment out the specific code that might be causing this issue. Here is the code you should look for:
function aryaka_archive( $query ) {
if (!is_admin()) {
$query->set( 'post_status', array( 'publish') );
}
if ( !is_single() ) {
if (! is_admin() && $query->get( 'post_type' ) == 'press_release' && get_query_var('year') == 0 ){
$query->set('date_query', array( array( 'after' => 'January 1st, 2017', 'inclusive' => true,)) );
$query->set( 'post_status', array( 'publish') );
}
}
if (! is_admin() && $query->get( 'post_type' ) == 'news_article' && get_query_var('year') == 0 ){
$query->set('date_query', array( array( 'after' => 'January 1st, 2017', 'inclusive' => true,)) );
}
return $query;
};
add_filter('pre_get_posts', 'aryaka_archive');
If this does not resolve the issue, try switching to a default WordPress theme to see if the problem persists. Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum. |
|
2 | 10 | לפני שנה 1, חודש 4 | |
|
url also translating which i don't want
נפתח על ידי: bhavani-shankarS-2 ב: English Support |
|
2 | 10 | לפני שנה 1, חודש 4 | |
|
slug in the URL called ***_trashed
נפתח על ידי: bhavani-shankarS-2 ב: English Support |
|
2 | 2 | לפני שנה 1, חודש 4 | |
|
slug in the URL called ***_trashed
נפתח על ידי: bhavani-shankarS-2 ב: English Support |
|
2 | 16 | לפני שנה 1, חודש 4 | |
|
url also translating which i don't want
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
URLs with the addition
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
URLs with the addition
נפתח על ידי: bhavani-shankarS-2 ב: Chat Support |
|
1 | 2 |
לפני שנה 1, חודש 4
|
|
|
WPML Cache
נפתח על ידי: bhavani-shankarS-2 ב: English Support |
|
3 | 7 | לפני שנה 1, חודש 5 |