Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.3, enable_pagination, exclude_category, order_by, pagination
- This topic has 7 replies, 2 voices, and was last updated 9 years, 1 month ago by
Steven Zahm.
-
AuthorPosts
-
10/07/2014 at 4:28 pm #306336
Mark
ParticipantI’m trying to sort my connections based on criteria I don’t want others to see, is there a way to make certain categories private?
Also, is there a way to keep all the categories on a single page rather than splitting them automatically over multiple pages?
10/08/2014 at 8:39 am #306379Steven Zahm
Keymaster@ Mark
There’s not a way to keep an entire category private. At least not one I can think of off the top of my head. There is the exclude_category shortcode option but that does not really make the entries within private.
I’m assuming you’re using a template which supports pagination, yes? Pagination can be disabled using the
enable_pagination
shortcode option. You would add it to the shortcode, setting it tofalse
like so:[connections enable_pagination='FALSE']
One recommendation … I really do not recommend showing much more than a max of 50 as that could negatively impact page load times. Pretty much for the same reasons as why WP limits posts to 5 or 10 a page.
I hope this helps!
10/08/2014 at 1:18 pm #306396Mark
ParticipantHi Steve, I don’t want to make the entries private, I just want to assign them a private attribute that I can sort by, sorry if I was unclear. Is there a way to do this?
10/08/2014 at 2:28 pm #306405Steven Zahm
Keymaster@ Mark
Oh, I see. You want to use a category but not have it displayed to the user. Got it. Unfortunately, I cannot think of a way to do this because their are no filters in place that would allow me/you to hook into to remove categories.
10/08/2014 at 2:51 pm #306411Mark
ParticipantYep, you got it. Possible future update?
What other options do I have regarding sorting my entries?
10/09/2014 at 11:45 am #306613Steven Zahm
Keymaster@ Mark
The code for taxonomies is being rewritten and it does have a lot of filters so it should be possible.
Connections does have the order_by shortcode option. Maybe one of the supported methods will be useful?
10/27/2014 at 3:55 pm #308280Mark
ParticipantHi Steven,
I wonder if you wouldn’t mind letting me know what I would need to do to display all items on a single page. I understand it will slow things down, but I’d like to see what it looks like if possible.
Setting pagination to false only stops me from being able to browse pages.
Many thanks
10/28/2014 at 10:18 am #308339Steven Zahm
Keymaster@ Mark
All items on a single page … do you mean all entries?
re: Setting pagination to false only stops me from being able to browse pages.
This is likely due to the PHP maximum script execution setting or the memory allocated to PHP being exhausted. This is not a Connections limitation, same thing would happen if you tried to list n-number of WordPress posts on a single page too. You could try increasing those values to see if that’ll work.You can visit the view all page which just lists the entry names. Generally you can view quite a few Connections entries before limits are reached because it only shows the names. The link would be:
domain.tld/directory-home-page/view/all/
Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.