Need help with post-related elements
-
This is my blog page for reference.
I am having difficulty modifying the following elements (I still struggle with php coding):
1. I have added a read more button for the post excerpts and therefore, I would like to remove the links associated with all post titles on all pages (blog and archive). (Just want a normal black title.)
2. On the author’s archive page, I would like to remove the link associated with the author in the archive header. (Just want a normal black heading.)
3. I used this snippet to change the single post navigation buttons text but it does not replace the existing text, just adds to it. What am I missing? (The list post navigation buttons text snippet works, but I noticed in the core files the two are not quite constructed the same way.)4. I would like an opinion if my code below is acceptable for changing all archive headings (it works, but since I struggle with php, I want to make sure it is proper):
/* CHANGE POST ARCHIVES HEADINGS FROM H1 TO H3 */ add_filter('tc_archives_headings' , 'my_archives_heading'); function my_archives_heading($output) { return preg_replace('|h1|', 'h3', $output); }
As always, Thank You for any assistance you can provide me. If I am not clear about what I am looking for, just let me know. Thanks again.
- The topic ‘Need help with post-related elements’ is closed to new replies.