Hi, yes this is possible, you can pass all of this information to the email using adverts_contact_form_email filter.
Please see https://github.com/simpliko/wpadverts-snippets/blob/master/contact-form-email/contact-form-email.php for more details.
Yes, I installed that last night, made no difference
Sorry, correction, it puts the location and price at the bottom of the email, and also changes the subject to the name of the add, but does not insert the buyer name
Tried to add this
$current_user = wp_get_current_user();
and this
$mail[“message”] .= wp_get_current_user( $current_user->display_name ). “\r\n”;
throws an error “Object of class WP_User could not be converted to string”
It should be
$mail["message"] .= wp_get_current_user()->display_name. "\r\n";
Greetings
I’m facing the same
I downloaded the plugin and activated but don’t know what is the next step
but I’m getting the location and price which I already as owner know
I need to include the sender email and name in the email supposing he is not a user and just a visitor
can you help?
Hi,
to pickup the name and email from contact form and add it at the end of the message in the contact_form_email() function add
$mail["message"] .= "Name: " . $form->get_value( "message_name" ) . "\r\n";
$mail["message"] .= "Email: " . $form->get_value( "message_email" ) . "\r\n";
Thank you soo much, that works well
I have another two things
1- in mobile view, add new ad, I can’t see the browse button to upload images
2- I’m using rtl, and most of my issues is resolved searching your support, but only the form of add new ad still aligned to left, and also the category list widget
your responses are highly appreciated
1,2. can you send links to pages where you have these problems?
1. on your page i cannot see gallery button neither in desktop or mobile view, this is because for some reason you have a code for Google Ads inserted inside the gallery, i do not know where it is coming from but you should be able to hide it by adding the code below in your Additional CSS panel
.adverts-gallery .thnew-content-middle {
display: none !important;
}
2. the gallery and description fields you should be able to right align by adding the code below in Additional CSS
.adverts-form.adverts-form-aligned .adverts-control-group > div,
.adverts-field-name-post_content label,
.adverts-field-name-gallery label,
.adverts-field-name-advert_category label {
float: right !important;
}
.wpjb.adverts-widget.adverts-widget-categories .adverts-grid-row {
text-align: right;
float: right;
}
That works fine
thanks for your time and disturbing you under old topic
New requests (if any) will be as new topics