Editing permalink theme
-
I have an already existing static website for a client https://www.rrfp.net
They wanted the ability to have an easily updateable news page. They wanted something very simple, no comments, no calendar. They wanted (a) the news page to have the title and excerpt and date from the last 5 posts. And then they wanted (b) each news item excerpt to link to the whole news item on its own page. They also wanted (c) an archive view where someone could browse all of the news item titles at once.
I have the first part (a) down https://rrfp.net/news.php
My only problem with that page is that the_excerpt includes the […] at the end. I have added an additional link “Read on…” that points to the permalink. However if there was a way to edit or link or remove the […] that the_excerpt tags on to the end…
My next problem is in regards to item (b). The permalink points to the default template and has extra stuff like comments, and category, trackback info at the bottom. I tried editing the index.php, single.php, and archive.php files in the template directory, but to no avail. I would like the permalink page to look like this https://rrfp.net/blog/perma.php, keeping with the navigation and style of the whole site. However, I have no idea how to go about making this happen.
I haven’t started working on (c) the archives page. However, I do not foresee having difficulties with that. I’d probably just do the same thing I did with (a) only leave out the_excerpt tag, and set numberposts to a really high number or infinity if possible.
Thanks for your time.
a.
- The topic ‘Editing permalink theme’ is closed to new replies.