cnk001
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Table of Contents] Unwanted text auto add bottom at each post for TOCI have the same issue:
https://prnt.sc/xkjhw8Forum: Plugins
In reply to: [Easy Table of Contents] Issue with Table of contentsI have problem with anchors which names have special chars like “/” or “.” etc.
Ok, yes, I have more than 4000 images, most of them in FullHD or better resolution.
I will try to regenerate images by regenerate-thumbnails plugin.Forum: Plugins
In reply to: [Polylang] get_adjacent_post not workingCould you tell me if it was fixed in current version of Polylang Pro?
Ok, thanks I tried again and it’s works now, I don’t know why it didn’t work earlier.
My sitemap:
sitemap.xml
sitemap-home.xml
sitemap-posttype-page.xml
sitemap-taxonomy-review-category.xmlhow to fix Super Cache so it does not break my sitemap?
I know about this, but this theme has a custom search page
Ok, I disabled iThemes Security, but still have problem with titles..
Here is an English example: https://demo.djmimi.net/themes/reviews/search-page/?review-category=car-players
Title:Car Players – Search Page – Reviews
If All in One is enabled, there is only:
Search Page – Reviews
without phrase ‘Car Players’ ??In functions.php I found this code:
if( !function_exists('reviews_wp_title') ){ function reviews_wp_title( $title, $sep ) { global $paged, $page, $reviews_slugs; if ( is_feed() ){ return $title; } if( !empty( $_GET[$reviews_slugs['keyword']] ) ){ $title = $_GET[$reviews_slugs['keyword']]." $sep ".$title; } if( !empty( $_GET[$reviews_slugs['review-category']] ) ){ $term = get_term_by( 'slug', $_GET[$reviews_slugs['review-category']], 'review-category' ); $title = $term->name." $sep ".$title; } if( !empty( $_GET[$reviews_slugs['review-tag']] ) ){ $term = get_term_by( 'slug', $_GET[$reviews_slugs['review-tag']], 'review-tag' ); $title = $term->name." $sep ".$title; } return $title; } add_filter( 'wp_title', 'reviews_wp_title', 10, 2 ); } if( !function_exists('reviews_wp_title_new') ){ function reviews_wp_title_new( $title ) { global $reviews_slugs; if( !empty( $_GET[$reviews_slugs['keyword']] ) ){ $title['title'] = $_GET[$reviews_slugs['keyword']]." - ".$title['title']; } if( !empty( $_GET[$reviews_slugs['review-category']] ) ){ $term = get_term_by( 'slug', $_GET[$reviews_slugs['review-category']], 'review-category' ); $title['title'] = $term->name." - ".$title['title']; } if( !empty( $_GET[$reviews_slugs['review-tag']] ) ){ $term = get_term_by( 'slug', $_GET[$reviews_slugs['review-tag']], 'review-tag' ); $title['title'] = $term->name." - ".$title['title']; } return $title; } add_filter( 'document_title_parts', 'reviews_wp_title_new', 10, 1 ); } if( !function_exists('reviews_wp_seo_title') ){ function reviews_wp_seo_title( $title ) { global $reviews_slugs; if( !empty( $_GET[$reviews_slugs['keyword']] ) ){ $title = $_GET[$reviews_slugs['keyword']]." - ".$title; } if( !empty( $_GET[$reviews_slugs['review-category']] ) ){ $term = get_term_by( 'slug', $_GET[$reviews_slugs['review-category']], 'review-category' ); $title = $term->name." - ".$title; } if( !empty( $_GET[$reviews_slugs['review-tag']] ) ){ $term = get_term_by( 'slug', $_GET[$reviews_slugs['review-tag']], 'review-tag' ); $title = $term->name." - ".$title; } return $title; } add_filter( 'wpseo_title', 'reviews_wp_seo_title' ); }
I noticed that the titles are set in “document_title_parts” filter
Forum: Plugins
In reply to: [Yoast SEO] How to disable overwriting titles?Forum: Plugins
In reply to: [WP Super Cache] Exclude specific pages for WP super cacheHello, do you resolved your problem?
I’m using All In One SEO Pack, and I have sitemap files like this:
sitemap.xml
sitemap_addl.xml.gz
sitemap_post.xml.gz
sitemap_category.xml.gzetc.
With WP Super Cache I had problem with header in my sitemap, so I can’t sue WP Super Cache ??
I fixed error with Protocol-Relative.
I edited /wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php and add preg_replace in three places:
$images['image:image'] = array( 'image:loc' => preg_replace('|//|', 'https://', $image), );
$images[] = array( 'image:loc' => preg_replace('|//|', 'https://', $this->clean_url( $attributes[0] )), );
$images[] = array( 'image:loc' => preg_replace('|//|', 'https://', $this->clean_url( $image )), );
Forum: Plugins
In reply to: [Yoast SEO] Page number on custom pages/taxonomiesOk, so I disabled Yoast, then install All in One, and.. All in One works great with my theme: https://imgur.com/a/vjCCR (https://themeforest.net/item/reviews-products-and-services-review-wp-theme/13004739)
I will have to get used to this plugin, personally I prefer Yoast and I use it on all my sites.