Dmytro Romanenko
Forum Replies Created
-
Small clarification. This happens when I go to the page
/wp-admin/options-permalink.phpForum: Plugins
In reply to: [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] Add new filterThanks a lot!
Forum: Plugins
In reply to: [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] Add new filterAlso please add filter for:
File:
includes/modules/sitemap/class-sitemap.phpFunction:
public static function get_last_modified_gmt( $post_types, $return_all = false ){}Code:
$post_statuses = apply_filters('rank_math/sitemap/post_statuses', array('publish','inherit'), $post_types); $sql = " SELECT post_type, MAX(post_modified_gmt) AS date FROM $wpdb->posts WHERE post_status IN ('" . implode( "','", $post_statuses ) . "') AND post_type IN ('" . implode( "','", $post_type_names ) . "') GROUP BY post_type ORDER BY post_modified_gmt DESC";Thanks.
Forum: Plugins
In reply to: [mqTranslate] There are double language prefixes in url like "/en/en/"Such a problem was that the rules relating to the previous developer, it turned out that was once the filter add_filter (‘home_url’, ‘qtrans_convertURL’); which adds the director of the language, the filter was placed in the functions.php. I advise to look like filters, if more than one, so it will be re-appropriated by a local link.
Forum: Plugins
In reply to: [mqTranslate] Dublicate slugSuch a problem was that the rules relating to the previous developer, it turned out that was once the filter add_filter (‘home_url’, ‘qtrans_convertURL’); which adds the director of the language, the filter was placed in the functions.php. I advise to look like filters, if more than one, so it will be re-appropriated by a local link.