Adding more services and professionals
This support request was posted in Paeon by sallyw
- sallyw February 17, 2016 at 7:08 pm
I was hoping to add more than four services and professionals. Is there a way I can do this?
Thanks!
– Sally
Juanfra Aldasoro February 17, 2016 at 8:34 pmHello Sally,
Thank you for writing. I hope you are doing well.
You can modify the amount of services and staff with a few filters that we have included for the theme.
For example to modify the amount of staff members to display: https://gist.github.com/juanfraa/e54eca1ea8d6cf1872cc
And for the services: https://gist.github.com/juanfraa/c4dd6ee3aca27231cf53
You should include these codes in the functions.php file of your theme (or child theme).
Best,
Juan.Juanfra Aldasoro February 18, 2016 at 5:57 pmHi Sally,
Thank you for the follow up.
Sorry, I’ve changed my username, so the url is for the previous username.
Please check these:
To modify the amount of staff members
And for services: https://gist.github.com/juanfra/c4dd6ee3aca27231cf53
Best,
Juansallyw February 19, 2016 at 1:41 pmJuan,
Thank you so much for your fast replies. So helpful!
I added the code and it worked perfectly! One thing though, I have 5 staff members, so is there a way I can put them all on one line across? Right now the fifth one is below the other four.
Sorry for all the questions!
– Sally
Juanfra Aldasoro February 20, 2016 at 10:32 pmHi Sally,
No problem! I’m glad it worked.
Unfortunately given the design of the theme it is not prepared to have a row of five staff members. I guess the best option for this would be creating a child theme and adding your own css to make that grid with 5 columns.
Best,
Juan,sallyw February 25, 2016 at 2:19 pmJuan,
Thank you for the help!
I have another quick question though. On the services page (two column), is it possible to remove the ALL option from the top menu, but keep the other categories?
– Sally
Juanfra Aldasoro February 25, 2016 at 3:08 pmHi Sally,
Thank you for the follow up. I hope you are having a good day. Well, I guess, you can do that by adding some custom css directly.
Something like this should work:
#filter li:first-child { display: none; }
Best,
Juan.sallyw February 25, 2016 at 5:49 pmJuan,
You are the best! Thank you. It worked perfect.
I feel so bad for having so many questions, but I have ONE more (for now).
When I click on one of the services on the home page, is there a way to make it so that it automatically starts on a specific category on the services page (the list on top that I just deleted ALL from).
Not really sure how to ask the question…Let me know.
Thank you again!
– Sally
Juanfra Aldasoro February 26, 2016 at 2:08 pmHi Sally,
Thank you for the follow up. My pleasure 🙂
I’d kindly ask you to open new tickets if you have new questions, for next time. That way we can keep the forum organized and the rest of the users can find answers to their problems directly without waiting for an answer, just by browsing throughout the forums.
I guess what you are trying to ask is if you can initialize the filter in some category, like it was for “All”. The answer is that unfortunately that can’t be done. I am sorry.
Best,
Juan.
You must be logged in to reply to this topic.