Title: some customizations
Last modified: August 22, 2016

---

# some customizations

 *  [yezzz](https://wordpress.org/support/users/yezzz/)
 * (@yezzz)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/some-customizations/)
 * I´m using link library in single-cat ajax mode, and I’ve been wanting to ask 
   for a feature to load custom content on pageload, instead of a(n optional) category.
 * I noticed that if I just remove
 *     ```
       [link-library settings=1]
       ```
   
 * and replace it with
 *     ```
       <div id="linklist1" class="linklist">my content here</div>
       ```
   
 *  that it will do just that. Does link library shortcode only place that div and
   fill it with the links (if category is set), or is there other functionality 
   I should be aware of, that might break if I do it this way?
 * And, I’m looking into linking to a specific category on the page. I guess using
   url parameters like ?cat=10, get the value, then
 *     ```
       showLinkCat(x, '1', 1); // where x is catID
       ```
   
 * Or do your url parameters provide a way to do it?
 * Also, on my page I have a huge list of [travel merchant categories](http://reisfavoriet.nl/aanbieders)
   in an accordeon. I have it move from the sidebar to main content on resize, but
   I think it may be too large for smartphones. So, I’m thinking of adding another
   set with a different html structure, but without putting both sets in the html.
   So either rebuild the cats html as I move it, or build another set on the fly.
   Or can I load categories using ajax?
 * And finally, a request for doing the ll search in ajax mode.
 * And one more thing, thanks for building a fantastic plugin. Thought I’d buy you
   a coffee or a beer.
 * Cheers!
    Danny
 * [https://wordpress.org/plugins/link-library/](https://wordpress.org/plugins/link-library/)

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

 *  Thread Starter [yezzz](https://wordpress.org/support/users/yezzz/)
 * (@yezzz)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/some-customizations/#post-5736475)
 * Some more thoughts. I’m also thinking of adding some display options, where I
   need to display links using another settings set ‘y’ so I guess I will want to
   be able to set all showLinkCat parameters. Then it would definately be useful
   if I could dynamically rebuild the cats to change the setnumbers in the catlinks
   onclick function, or override them somehow.
 * And one other idea I have is to allow a visitor to build a custom list of favorite
   links. Eg. add a save button to the link, which stores it in their localstorage
   or cookie, a button to display a “my favorites” category, and perhaps some code
   to share their list, or send to another device (using a link with url parameters
   I guess). Is there a way to output a custom list of links via javascript?
 *  Thread Starter [yezzz](https://wordpress.org/support/users/yezzz/)
 * (@yezzz)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/some-customizations/#post-5736699)
 * Solved the issue of displaying another settings set. Just set _incomingID, _settingsID
   and _pagenumber to values I need, then:
 *     ```
       jQuery('#linktable a,#linktable div').click(function () {
         showLinkCat(_incomingID, _settingsID, _pagenumber);
         return false;
       });
       ```
   
 * Or should I use my own variables in there?
 *  Thread Starter [yezzz](https://wordpress.org/support/users/yezzz/)
 * (@yezzz)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/some-customizations/#post-5736745)
 * Looks like the search results need that shortcode, so replacing it with the div
   as per my 1st message is not gonna work. Placing the shortcode inside the div,
   and then add a script for output logic would probably work, but I’ve changed 
   plans. I’d much rather have a way to output search results via ajax.

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

The topic ‘some customizations’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 3 replies
 * 1 participant
 * Last reply from: [yezzz](https://wordpress.org/support/users/yezzz/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/some-customizations/#post-5736745)
 * Status: not resolved