syntax to modify the staff page

Support Area Forums Bottega syntax to modify the staff page

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://www.fisioterapiarovere.com/?page_id=648
  • Author
    Posts
  • #33246
    pierluigi vicelli
    Participant

    Hi Bill!
    I would like to modify the staff page in two points:
    – change the text of the “Read More”
    – reduce the lines that are shown for each staff member from four lines to two.

    Could you help me?
    I’ve seen that in the editor part there is the “Staff Page Page Template” but when I’ve tried to change something there, nothing happened.

    Thank You
    Andrea

    #33261
    Bill Robbins
    Moderator

    Good Morning Andrea,

    Great questions. You can change both of those items. Here’s how:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose staff-entry.php
    3. Look for this line:
      
      <?php the_content_limit(275, "Read More"); ?>
      

      The 275 there is the number of letters that will be shown. You can reduce that number to make the number of lines shown smaller. You might try 125 or so and if that gives you the correct amount. The Read More is the text that will be shown once it’s cut off. Feel free to change that there too.

      Save your changes.

    See if that doesn’t allow you to make those changes. Let me know if you run into any trouble.

    Have a great week,
    Bill

    #33266
    pierluigi vicelli
    Participant

    Hi Bill,
    Thank you. That worked perfectly.

    Have a Great day!
    Andrea

    #33267
    Bill Robbins
    Moderator

    Fantastic Andrea. Let me know if you need anything else 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘syntax to modify the staff page’ is closed to new replies.