Title: dev_John's Replies | WordPress.org

---

# dev_John

  [  ](https://wordpress.org/support/users/dev333/)

 *   [Profile](https://wordpress.org/support/users/dev333/)
 *   [Topics Started](https://wordpress.org/support/users/dev333/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dev333/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dev333/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dev333/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dev333/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dev333/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/dev333/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/dev333/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TinyPNG - JPEG, PNG & WebP image compression] Bulk image optimization](https://wordpress.org/support/topic/bulk-image-optimization-2/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/bulk-image-optimization-2/#post-14920753)
 * [@tinypng](https://wordpress.org/support/users/tinypng/) ,
 * Wow! That’s great, thanks for the quick response and sorry we didn’t notice it!
   🙂
 * After the start of bulk optimization, should we stay on this page until completion?
   Or can we close the tab and the browser?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Show all results if just state chosen](https://wordpress.org/support/topic/show-all-results-if-just-state-chosen/)
 *  [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/show-all-results-if-just-state-chosen/#post-13905198)
 * Hi [@tijmensmit](https://wordpress.org/support/users/tijmensmit/)
 * Thank you for taking the time to respond!
    I hope you’re feeling well!
 * Yes, of course I used .trigger(), I added some buttons using some similar code:
 *     ```
       	window.addEventListener("DOMContentLoaded", function () {
       			$(document).ready(function() {
       			       $("#CUSTOM_BTN_ID_1").click(function() {			       		
       			           $("#wpsl-search-input").val("SOME_STATE_VALUE_1");
       			           $("#wpsl-radius-dropdown").val("SOME_RADIUS_VALUE_1");
       			           $( "#wpsl-radius .wpsl-dropdown .wpsl-selected-item" ).attr( "data-value", "SOME_RADIUS_VALUE_1" );
       			           $("#wpsl-search-btn").trigger("click");
       			       });
       			});
   
       			$(document).ready(function() {
       			       $("#CUSTOM_BTN_ID_2").click(function() {			       		
       			           $("#wpsl-search-input").val("SOME_STATE_VALUE_2");
       			           $("#wpsl-radius-dropdown").val("SOME_RADIUS_VALUE_2");
       			           $( "#wpsl-radius .wpsl-dropdown .wpsl-selected-item" ).attr( "data-value", "SOME_RADIUS_VALUE_2" );
       			           $("#wpsl-search-btn").trigger("click");
       			       });
       			});
       	});
       ```
   
 * everything works as I planned, except for one problem:
    when I click on the first
   button, my script works correctly, I see what I need on the map and see the corresponding
   results in the list. But if after that I click on any other custom button, the
   results will start to get confused, for example, the marker of the previous search
   result will remain on the map, but the results in the list will be correct, or
   the previous results will remain in the list of results, and a new marker will
   appear on the map. This applies to all subsequent button clicks. BUT, if I click
   the same button twice, the results will be correct again.
 * It looks like there is no reset of some parameters after clicking on the next
   custom button.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Show all results if just state chosen](https://wordpress.org/support/topic/show-all-results-if-just-state-chosen/)
 *  [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/show-all-results-if-just-state-chosen/#post-13893138)
 * Hi [@tijmensmit](https://wordpress.org/support/users/tijmensmit/)!
 * Are you still planning to add a similar feature and release a new version of 
   plugin? That would be really very helpful!
 * Is there NOW a way to add a custom button to the template (which would work using
   AJAX/JS) and simulate the search action (as if the user entered something in 
   the search field and clicked on the “Search” button).
 * For example (briefly),
    I created and use a Custom Store Locator Template, and
   will add something like:
 * `<a href="" id="" onclick="">New York</a>`
 * When the user clicks on this button, it simulates the user’s actions, the same
   as if the user entered “New York” in the search box and pressed “Enter”.
 * Will it work?
    That would help a lot!
 * Thanks!
    -  This reply was modified 5 years, 4 months ago by [dev_John](https://wordpress.org/support/users/dev333/).
    -  This reply was modified 5 years, 4 months ago by [dev_John](https://wordpress.org/support/users/dev333/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RVM - Responsive Vector Maps] Conflict between the “RVM” and “WPBakery” plugins (page is broken)](https://wordpress.org/support/topic/conflict-between-the-rvm-and-wpbakery-plugins-page-is-broken/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/conflict-between-the-rvm-and-wpbakery-plugins-page-is-broken/#post-13570209)
 * [@enrico-urbinati](https://wordpress.org/support/users/enrico-urbinati/), OK!
 * May I know your email, please, or something else to send a link to the dropbox?
   Unfortunately, there are no direct messages here..
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RVM - Responsive Vector Maps] Conflict between the “RVM” and “WPBakery” plugins (page is broken)](https://wordpress.org/support/topic/conflict-between-the-rvm-and-wpbakery-plugins-page-is-broken/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/conflict-between-the-rvm-and-wpbakery-plugins-page-is-broken/#post-13563227)
 * [@enrico-urbinati](https://wordpress.org/support/users/enrico-urbinati/) ,
 * I installed this test map (“Map of SX-70 Land Camera for RVM”), added it via 
   the “RVM” plugin, and created a new test page with this map and several empty
   sections (“WPBakery Page Builder”).
    Unfortunately I get the same/such errors(
   and empty page)… I also checked it by disabling all plugins (except these two)
   and cleared caches…
 *     ```
       Uncaught TypeError: jQuery.fn.vectorMap is not a function
           at jquery-jvectormap-rvm-map-sx-70.js:1
       ```
   
 *     ```
       Uncaught Error: Attempt to use map which was not loaded: rvm-map-sx-70
           at new jvm.Map (jquery-jvectormap-2.0.3.min.js:2)
           at HTMLDocument.<anonymous> ((index):520)
           at i (jquery.min.js:2)
           at Object.fireWith [as resolveWith] (jquery.min.js:2)
           at Function.ready (jquery.min.js:2)
           at HTMLDocument.K (jquery.min.js:2)
       ```
   
 * SCREENSHOT:
    [https://ibb.co/CM5ZMJm](https://ibb.co/CM5ZMJm)
 * just for an experiment, I tried going back to the old versions of plugins (the
   previous version of the “RVM” plugin and the previous version of the “WPBakery
   Page Builder” plugin [6.3.0] [https://kb.wpbakery.com/docs/preface/release-notes/](https://kb.wpbakery.com/docs/preface/release-notes/)).
   
   In this case the maps work great and there are no errors
 * But I can’t stay on older versions of plugins because it’s not safe!
 * If this is useful for you, I can upload both versions of the “WPBakery Page Builder”
   plugin to the dropbox for you…
 * Thanks!
    -  This reply was modified 5 years, 6 months ago by [dev_John](https://wordpress.org/support/users/dev333/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RVM - Responsive Vector Maps] Conflict between the “RVM” and “WPBakery” plugins (page is broken)](https://wordpress.org/support/topic/conflict-between-the-rvm-and-wpbakery-plugins-page-is-broken/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/conflict-between-the-rvm-and-wpbakery-plugins-page-is-broken/#post-13562293)
 * Hi [@enrico-urbinati](https://wordpress.org/support/users/enrico-urbinati/) ,
 * Thank you for your quick response!
 * #1
    Unfortunately, installing and activating the “Enable jQuery Migrate Helper”
   plugin did not fix the errors. The map also doesn’t work and doesn’t display 
   on pages, and I see the same errors in the browser console. (after installing
   and activating the plugin, the all caches was cleared of course)
 * #2
    I couldn’t download zip archive because when I click on your link, I get 
   302 redirect to the Home page.
 * Thanks!
    -  This reply was modified 5 years, 6 months ago by [dev_John](https://wordpress.org/support/users/dev333/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Does All In One WP Security work if the .htaccess file is removed at WP Engine?](https://wordpress.org/support/topic/does-all-in-one-wp-security-work-if-the-htaccess-file-is-removed-at-wp-engine/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/does-all-in-one-wp-security-work-if-the-htaccess-file-is-removed-at-wp-engine/#post-13376197)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/) ,
 * OK! Thanks!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Does All In One WP Security work if the .htaccess file is removed at WP Engine?](https://wordpress.org/support/topic/does-all-in-one-wp-security-work-if-the-htaccess-file-is-removed-at-wp-engine/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/does-all-in-one-wp-security-work-if-the-htaccess-file-is-removed-at-wp-engine/#post-13372060)
 * Hi [@mbrsolution](https://wordpress.org/support/users/mbrsolution/) ,
 * Could you give a complete list of features that don’t need to be used in this
   case, it might help!
 * Thank you very much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Related Posts] Custom order/position for the settings section](https://wordpress.org/support/topic/custom-order-for-the-settings-section/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/custom-order-for-the-settings-section/#post-13333576)
 * [@brechtvds](https://wordpress.org/support/users/brechtvds/) Oh Yes! Right! 🙂
   
   Thank You!!
    -  This reply was modified 5 years, 8 months ago by [dev_John](https://wordpress.org/support/users/dev333/).
    -  This reply was modified 5 years, 8 months ago by [dev_John](https://wordpress.org/support/users/dev333/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Wrong category of blog posts in breadcrumbs](https://wordpress.org/support/topic/wrong-category-of-blog-posts-in-breadcrumbs/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wrong-category-of-blog-posts-in-breadcrumbs/#post-13051782)
 * Hi [@pcosta88](https://wordpress.org/support/users/pcosta88/) , [@devnihil](https://wordpress.org/support/users/devnihil/),
 * I couldn’t find any matches for “yoast_wpseo_bctitle” in the whole database.
 * I also found that all posts that have the wrong category in breadcrumbs (link
   to image instead of category) – so, in the “_posts” table, all such posts have
   a value added in the “post_parent” column. And the value is set as the ID of 
   the same image.
    If I change this value to “0”, then this post has the correct
   category in breadcrumbs. I think that’s the problem.
 * Is it safe for the site to replace these values for all problematic posts in 
   the database?
 * > “post_parent” : “_image\_ID_” to “0”
 * Can this affect anything else? As far as I know for the type of posts – “post”,
   can not be set to the post_parent value in principle.
 * Thank You!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Wrong category of blog posts in breadcrumbs](https://wordpress.org/support/topic/wrong-category-of-blog-posts-in-breadcrumbs/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wrong-category-of-blog-posts-in-breadcrumbs/#post-13050385)
 * Hi [@pcosta88](https://wordpress.org/support/users/pcosta88/),
 * I meant that this was enabled via the Yoast SEO plugin settings.
 * Of course, the code was added to the templates for the blog post page, otherwise
   it wouldn’t work
 *     ```
       <?php
       	if ( function_exists('yoast_breadcrumb') ) { ?>
       		<div class="wrap-breadcrumbs"><?php yoast_breadcrumb( '<p id="breadcrumbs">','</p>' ); ?></div>
       	<?php }
       ?>
       ```
   
 * **2. The Yoast Breadcrumbs store in the WP_postmeta database where the meta_key
   is _yoast_wpseo_bctitle. So you can see the relationship. Does that match your
   expectatons?**
 * Thanks, I’ll take a look at it now!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Wrong category of blog posts in breadcrumbs](https://wordpress.org/support/topic/wrong-category-of-blog-posts-in-breadcrumbs/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wrong-category-of-blog-posts-in-breadcrumbs/#post-13045309)
 * Hi [@devnihil](https://wordpress.org/support/users/devnihil/) ,
 * Yes, as I said, all plugins, themes, and WP core are always updated to the latest
   version. We update everything as soon as new versions become available.
 * > If you have already confirmed both Yoast SEO and WordPress are up to date and
   > the issue is still occurring, can you please try the following:
   > 1. Install & activate the Yoast Test Helper plugin
   >  2. Go to Tools -> Yoast
   > Test 3. Hit the “Reset Indexables & Migrations” button 4. Click the “Click 
   > here to speed up your site now” button
 * **No, it didn’t help. For these posts, the image title and link to the image 
   in breadcrumbs are still displayed instead of the post category.**
 * I created an STAGING copy of the site, and removed this image from the media 
   files (via the WP admin panel), **after that all the categories of posts became
   correct** (this is about those posts that instead of the category displayed this
   particular image in bread crumbs).
    **This action resulted in a category correction
   in breadcrumbs**.
 * **But I can’t do this on a live site because we need this image as an element
   with the current ID (for this reason I also can’t delete and upload it again).**
 * Can you tell me in which table in the database I can see the relationship between
   posts and the specific breadcrumbs that are assigned to them? So I can manually
   change this? Does this make sense?
 * Thank You!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Custom output/display description in the template](https://wordpress.org/support/topic/custom-output-display-description-in-the-template/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-output-display-description-in-the-template/#post-12892122)
 * [@jeroenrotty](https://wordpress.org/support/users/jeroenrotty/),
 * Wow that’s awesome! Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Related Posts] Show image as background](https://wordpress.org/support/topic/show-image-as-background/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/show-image-as-background/#post-12164600)
 * Thank You [@brechtvds](https://wordpress.org/support/users/brechtvds/),
 * I think I could use a “crp_output_list_item” hook (in my theme’s functions.php)
   to completely rewrite the “function output_relation( $relation )” function from
   the “../output.php”. Correct?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Using two plugins](https://wordpress.org/support/topic/using-two-plugins/)
 *  Thread Starter [dev_John](https://wordpress.org/support/users/dev333/)
 * (@dev333)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/using-two-plugins/#post-11813594)
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) ,
 * Thank you very much!

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/dev333/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/dev333/replies/page/2/?output_format=md)