syntax to modify the staff page
URL to the page in question:
http://www.fisioterapiarovere.com/?page_id=648
-
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
Good Morning Andrea,
Great questions. You can change both of those items. Here’s how:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose staff-entry.php
- 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
Hi Bill,
Thank you. That worked perfectly.
Have a Great day!
Andrea
Fantastic Andrea. Let me know if you need anything else 🙂
- The topic ‘syntax to modify the staff page’ is closed to new replies.