Forum Replies Created
-
AuthorPosts
-
Hi Andy!
Thank you! Your topic has solved the problem only for internal pages.
To fix it in the front page I used the following code:Change in wp-includes/canonical.php lines 264-270 from this:
<?php
// Post Paging
if ( is_singular() && ! is_front_page() && get_query_var(‘page’) ) {
if ( !$redirect_url )
$redirect_url = get_permalink( get_queried_object_id() );
$redirect_url = trailingslashit( $redirect_url ) . user_trailingslashit( get_query_var( ‘page’ ), ‘single_paged’ );
$redirect[‘query’] = remove_query_arg( ‘page’, $redirect[‘query’] );
}to that:
<?php
// Post Paging
if ( is_singular() && get_query_var(‘page’) && ( !is_front_page() || ( isset($wp_query->queried_object) && ‘page’ == get_option(‘show_on_front’) && $wp_query->queried_object->ID == get_option(‘page_on_front’) ) ) ) {
if ( !$redirect_url )
$redirect_url = get_permalink( get_queried_object_id() );
$page = get_query_var( ‘page’ );
if ( is_front_page() ) {
$redirect_url = trailingslashit( $redirect_url ) . user_trailingslashit( “$wp_rewrite->pagination_base/$page”, ‘paged’ );
} else {
$redirect_url = trailingslashit( $redirect_url ) . user_trailingslashit( $page, ‘single_paged’ );
}
$redirect[‘query’] = remove_query_arg( ‘page’, $redirect[‘query’] );
}Have I nice day!
DariaHi Andy,
I allow you to deactivate all plugins for testing by yourself.
I already made a backup!
many thanks
DariaHi Rikard,
no I would like the images were rectangular 200x133px, right now they are square.
Also if you look at the picture linked the images are cut it. They are imported with the size 180×180 (the cars are cut it).
I would like them to be inserted at the size 200x133px or at real size.
Many thanks
DariaHi Elliot
I changed my .htaccess file as your link but nothing changed!
Thanks
Daria -
AuthorPosts