Title: Search with Extract?
Last modified: August 30, 2016

---

# Search with Extract?

 *  [mbrown1029](https://wordpress.org/support/users/mbrown1029/)
 * (@mbrown1029)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/search-with-extract/)
 * I am using hyperlinks in a database field and the best way to get them to display
   is using the following:
 * ‘[cdbt-extract table=”wp_SDS_Links” bootstrap_style=”true” display_search=”true”
   display_index_row=”true” narrow_keyword=”” display_cols=”PartNum,PartName” order_cols
   =”PartNum,PartName” sort_order=”PartNum:asc,…” limit_items=”1000″ image_render
   =”responsive” add_class=””]’
 * I would like for the search to display within this view. I have tried it with‘[
   cdbt-view…’, but then I encounter issues with the links not displaying correctly.
 * You can view the page at [http://www.crestauto.com/?page_id=2452](http://www.crestauto.com/?page_id=2452)
 * Thank you for any help you can provide! Thanks
 * [https://wordpress.org/plugins/custom-database-tables/](https://wordpress.org/plugins/custom-database-tables/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [mbrown1029](https://wordpress.org/support/users/mbrown1029/)
 * (@mbrown1029)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/search-with-extract/#post-6433883)
 * Forgot to mention I love your plugin! Thank you!!!
 *  Plugin Author [ka2](https://wordpress.org/support/users/ka2/)
 * (@ka2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/search-with-extract/#post-6434060)
 * Thank you for your inquiry.
 * I saw the URL you have provided.
    I seem the structure of hyperlink addition 
   to the “Product Name” items in the list of on your site, it is to replace of 
   the value of the “full-content” when clicking on an element of the “text-collapse”
   class. For example is as follow:
 *     ```
       <td>
         <p class="text-collapse" full-content="<a href="{permalink_url}" target="_blank"> {value}</a>"> {value} </p>
       </td>
       ```
   
 * However, the currently hyperlink additions has been fired after clicking the 
   value of the cell in the “Product Name” column. If this event type will be changing
   to on-load type, then the hyperlink additions immediately after rendering the
   list has been activated.
    For example, I recommend that added of JavaScript (
   jQuery) as described below.
 *     ```
       <script>
       jQuery(document).ready(function($){
         $('td p.text-collapse').each(function(){
           if ('' !== $(this).attr('full-content')) {
             $(this).replaceWith($(this).attr('full-content'));
           }
         });
       })();
       </script>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search with Extract?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-database-tables_e4e2e2.svg)
 * [Custom DataBase Tables](https://wordpress.org/plugins/custom-database-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-database-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-database-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-database-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-database-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-database-tables/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ka2](https://wordpress.org/support/users/ka2/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/search-with-extract/#post-6434060)
 * Status: not resolved