ReD
Forum Replies Created
-
Hi Deepak,
Ok great, thank you for the latest on that. Pleased to know it is being addressed.
I’ll look out for this patch update.
Thank you
Hello,
I too am having this same issue – could the solution be shared here please?
Thanks
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Make the email field not requiredThank you, sorry I mean how do I add my custom fields and the ad description to the Ads List [adverts_list] page?
Documentation (https://wpadverts.com/documentation/custom-fields/) only mentions how to add them to the Ad Details page.
Thanks
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Make the email field not requiredHi,
Sorry please don’t worry about the above – I’ve simply hidden the dropdown using CSS and included the phone and email custom fields as described at https://wpadverts.com/documentation/custom-fields/
While it’s clear how to add custom fields etc to the Ad Details page, how do I do the same for the Ads List page? In addition I’d like to include the full description of ads on the Ads List page too
Thank you
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Make the email field not requiredThank you Greg, really appreciate the quick responses!
I can’t find the function you mention but rather there’s an “adverts_single_contact_information” function.
Therefore I’ve tried the code below in my own theme’s functions.php file where I’ve replaced the default “Email” with my custom field “Email Address” but it doesn’t seem to work:
add_action("init", "my_init", 20); function my_init() { remove_action('wp_ajax_nopriv_adverts_show_contact', 'adverts_single_contact_information'); add_action('wp_ajax_nopriv_adverts_show_contact', 'my_adverts_single_contact_information'); } function my_adverts_single_contact_information() { ?> <div class="adverts-single-actions"> <a href="#" class="adverts-button adverts-show-contact" data-id="<?php echo $post_id ?>"> <?php esc_html_e("Show Contact Information", "adverts") ?> <span class="adverts-icon-down-open"></span> </a> <span class="adverts-loader adverts-icon-spinner animate-spin"></span> </div> <div class="adverts-contact-box"> <p class="adverts-contact-method"> <span class="adverts-icon-phone adverts-contact-icon" title="<?php _e("Phone", "adverts") ?>"></span> <span class="adverts-contact-phone"></span> </p> <p class="adverts-contact-method"> <span class="adverts-icon-mail-alt adverts-contact-icon" title="<?php _e("Email Address", "adverts") ?>"></span> <span class="adverts-contact-email"></span> </p> </div> <?php }
Here is my custom field code:
add_filter( "adverts_form_load", "my_adverts_form_load" ); function my_adverts_form_load( $form ) { if( $form["name"] != "advert" ) { return $form; } $form["field"][] = array( "name" => "email_notrequired", "type" => "adverts_field_text", "order" => 10, "label" => "Email Address", "is_required" => false, ); return $form; }
Not sure if I’m going in the right direction. Any suggestions please?
Many thanks
- This reply was modified 8 years, 1 month ago by ReD.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Make the email field not requiredHello,
Sorry for delay and thank you very much for the code! I’ve applied it to my functions.php as suggested and added a custom field for email. Submitting new ads works well even though the required email field remains blank.
Just wondering now how I could display the new email custom field in the “Show contact information” dropdown?
Thanks
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Make the email field not requiredHi, thank you for the prompt responses.
Yes I was also thinking of simply assigning the admin email – how would I do this? I shouldn’t have a problem hiding it with CSS.
I suppose I could then add a new field for Email, which is not required.
Forum: Plugins
In reply to: [10Web Map Builder for Google Maps] Link to map markersHi,
I’ve sent you an email with further details via your site’s contact us form.
Thanks
RobForum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingJust to update that this issue is now resolved with the latest version of the Strong Testimonials plugin just released.
Thank you Chris Dillon for your fantastic prompt support!
Forum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingThanks Chris, I’ve submitted via the form now.
Forum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingSorry actually a custom post type. I have emailed you the details. Thank you again.
Forum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingThanks Chris, I’ve cleared the cache but it’s still showing the tooltip.
The shortcode is placed on a standard WP page. I will email you the link.
Many thanks
Forum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingThanks Chris, I’m wrapping the testimonial post content with the shortcode.
The shortcode no longer is displayed on the website but the tooltip still appears.
I’m using the latest versions of both plugins.
Thanks
Forum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingThanks for the very prompt response Chris!
Yes that’s right. However we want tooltips throughout the website, except in specific areas, which we have wrapped with the plugin’s [glossary_exclude] shortcode.
We have wrapped strong testimonial posts with this shortcode but the tooltips are still showing. Previously tooltips were not showing but the shortcode itself was being displayed.
Any help be much appreciated.
Thanks
Rob
Forum: Plugins
In reply to: [CM Tooltip Glossary] Exclude shortcode not workingAh sorry almost fixed.
The [glossary_exclude] no longer shows but their function of disabling the tooltips inside the wrapped content is not working.
We would like the tooltips to be disabled in CM Tooltip Glossary posts.
Any way of doing this, without the shortcode showing?
Thanks
Rob