michaeldw
Forum Replies Created
-
Forum: Plugins
In reply to: [Load More Anything] Great plugin but not working anymore for meThanks, that’s appreciated 🙂
Forum: Plugins
In reply to: [Load More Anything] Great plugin but not working anymore for meHello,
I’m still looking at it…for some reason, working on Chrome but not on Firefox.. still testing the same page https://www.discoverwalks.com/tour/city/barcelona-walking-tours/
I tested on Chromium Android as well and not seeing anything.
Also, when I’m logged in on WordPress it works…Many thanks,
MichaelForum: Plugins
In reply to: [Load More Anything] Great plugin but not working anymore for methanks!
Forum: Plugins
In reply to: [Load More Anything] Great plugin but not working anymore for meHello!
Yes the page where it’s activated https://www.discoverwalks.com/tour/city/barcelona-walking-tours/ still shows no items – everything is hiddenThanks a lot
- This reply was modified 3 years, 9 months ago by michaeldw.
Forum: Plugins
In reply to: [WPS Hide Login] Cache la Admin Tool barHello Maxime,
merci pour la réponse. J’avais oublié le classique désinstaller/Supprimer puis réinstaller. Le plugin marche et la barre d’outil est là .Merci!
MichaelForum: Plugins
In reply to: [WPS Hide Login] Cache la Admin Tool barBonjour Maxime,
merci pour votre réponse.Oui bizarre. Et c’est vraiment WPS qui déclenche ce disfonctionnement car quand je le désactive, mais barre d’admin revient immédiatement.
Au niveau des plugins un peu liés je vois d’actifs:
– SSL Insecure Content Fixer
– Autoptimize
– Asset CleanUp: Page Speed Booster
– Health Check & Troubleshooting
– jQuery Manager for WordPress
– WP Rocket
– User Role Editorpour le reste ce sont des plug-ins un peu lambda type Custom Post Types, Yoast SEO, Gravity Forms etc.
Bizarre, mais merci pour la réponse, et bon week-end!
- This reply was modified 4 years, 2 months ago by michaeldw.
Forum: Plugins
In reply to: [Easy Affiliate Links] Remove pages from GoogleSorry for not answering on time, but thanks!
Michael
Forum: Plugins
In reply to: [Easy Affiliate Links] Remove pages from GoogleHello Brecht!
I’m using Yoast SEOthanks for your help!
Michael
Thank you very much Gijo, you are very helpful
I will use of your plugins for sure!Michael
oh maybe I get it, it seems to load the page when the target pages are on-screen, the link on mouseover maybe?
It’s not preloading everything at the same time, I could see it in inspect>networks as I scroll down the page more pages are preloading
Am I going the right way?
Michael
Hello Gijo,
Thanks.
Yes I could see prefetch cache on the first line on some pages, but not all the time, which is strange. It seems to be working alternatively.For example, I just saw “Other 9.3 kB 15 m” when I went on this page https://www.discoverwalks.com/tour/city/san-francisco-walking-tours/ from another page.
Anyways, thanks a lot for the quick answer and your work!
Wow thanks a lot, it looks like it’s working well for me now!
Thanks for the update!
Michael
Forum: Plugins
In reply to: [Ultimate Maps by Supsystic] AMP compatibility?Yes I could see that… AMP is really bad indeed..
Thank you for your quick answer!
Michael
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP not working on Custom Post typeHello @ahmedkaludi,
Few pages of the post type “article” that don’t show amp when adding /amp/ at the end:
https://www.discoverwalks.com/blog/london/top-6-london-markets/
https://www.discoverwalks.com/blog/barcelona/20-bucket-list-experiences-in-barcelona/
https://www.discoverwalks.com/blog/london/a-taste-of-india-in-london/but as you mentionned, if you put ?amp it’s appearing
however not working with /amp/… (which works for other post types on my blog)Thanks
MichaelForum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP not working on Custom Post typeHello Ahmed,
I tried to deactivate all of them and didn’t work, sadly :(.
There is just one plug-in I can’t remove and it’s named WPML Multilingual CMS. When I remove it, the website is unaccesible (because it’s linked to an internal file I guess), so I have to leave it.
However, WPML doesn’t seem to be the issue here because I have some translated posts using WPML that are working on AMP (example:
https://www.discoverwalks.com/blog/es/que-llevar-en-paris-una-guia-para-todas-las-estaciones/amp/)
The issue seem to be coming for the Custom Post type…here is my code for the creation of this Custom Post Type + Taxonomy linked:
register_post_type( 'article', array( 'labels' => array( 'name' => 'Articles', 'singular_name' => 'Article', 'all_items' => 'All article', 'add_new' => 'Add article', 'add_new_item' => 'Add article', 'edit' => 'Edit article', 'edit_item' => 'Edit article', 'new_item' => 'New article', 'view_item' => 'View article', 'search_items' => 'Search article', 'not_found' => 'Nothing found in the Database.', 'not_found_in_trash' => 'Nothing found in Trash', 'parent_item_colon' => '' ), 'description' => 'This is the example custom post type', 'public' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'show_ui' => true, 'query_var' => true, 'menu_position' => 10, 'menu_icon' => 'dashicons-welcome-write-blog', 'rewrite' => array( 'slug' => 'adresses', 'with_front' => true ), 'has_archive' => 'articles', 'capability_type' => 'post', 'hierarchical' => false, 'taxonomies' => array( 'category' ), 'supports' => array( 'title', 'editor', 'author', 'thumbnail' )));and
function resource_type() { $labels = array( 'name' => _x( 'city', 'Taxonomy General Name', 'snt' ), 'singular_name' => _x( 'city', 'Taxonomy Singular Name', 'snt' ), 'menu_name' => __( 'Add city', 'snt' ), 'all_items' => __( 'All city', 'snt' ), 'parent_item' => __( 'Parent city', 'snt' ), 'parent_item_colon' => __( 'Parent city:', 'snt' ), 'new_item_name' => __( 'New city', 'snt' ), 'add_new_item' => __( 'Add New city', 'snt' ), 'edit_item' => __( 'Edit city', 'snt' ), 'update_item' => __( 'Update city', 'snt' ), 'view_item' => __( 'View city', 'snt' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'snt' ), 'add_or_remove_items' => __( 'Add or remove city', 'snt' ), 'choose_from_most_used' => __( 'Choose from the most used', 'snt' ), 'popular_items' => __( 'Popular city', 'snt' ), 'search_items' => __( 'Search city', 'snt' ), 'not_found' => __( 'Not Found', 'snt' ), 'no_terms' => __( 'No article', 'snt' ), 'items_list' => __( 'Items list', 'snt' ), 'items_list_navigation' => __( 'Items list navigation', 'snt' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, 'rewrite' => array('slug' => 'city') ); register_taxonomy( 'city', array( 'article' ), $args );} add_action( 'init', 'resource_type', 0 );edit: added some code that is included in another file (could be useful info)
<?php function resources_cpt_generating_rule($wp_rewrite) { $rules = array(); $terms = get_terms( array( 'taxonomy' => 'city', 'hide_empty' => false, ) ); $post_type = 'article'; foreach ($terms as $term) { $rules[ $term->slug . '/([^/]*)$'] = 'index.php?post_type=' . $post_type. '&resources_post_type=$matches[1]&name=$matches[1]'; } $wp_rewrite->rules = $rules + $wp_rewrite->rules; } add_filter('generate_rewrite_rules', 'resources_cpt_generating_rule'); function change_link( $permalink, $post ) { if( $post->post_type == 'article' ) { $resource_terms = get_the_terms( $post, 'city' ); $term_slug = ''; if( ! empty( $resource_terms ) ) { foreach ( $resource_terms as $term ) { if( $term->slug == 'featured' ) { continue; } $term_slug = $term->slug; break; } } if(ICL_LANGUAGE_CODE=="en"){ $permalink = get_home_url() . '/' . $term_slug . '/' . $post->post_name . '/' ; }else{ $permalink = get_home_url() . $term_slug . '/' . $post->post_name . '/' ; } } return $permalink; } add_filter('post_type_link',"change_link",10,2); ?>Thanks for your help,
Michael
- This reply was modified 6 years, 9 months ago by michaeldw.