Vonn New
Forum Replies Created
-
AuthorPosts
-
February 10, 2020 at 5:51 am in reply to: Where do I modify the notifications in gd_notification? #529607
I also have a question about adding a second link in the text. I’d like to modify it to say:
Thank you for submitting your listing. It will be reviewed before going live, you can preview it here.
You should receive an email with a link to submit your payment. You can to go directly to invoicing. You will need your User ID.I need to add the second link and I’d like to populate it with the User ID.
February 10, 2020 at 5:33 am in reply to: Where do I modify the notifications in gd_notification? #529605Thanks for your reply.
I’m not working with a translation, per se. I mainly want to change the output on the add_listing page.I’m unclear as to the effect changing the information in one place has on the other place. I edited the class-geodir-post-data.php file and my changes are visible.
The changes I made are not visible here: geodirectory-en_US.po
I made a different change in the po file but it is not visible.Do these files affect each other?
When the geodirectoy plugin is updated, will changes in either of these files be overwritten?February 10, 2020 at 4:24 am in reply to: Where do I modify the notifications in gd_notification? #529600Still looking for what is included in [gd_notifications].
Where is that generated?February 10, 2020 at 3:51 am in reply to: Where do I modify the notifications in gd_notification? #529598For reference for others who may be looking, I found this particular string here:
/plugins/geodirectory/includes/class-geodir-post-data.php: 1592 $post->ID = $post_data['ID']; 1593 $preview_link = self::get_preview_link( $post ); 1594: $message = sprintf( __( 'Post received, your listing may need to be reviewed before going live, you can preview it %shere%s.', 'geodirectory' ), "", "" ); 1595 } 1596 }
also:
/plugins/geodirectory/languages/geodirectory-en_US.po: 9457 #, php-format 9458 msgid "" 9459: "Post received, your listing may need to be reviewed before going live, you " 9460 "can preview it %shere%s." 9461 msgstr ""
This only gives option of categories or listings. Like the OP, I’d like to give the option of searching tags. Is that possible anywhere?
@ayecode_alex
Thanks for the reply, Alex. I’m wanting to change the display of Place Categories, not the custom post type. I don’t see anyplace to change the taxonomy name as listed in the json api:gd_placecategory
name “Place Categories”
slug “gd_placecategory”
description “”My solution (for anyone else looking to do the same):
I created my own shortcode and decided to leave off the label[gd_post_meta title=” id=” key=’post_category’ show=’value’ alignment=’block’ text_alignment=’left’ list_hide=” list_hide_secondary=” css_class=’bizcats’ ]
-
AuthorPosts