About Labels
-
Hello,
1- When you create a category and open this category, is it a post or a page?
2- I need to edit the page for my categories. For instance, I created a school category, but when I open this category, I saw the page for this category.
– How can edit this page?
– From where?
– I mean any category page.3- Can you tell me how can I change the label “Listing” and put something else? Where can I do that? Like add a listing page or submit a listing page, etc.
-
Hi,
1 it is an archive (not a post nor a page)
2 It is not possible to have a different archive page for each category, you’ll need a custom post type for that https://wpgeodirectory.com/downloads/custom-post-types/. All categories of a custom post type, will share the same category page. (GD Archive template is the default page)
3 You can change the title of the Add Listing page to whatever you wish.
Let me know how it goes.
Thanks,
Thank you for your clarification.
1- In this shortcode, you can see this test as a title for this add listing page. “Enter Listing Details” Hoca I edit this listing and put something else? Like “Enter school Details”.
[gd_notifications]
[gd_add_listing show_login=1]2- Can I edit this GD Archive template as the default page? I mean using something like Elementor. When you click on any list and you can see the tabs, but it looks like text without CSS. Can make it better as a look? Click on any listing and see the tabs for those listing, can I change the appearance?
3- If I customize these labels and etc, what happen when there is an update for your plugin? Will I lose my work or not? If yes, how can I keep it safe without any issues?
Best regards.
Hi again,
1) default text strings are edited following translation procedure. https://docs.wpgeodirectory.com/article/97-how-to-translate-or-localize-geodirectory Following that docs steps will make your changes update safe.
2) You’ll need Elementor PRO and yes you can customize as much as you want it.
3) If you follow the doc instruction carefully, nothing will happen after updates.
Thanks,
Thanks.
1- You identify as add your listing. I need to use something else, like add your school or add your store instead of listing. How can I edit this? I appreciate your explanation about the translation.
2- How can I customize it using PRO Elementor? I already have that, but all I have is your shortcode, I don’t know how can do that? I hope you can explain it more.
Best regards.
Any update?
Hi,
1) default text strings are edited following translation procedure. https://docs.wpgeodirectory.com/article/97-how-to-translate-or-localize-geodirectory Following that docs steps will make your changes update safe.
2) Please see: https://www.youtube.com/watch?v=fEdOOucOtUg
If you have ANY other question, please create a support ticket on our website and our support team will be happy to assist.
Thanks,
Hi @fahad2013
1. If you are only using one post type, then the best option is the translation file as Paolo mentioned above. If you are using multiple CPTs (like events) you can use the below code snippet to change the title. You can use the “code snippets” plugin to quickly add this.
add_filter('geodir_add_listing_details_header','_my_add_listing_form_title',10,4); function _my_add_listing_form_title( $title, $listing_type, $post, $package ){ $title = "Add your ".esc_attr(geodir_post_type_singular_name($listing_type)); return $title; }2. Please see this blog post https://wpgeodirectory.com/customize-the-design-of-geodirectory-templates-with-elementor-pro/
If I can help further please let me know.
Thanks,
Stiofan
-
This reply was modified 5 years ago by
Stiofan. Reason: clarification
Can I use this code in the functions.php in my child theme or in the customize?
I mean I need to use it without any plugin. Can I add it to my server in any way? How?
Yes, you can add this to your child theme functions.php file, that will work.
Stiofan
I really appreciate your great help here.
π
Hello,
I am sorry, but on the “add listing page” in the front-end, the map cannot load. When I went to any listing, I can see the map easily, and it works. Can you advise me here more?
Best regards
Hello,
this can be caused by a couple of different things.
The best way to sort out the issue is to inspect the page and look at the console messages where your maps API reports what if any errors are preventing the page from loading.
To inspect the page on Windows, you right click and select ‘inspect’ then in the window that pops up look for the word ‘console’ and click on that to see if there are any errors.
Let us know what you find!
Uncaught SyntaxError: Invalid or unexpected token
goMap.min.js?ver=2.1.0.15:1 Google Maps API Loaded π
goMap.min.js?ver=2.1.0.15:1 auto
goMap.min.js?ver=2.1.0.15:1 googleI believe it is something here.
## This is a file name.
?listing_type=gd_place -
This reply was modified 5 years ago by
The topic ‘About Labels’ is closed to new replies.