Brigitte
Forum Replies Created
-
AuthorPosts
-
Hello Patrik,
That’s works fine thank you!
I use a plugin for the php functions, so I saw your modification and I will use the function that you put in the WordPress admin.Thanks again for this fix 😉
The problem is not resolved. I simply renamed the wrong CPT, but it is always the wrong CPT that appears. Strange isn’t it?
Yes it’s normal I said that I have fixed the problem temporarily (renamed gd_place CTP + display: none for the title) 😉
Actually, I reset as original to see the problem live, can you go to the link again please?
Regards.
Hello Alex, I tried to be as specific as possible… so no alternative editor, only the 2 WordPress editors (classic and Gutenberg HTML block).
I just tried again the exact same problem as already mentioned here:
With classic WP editor: when registering the shortcode above, AUTOMATICALLY WordPress replaces the single quote from the shortcode URL with a double quote and when registering the post, the badge does not appear.
With Gutenberg WP editor (Custom HTML block): when saving the shortcode above, WordPress respects the simple quote of shortcode URL and saves the post well, and the badge appears. BUT if we re-edit the post, it once again replaces the double quote instead of the single quote. And so the badge no longer appears as soon as we save again the post.
This reply has been marked as private.This reply has been marked as private.Ok I understood, this is a bug:
Example of the shortcode:
[gd_post_badge key="claimed" condition="is_not_empty" alignment="left" badge="<img src='https://accentsduterroir.fr/medias/badges/mini/revendication.svg' />" bg_color="transparent" css_class="claim-badge"]
With classic WP editor: when registering the shortcode above, AUTOMATICALLY WordPress replaces the single quote from the shortcode URL with a double quote and when registering the post, the badge does not appear.
With Gutenberg WP editor (Custom HTML block): when saving the shortcode above, WordPress respects the simple quote of shortcode URL and saves the post well, and the badge appears. BUT if we re-edit the post, it once again replaces the double quote instead of the single quote. And so the badge no longer appears as soon as we save again the post.
Hello Guust,
The problem is not resolved. I simply renamed the wrong CPT, but it is always the wrong CPT that appears. Strange isn’t it?
Alex you are right!!
It’s very strange because the classic editor code modify the simple quote to double quote… I need absolutely works with Gutenberg but I don’t like it…
Thank you very much.
This reply has been marked as private.April 24, 2020 at 2:53 pm in reply to: How have full control of caching page of Add Listing page #542320Are you sure there is no “anti-cache” procedure for the Add Listing page? Because I deactivated DONOTCACHEPAGE from “core-functions.php“, and that doesn’t change anything, the Add Listing page is definitely not in caching on the site (the only page not cached!)
//geodir_maybe_define( 'DONOTCACHEPAGE', true );
Even stranger, I even disabled the full “geodir_nocache_headers” function from “class-geodir-template-loader.php“:
} elseif(geodir_is_page( 'add-listing' )){ // the add listing page should never be cached //geodir_nocache_headers();
I promise you that this is the last question on this subject because I am aware that you are not dealing with specific user customizations. I would just like to know if there are not other functions which prevent the caching of the Add Listing page.
This is to be sure that I must do research outside of GeoDirectory.
Thanks.April 23, 2020 at 10:47 pm in reply to: How have full control of caching page of Add Listing page #542216Thank you for this information Kiran.
If I deactivate the caching of the Add Listing page with my cache plugin (WP-Rocket), can I then comment on this line, or will it generate a bug?
geodir_maybe_define( 'DONOTCACHEPAGE', true );
Thanks.
April 23, 2020 at 10:33 am in reply to: How have full control of caching page of Add Listing page #542069Thanks for your reply Kiran. Have you read my message? Because I am aware that this is a dynamic page. Besides, I don’t want to cache this page, but only minify the HTML code for more security & confidentiality. Thank you in advance for your help.
Thank you Guust, because it’s weird that display the name of another CPT! Maybe a bug?
This reply has been marked as private.April 17, 2020 at 12:36 pm in reply to: Want use GD Lightbox for single detail place content images #540864I am not sure if a video is necessary.
Indeed it is simple, if you go to this link:
The photo gallery appears twice on the page:
1) One time on the top of the page, the carousel.
2) One time on the bottom of the right sidebar.If I click on a photo from carousel, that open the photo with the lightbox, but only the first 20 photo appears when I slide.
If I click a photo from the sidebar, all photos appears when I slide.
-
AuthorPosts