Title: discsox's Replies | WordPress.org

---

# discsox

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Search results customization](https://wordpress.org/support/topic/search-results-customization/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/search-results-customization/#post-15429710)
 * Just rated the plugin 🙂
    Cheers, Marcel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Search results customization](https://wordpress.org/support/topic/search-results-customization/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/search-results-customization/#post-15429575)
 * Hi Tobias,
    Thank you VERY much for your reply!
 * I was able to get this to work in the following way.
    - add a helper class to the content I want to show when a search has been performed
    - `<span class="helperTxt">content to be shown after search has been performed
      </span>`
    -  In the tablepress-datatables-inverted-filter.php I removed the filtering 
      and just toggled the helper class instead of the find (original code is commented
      out)
    -     ```
          	$commands = <<<JS
          //$.fn.dataTableExt.afnFiltering.push(
          //    function( settings, data, dataIndex ) {
          //		return '' !== settings.oPreviousSearch.sSearch;
      
          //    }
          //);
          {$commands}
          $( '.dataTables_filter' ).find( 'input' ).on( 'keyup', function() {
          	$( '.helperTxt' ).toggle( '' !== $( this ).val() );
          //	$( '.dataTables_wrapper' ).find( '.tablepress' ).toggle( '' !== $( this ).val() );
          } ).keyup();
          JS;
          ```
      
    - Hope this helps someone else and thanks again!
    - Marcello
 *  -  This reply was modified 4 years, 2 months ago by [discsox](https://wordpress.org/support/users/discsox/).
    -  This reply was modified 4 years, 2 months ago by [discsox](https://wordpress.org/support/users/discsox/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AudioIgniter Music Player] Custom Shop Icon](https://wordpress.org/support/topic/custom-shop-icon/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-shop-icon/#post-15045525)
 * Here’s an update:
 * Not very elegant but it works.
    Adding time for the audio tracks to load…
 *     ```
       jQuery(window).on('load', function () {
        setTimeout(function() { 
         jQuery('a[title="Buy this track"]').attr("title", "Song Info");
           }, 1000);
       });
       ```
   
 * Any better ideas?
 * Thanks again!
 * Marcello
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AudioIgniter Music Player] Custom Shop Icon](https://wordpress.org/support/topic/custom-shop-icon/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-shop-icon/#post-15045446)
 * Hi,
    I apologize for the delay in getting back. You would expect that the window
   load event would fire after the tracks have been loaded but unfortunately that
   is not the case. Below is the simple code I used to replace the title:
 *     ```
       jQuery(window).on('load', function () {
         jQuery('a[title="Buy this track"]').attr("title", "Song Info");
       });
       ```
   
 * However, when I set a breakpoint at the code above, then the html structure of
   the audioigniter player has been loaded but no content. That means no track images,
   no tracks (the track list <ul class=”ai-tracklist” aria-expanded=”true”> is empty).
   
   Of course running the above code on content that is not there yet does not work…
   Once I get past the breakpoint in the on-load function then the tracks are populated.
   But I have not found a way to run any code after the audio tracks have been loaded
   and thus I was not able to replace the title (see test page with an info icon
   on the 4th song [test page](https://silentime.com/nothing-is-more-than-less/).
   I added a custom “title” but was not able to replace the current title which 
   is controlled by the browser.
 * In case you have any ideas how to run code AFTER the tracks have been loaded 
   or have the ability to hook into the actual code that would be greatly appreciated(
   API?).
 * I also believe that the ability to link to a custom page from each track in the
   player would be very helpful in many applications. A lot of artists, I believe
   would like to have info about each song (not just the lyrics). Some or your competitors
   definitely have that capability.
 * Thanks again for your support,
 * Marcello
 * P.S. I rated your plugin 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AudioIgniter Music Player] Custom Shop Icon](https://wordpress.org/support/topic/custom-shop-icon/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-shop-icon/#post-15041468)
 * Thank you very much for the hint. I was using jQuery Document Ready but that 
   did not work.
    I will report back if I have a working solution.
 * Thanks again,
    Marcello
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AudioIgniter Music Player] Custom Shop Icon](https://wordpress.org/support/topic/custom-shop-icon/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-shop-icon/#post-15034830)
 * Ok, I underestimated the title attribute. Because it is controlled by the browser,
   it cannot be overwritten by CSS. I can create a fake “title” attribute that shows
   up on hover but I was not able to find a way to prevent any browser from displaying
   the actual attribute that is in the code.
    JavaScript to remove the title attribute
   for some reason did not work either because the player gets loaded after everything
   else.
 * So unless this is added to the actual code (enter the tooltip text in the plugin
   config) I have not found a way around the title attribute.
 * Maybe you have some suggestions…
 * Thanks again and kind regards,
 * Marcello
    -  This reply was modified 4 years, 6 months ago by [discsox](https://wordpress.org/support/users/discsox/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AudioIgniter Music Player] Custom Shop Icon](https://wordpress.org/support/topic/custom-shop-icon/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-shop-icon/#post-15033604)
 * Hi,
    Thank you very much for the quick reply. This works great to replace the
   svg. I was trying to replace the actual svg code which would require JavaScript
   and is more complex than just using CSS. Once I do a similar thing for the title
   attribute, then I truly created a custom button because you can use the “Buy 
   link” to go to any url in the plugin configuration. Once I have the code, I will
   share here because it may help someone else in the future.
 * Thanks again and kind regards,
 * Marcello
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery Custom Links] Not working with Virtue Masonry Gallery](https://wordpress.org/support/topic/not-working-with-virtue-masonry-gallery/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/not-working-with-virtue-masonry-gallery/#post-11102447)
 * I contacted you via [meowapps.com/contact](https://meowapps.com/contact)
    thank
   you again for your support kind regards,
 * Marcel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery Custom Links] Not working with Virtue Masonry Gallery](https://wordpress.org/support/topic/not-working-with-virtue-masonry-gallery/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/not-working-with-virtue-masonry-gallery/#post-11093579)
 * Hi Jordy,
 * I changed the plugin code, disabled the “WP Gallery Custom Links” plugin, enabled
   your plugin, cleared all the cache in WP, browser etc.
    Unfortunately the links
   still go to the images. I also looked at your code and it should work but i have
   limited debug capabilities.
 * Please let me know in case you have any other ideas.
 * thank you and kind regards,
 * Marcel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery Custom Links] Not working with Virtue Masonry Gallery](https://wordpress.org/support/topic/not-working-with-virtue-masonry-gallery/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/not-working-with-virtue-masonry-gallery/#post-11089847)
 * Hi Jordy,
    Thank you VERY much for your reply. I will test this in the next 24h
   and let you know that results.
 * Thanks again for looking into this.
 * Kind regards,
    Marcel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Annual Archive] Post Title in archive list](https://wordpress.org/support/topic/post-title-in-archive-list/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/post-title-in-archive-list/#post-10009442)
 * Once I analyzed the code I was able to fix this with CSS.
    Thanks again and kind
   regards,
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#avoid-signatures)]_
    -  This reply was modified 8 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This reply was modified 8 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Annual Archive] Post Title in archive list](https://wordpress.org/support/topic/post-title-in-archive-list/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/post-title-in-archive-list/#post-10004089)
 * thank you VERY much for the quick reply.
    i will look into this and post back
   the results.
 * thanks again and kind regards,
 * Marcel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scroll to Anchor] Scroll to anchors from external pages](https://wordpress.org/support/topic/scroll-to-anchors-from-external-pages/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/scroll-to-anchors-from-external-pages/#post-9665275)
 * Just to answer my own question.
    - when you have a fixed header, then set the “Show anchor with an offset of…”
      to “0” in Settings-Reading
    - add the following CSS
    -     ```
          .sta-anchor {
              display: block;
              position: relative;
              top: -115px;
              visibility: hidden;
          }
          ```
      
    - even though my fixed header is only 85px the offset in the CSS had to be set
      to -115px – adjust for your setup
    - also when using page builder with visual editor, then the “anchor” does not
      appear in the editor menu and you have to add the anchor code manually by 
      adding the following:
       `<span id="yourAnchorName" class="sta-anchor" aria-
      hidden="true"></span>`
    - hope this helps someone…
    - Cheers,
    - Marcello
 *  -  This reply was modified 8 years, 6 months ago by [discsox](https://wordpress.org/support/users/discsox/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Virtue] Mobile Menu Collapse for in-page links](https://wordpress.org/support/topic/mobile-menu-collapse-for-in-page-links/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-menu-collapse-for-in-page-links/#post-9657284)
 * Thank you VERY much!!!
    i was able to use your script in the footer (via child
   theme) without problem. Menu now behaves exactly as it should for intra-page 
   links. it might be a good addition to the footer in general. I could not think
   of any conflict for general use.
 * thanks again and kind regards,
 * Marcello
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MultiVendorX - WooCommerce Multivendor Marketplace AI Powered Solutions] V2.7.0 issues](https://wordpress.org/support/topic/v2-7-0-issues/)
 *  Thread Starter [discsox](https://wordpress.org/support/users/discsox/)
 * (@discsox)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/v2-7-0-issues/#post-9182207)
 * Thank you very much for your quick reply.
    Updating the permalinks did indeed
   fix the new knowledgebase link. thank you!
 * However, when loging into the dashboard initially and when clicking on the Dashboard
   link, then Store Settings, Stats/Reports, Payments links don’t work, meaning 
   the JavaScript does not fire and there are no drop-downs.
    Interestingly, the
   above mentioned links do work when I first click on Knowledgebase then the links.
   As soon as I click the Dashboard link then the Settings, Stats/Reports, Payments
   links don’t work anymore.
 * It appears to be a JavaScript initialization issue.
 * Hope this helps,
 * Marcello

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

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