Blog

GeoDirectory AJAX Troubleshooting

User Geodirectory advance search Ajax not working even on Assistant If the advanced search using AJAX in the GeoDirectory plugin isn't working on your WordPress site, here are several steps to troubleshoot and resolve the issue: ### 1. **Check Browser Console for Errors** Open your browser's developer tools (usually by pressing `F12` or `Ctrl+Shift+I`) and […]

Dompdf watermark issue

User WooCommerce PDF invoice plugin Dompdf from where watermark text showing in invoice Assistant The watermark text on a WooCommerce PDF invoice using **Dompdf** could be coming from several sources within the PDF generation settings. Here's how you can troubleshoot and modify the watermark text: ### 1. **Check the Plugin Settings** If you are using […]

GeoDirectory Filter Issues

User Geo directory Advanced search filters not working Assistant If your **GeoDirectory** advanced search filters are not working, there could be several reasons why the filters are not functioning as expected. Here are some steps and potential solutions to troubleshoot and resolve the issue: ### 1. **Check for JavaScript Errors** – Open your browser's **Developer […]

Update Correction

User Sir We are creating update and I'll send soon Correct above sentence Assistant The corrected sentence would be: "Sir, we are creating the update and I will send it soon."

Foreach loop conversion

User Assistant To convert the `while` loop to a `foreach` loop in your WordPress template, you can loop over the `$wp_query->posts` array, which contains all the posts. Here’s how you can modify your code: <section id="blog-content-section" class="blog-search-section"> <div class="row blog-section-container"> <div class="blog-section"> <?php global $wp_query; echo $wp_query->request; ?> <?php if ( have_posts() ) : ?> […]

Search query post limit

User Assistant If your WordPress search query is returning results (as indicated by `$wp_query->request`) but only displaying four rows, the issue might be related to one of the following factors: ### 1. **WordPress Query Parameters (`posts_per_page`)**: By default, WordPress limits the number of posts displayed per page, often to 10. If you're only seeing four […]

Include gd_place in search

User include gd_place post type wordpress search Assistant To include a custom post type like `gd_place` in the WordPress search results, you need to modify the search query using the `pre_get_posts` action. By default, WordPress search only includes posts of the `post` post type. The following code will allow you to include your custom post […]

GeoDirectory Search Customization

User change search template geodirectlory Assistant To customize or change the search template in **GeoDirectory** for your WordPress site, you can achieve this through several methods depending on your needs. Here’s how you can go about it: ### Method 1: Overriding the Template via Your Child Theme GeoDirectory uses templates that you can override in […]

GeoDirectory AJAX Issue Fix

User Geo Directory advance search addon not working ajax Assistant If the GeoDirectory Advanced Search add-on's AJAX functionality is not working, there could be several reasons behind this issue. Here's a step-by-step guide to troubleshoot and fix it: ### 1. **Check for JavaScript Errors** – Open your browser's Developer Tools (usually by pressing `F12` or […]

GD search not working

User [gd_search] for advance geo directory not working Assistant If the `[gd_search]` shortcode for the **GeoDirectory** plugin is not working as expected, there are several potential reasons why this might be happening. Let's go through some troubleshooting steps to identify and resolve the issue: ### 1. **Check Shortcode Syntax** Make sure you are using the […]