re: I have tried adding the function, but it didn’t change anything for me.
Please try again. It seems there was a small bug which I just fixed.
re: I don’t understand why you don’t have a “default-category” argument to the shortcode.
re: Also i notice i have another problem, when doing a search it changes all the connection shortcodes on the page, and it looks pretty silly when it does 4 searches
Yes, if you put the direct shortcode on the page multiple times, you’ll get the directory multiple times. Each shortcode instance is not aware of the other.
Here’s a few shortcode options which you can utilize to work with this:
You would not use
force_home at the same time but you could use either to define a second page for the links to resolve to. You could use the
force_home option to create “Results” page where all links and the form post would resolve to the Directory Home Page defined on the Connections : Settings admin page under the General tab. On this “Results” page you would only have the
[connections] shortcode with no other options.
Hope that helps you out.