denniskoster
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [Yoast SEO] Canonical url templatesSolved this problem with the ‘wpseo_canonical’. Marking as resolved. Code:
// CANONICAL URLS FOR ARCHIVES function wpseo_set_archive_canonical( $canonical ) { // Don't change the canonical url for these post types / taxonomies $exclude_posttypes = array('link','inkoopsoftware','videos'); $exclude_taxonomies = array('functiesoort','branche','organisatiecategorie'); // Check whether the canonical URL should be changed if ( is_archive() && !in_array(get_post_type(),$exclude_posttypes) && !in_array(get_queried_object()->taxonomy,$exclude_taxonomies) && !is_search()) { // Get the permalink of the first post global $post; $attachment = get_post( $post->ID ); $parent_post_id = $attachment->post_parent; $canonical = get_permalink( $parent_post_id ); } return $canonical; } add_filter( 'wpseo_canonical', 'wpseo_set_archive_canonical' );
Forum: Plugins
In reply to: [Simple Local Avatars] avatars lost when moving siteSame problem here. They do show as missing images here as it’s trying to load them from the development domain instead of the production domain. Please fix!
Forum: Plugins
In reply to: [WordPress Social Login] Twitter keeps generating new users@emielm I do not use that plugin. However, I do use Custom Advanced Fields to add a field to the user profile. Perhaps the problem is with saving meta data for users.
Forum: Plugins
In reply to: [WordPress Social Login] Twitter keeps generating new usersI’m affraid I did not yet find a solution to this problem. Was hoping to have gotten a response for the creator but no luck so far.
Forum: Plugins
In reply to: [Yoast SEO] Recent Update puts Home Page shortcode into head tagsI figured as much. Thanks Joost!
Forum: Plugins
In reply to: [Yoast SEO] Recent Update puts Home Page shortcode into head tagsI’m having the same issue. How did you revert back?
Viewing 6 replies - 1 through 6 (of 6 total)