Site logo

Archived topic

Custom Author Archive Pages

63 replies · Started by culpable on June 6, 2019

Viewing posts 61–64 of 64

Haha that makes two of us Tom!

I tried changing query_posts() to pre_get_posts, but that ended up being a hot mess (i.e. broke the site). Is that what you meant, or did you mean something else?

Sorry for my ignorance Tom.

Ah righto.

When I added that code to my functions.php, the pagination (i.e. /page/2/ etc.) came back.

It also did not bring back the author name or image as described here https://generatepress.com/forums/topic/custom-author-archive-pages/page/4/#post-947746.

That said Tom, you and David have helped me a lot. Unless you have any other ideas on how to fix this, I don't want to use up any more of your time on this. Otherwise I'll feel horrible the next time I have to ask a question!

Right now my make-shift solution will have to be:
1. No-indexing a random post to enable the author archive.
2. Accepting that the post snippet is going to be gibberish for all my pages that have a table of contents.

In any case, thank you VERY MUCH for your help David & Tom :)

No problem - sorry I couldn't get something working for you!

This archived topic is closed to new replies.