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 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
- The topic ‘some customizations’ is closed to new replies.