Adding more services and professionals

This support request was posted in Paeon by sallyw

Request ID #6837 In Progress
  • I was hoping to add more than four services and professionals. Is there a way I can do this?

    Thanks!

    – Sally

    Hello 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.

    Those links are not working for me!

    Hi 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,
    Juan

    Juan,

    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

    Hi 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,

    Juan,

    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

    Hi 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.

    Juan,

    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

    Hi 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.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server