Mahfuzul Alam
Forum Replies Created
-
Hello
Thank you for contacting us.
You can use the following shortcode to display the specific category on the homepage >[directorist_all_categories slug=”food”]
Please use the category slug to specify the category you want to show on the page.
Category is related to the directory type. You can create a category and assign it to multiple directories. https://prnt.sc/CjIK13oBghdT
Please let me know if you need more information.Kind Regards
Hello
Thank you for reaching out.
Please go to Admin menu > Directory listings > Settings > Page Setup then create and assign all the pages using the respective shortcodes.
Screenshot by Lightshot (prnt.sc)I believe it will solve the URL issue for the location and category taxonomy. If it does not help you please contact our support channel. We will investigate further and try to help you with this issue.
Kind Regards
Thank you for contacting us.
Yes, you can do it by limiting the pricing plan for certain categories.
Please edit the pricing plan and use the following option > https://prnt.sc/U4MjJ9OCQ7rX
I believe this will help you to solve the issue.
Please let me know if you need further assistance.
Kind Regards
Hi @mbedev
Thank you for contacting us. We appreciate your interest.
We are currently in the process of developing the “Email confirmation upon registration” feature, and we are pleased to inform you that most of the work has already been completed. You can check the progress and detail on our GitHub pull request at the following link: GitHub Pull Request
We anticipate that, after thorough testing and final adjustments, we will be able to release this feature by the end of July 2023.
If you have any additional questions or require further information, please feel free to let us know. We are here to assist you.
Kind Regards
Hi
Thank you for reaching out.
There are multiple approaches to accomplish this. You can override the template and customize it using custom code. You can find more information about template overriding here – Template Override (directorist.com)I can show you another easy way as well. Please use any code snippet plugin and use the following code on your website. This will help you to achieve what you are looking for. You can also use any child theme and use the code in the ‘functions.php’ file.
add_action('wp_footer', function () { ?> <script type="text/javascript"> jQuery(document).ready(function($) { console.log('website'); $('.directorist-single-info-web .directorist-single-info__value a').text('Join').addClass('directorist-btn'); }); </script> <?php });Please inform us if you need further assistance.
Kind Regards
Hi
Thank you for waiting. You can override the templates to achieve this. Please go through this documentation and learn more about template overriding –
Template Override (directorist.com)
You need to override the following template to show the description on a taxonomy archive page –
/directorist/templates/archive/grid-view.php
Please use the following code to override this template using a child theme –<?php /** * @author wpWax * @since 6.6 * @version 7.3.0 */ use \Directorist\Helper; if (!defined('ABSPATH')) exit; ?> <div class="directorist-archive-items directorist-archive-grid-view"> <?php do_action('directorist_before_grid_listings_loop'); ?> <div class="<?php Helper::directorist_container_fluid(); ?>"> <?php if ($listings->have_posts()) : ?> <div class="<?php echo $listings->has_masonry() ? 'directorist-masonry' : ''; ?> <?php Helper::directorist_row(); ?>"> <?php foreach ($listings->post_ids() as $listing_id) : ?> <div class="<?php Helper::directorist_column($listings->columns); ?> directorist-all-listing-col"><!-- directorist-all-listing-col --> <?php $listings->loop_template('grid', $listing_id); ?> </div> <?php endforeach; ?> </div> <?php do_action('directorist_before_listings_pagination'); ?> <?php if ($listings->show_pagination) { $listings->pagination(); } ?> <?php do_action('directorist_after_grid_listings_loop'); ?> <?php else : ?> <div class="directorist-archive-notfound"><?php esc_html_e('No listings found.', 'directorist'); ?></div> <?php endif; ?> </div> <?php $description = ''; $atbdp_location = get_query_var('atbdp_location'); $atbdp_category = get_query_var('atbdp_category'); if ($atbdp_location) { $location = get_term_by('slug', $atbdp_location, ATBDP_LOCATION); if ($location) $description = $location->description; } if ($atbdp_category) { $category = get_term_by('slug', $atbdp_category, ATBDP_CATEGORY); if ($category) $description = $category->description; } ?> <p><?php echo $description; ?></p> </div>I believe this will work fine on your website and shows the description below the taxonomy archive page as you want it.
Please inform us if you need further assistance with this.Kind Regards
Hello
Please use the following codes to enable the ‘Field Key’ on the directory builder page –
add_filter('directorist_custom_field_meta_key_field_args', function ($args) {
$args['type'] = 'text';
return $args;
});Then add the custom url field with a dedicated key like this –
https://prnt.sc/lUs7KRD1FoRwThen use a child theme to override the following template –
Template location: /directorist/templates/archive/fields/listing_title.php
Code:
<?php /** * @author wpWax * @since 6.6 * @version 7.0.4 */ if (!defined('ABSPATH')) exit; $custom_listing_link = get_post_meta(get_the_ID(), '_custom_listing_link', true); ?> <h4 class="directorist-listing-title"> <?php if ($custom_listing_link) : echo '<a href="' . $custom_listing_link . '">' . get_the_title() . '</a>'; else : echo wp_kses_post($listings->loop_get_title()); endif; ?> </h4> <?php if (!empty($data['show_tagline']) && !empty($listings->loop_get_tagline())) { ?> <p class="directorist-listing-tagline"><?php echo wp_kses_post($listings->loop_get_tagline()); ?></p> <?php } ?>This should work fine.
Please let me know if you need further assistance.Kind Regards
Hi
Thank you for reaching out.
There is a way to show the category/location description and picture on the frontend. Would you please show us where you want to show these fields? You can also share the URL of the page.
We will try to provide a solution.Regards
Thank you for reaching out. This will require applying some custom code to solve this issue. Please use a child theme or a code snippet plugin to implement this code on your website. If you use a child theme, please add the following code at the end of the function.php file you will find inside the child theme –
add_filter('term_link', function ($url, $term, $taxonomy) { // Categories if (ATBDP_CATEGORY === $taxonomy) { $url = ATBDP_Permalink::atbdp_get_category_page($term); } // Location if (ATBDP_LOCATION === $taxonomy) { $url = ATBDP_Permalink::atbdp_get_location_page($term); } // Tag if (ATBDP_TAGS === $taxonomy) { $url = ATBDP_Permalink::atbdp_get_tag_page($term); } return $url; }, 20, 3); add_filter('atbdp_single_category', function ($link) { // Parse the URL $parsedUrl = parse_url($link); // Reconstruct the modified URL without parameters $modifiedLink = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . $parsedUrl['path']; return $modifiedLink; }); add_filter('atbdp_single_location', function ($link) { // Parse the URL $parsedUrl = parse_url($link); // Reconstruct the modified URL without parameters $modifiedLink = $parsedUrl['scheme'] . '://' . $parsedUrl['host'] . $parsedUrl['path']; return $modifiedLink; });I believe this will help you to achieve what you are looking for. Please let me know if you need further assistance.
Kind Regards
Hi @lennydelmar
Thank you for the query. You can achieve this by overriding templates. Please follow the link, you will learn about template overriding –
https://directorist.com/documentation/directorist/developers-guide/template-override/
Then you can try overriding the following template from this path –
directorist/templates/archive/grid-view.php
I believe the above instructions will help you achieve what you seek.Please inform me if you need further assistance.
Kind Regards
Hi @svenn36
We do not think that this is a reason behind this. If you are still facing this issue, please contact our support channel so we can dig deeper.
Thank you for your patience and cooperation.Kind Regards
Hi @daniellecole13
Thank you for your concern. We have already solved those issues and submitted the updated version to ww.wp.xz.cn.Here you can see the updates from Wordfence, both are fixed in 7.5.5 –
It will take some time for ww.wp.xz.cn to review and publish this version on ww.wp.xz.cn. In the meantime, we have provided an alternative solution for you. You can download the latest stable version of the plugin from the following link: https://downloads.wp.xz.cn/plugin/directorist.7.5.5.zip.
This version also contains the latest security fixes.Here’s how you can manually update the plugin:
- Download the plugin from the link > https://downloads.wp.xz.cn/plugin/directorist.7.5.5.zip.
- Navigate to the “Plugins→Add New” section of your admin dashboard.
- Locate the downloaded Directorist plugin and click on “Install Now”.
- Wait for the update to complete, and you should see the new version, 7.5.5, installed.
This version should provide you with the necessary functionality until the regular plugin is fully restored.
You can also download it from your account dashboard – https://prnt.sc/dYJwC_NWsiVv
We have also sent an email notification to all of our users. If you haven’t received it yet, please check your spam folder.We have already posted a comprehensive blog on our website addressing this matter, providing all the relevant information.
Important Security Update: Directorist Plugin Temporary Closure and Fix – BlogOnce again, we sincerely apologize for any inconvenience caused by this situation. We value your business and are committed to providing you with the best possible experience. If you have any further questions or concerns, please don’t hesitate to contact our support team, and we will be glad to assist you.
Thank you for your understanding and support.
Kind Regards
Hi
It appears that you have already received a refund as our plugin did not meet your requirements. Typically, in such cases, customers opt for a refund and we strive to process it promptly. However, after the refund, you requested additional modifications/custom coding to align the plugin with your specific needs.
Usually, we do not even offer free custom development services to our paid users, as we have a separate paid service for that purpose. Nonetheless, we decided to assist you with this request, even though it involves critical and time-consuming work. We are currently in the process of developing the necessary code, and we will notify you as soon as it is completed.
We appreciate your understanding regarding the circumstances. Thank you for your patience and cooperation.
Regards
Hi
Thank you for the query.
Yes, it is possible to add or remove options from the social items. But, it will require some custom development and template overriding.Here, you will find documentation on template overriding – https://directorist.com/documentation/directorist/developers-guide/template-override/
You need to override the file in the path – “/directorist/templates/listing-form/social-item.php”
Here is an example of code to add and remove an option. You can override with this code –<?php /** * @author wpWax * @since 6.6 * @version 7.3.1 */ if (!defined('ABSPATH')) exit; $social_items = ATBDP()->helper->social_links(); //Add an option $social_items['discord'] = 'Discord'; //Remove an option unset($social_items['flickr']); $id = (array_key_exists('id', $args)) ? $args['id'] : $index; ?> <div class="directorist-form-social-fields" id="socialID-<?php echo esc_attr($id); ?>"> <div class="directorist-form-group"> <select name="social[<?php echo esc_attr($id); ?>][id]" class="directorist-form-element"> <?php foreach ($social_items as $nameID => $socialName) { ?> <option value="<?php echo esc_attr($nameID); ?>" <?php selected($nameID, $social_info['id']); ?>><?php echo esc_html($socialName); ?></option> <?php } ?> </select> </div> <div class="directorist-form-group"> <input type="url" name="social[<?php echo esc_attr($id); ?>][url]" class="directorist-form-element directory_field atbdp_social_input" value="<?php echo esc_url($social_info['url']); ?>" placeholder="<?php esc_attr_e('eg. http://example.com', 'directorist'); ?>" required> </div> <div class="directorist-form-group directorist-form-social-fields__action"> <span data-id="<?php echo esc_attr($id); ?>" class="directorist-form-social-fields__remove dashicons dashicons-trash" title="<?php esc_html_e('Remove this item', 'directorist'); ?>"></span> </div> </div>I hope this solution will help you. Please inform us if you need further assistance.
RegardsHi
Thank you for reaching out.
You can use the “Directorist – Tags” widgets from the Appearance > Widget. Please select the “Display single listing tags” in the widget to show just listings from the tags.
https://prnt.sc/bJHvAv-2Ywwz
Please inform us if you need more information.
Kind Regards