Create "View More Posts" Link for Category Archives
-
Hi All,
This seems like a silly question to ask and it seems as if there would/should be an answer to it somewhere already. However, I have now spent 2+ hours banging my head against my keyboard trying in vain to create a text link (‘View More Posts’) in my sidebar under individual site categories to point to that specific Category’s postbypost archive.
You can see my layout/test site here: http://www.test.theweekendhousewife.com
See the ‘view more posts’ links in the Sidebar. (I know they may be hard to see as they are a light pink – still working on that.)
Is it possible to have a text link point to individual Category archive pages/templates? I have tried wp_get_category, I have tried to echo wp_get_category, I have seemingly tried EVERYTHING I could find in the Codex and through Google relating to Category pages, but nothing seems to do exactly what I am trying to accomplish. I was able to do it with the general Archives Template for ALL posts (see bottom of Main page content – View More Posts). but can not specify just individual categories from the text links I have.
On a slightly different note, (but still on same topic), how can I DYNAMICALLY input the Category names in the ‘View more posts’ link’s title attribute to display ‘tooltip’ that will read: “View more posts in the [CATEGORY NAME] Category”? Is it possible? None of the info I found in the Codex seemed to do this.
Hope this makes sense. I’ve been working for 6 hours and it is now 4:30a and I am frustrated that this seemingly simple functionality eludes me.
Thanks for any advice in advance.
Craig
The topic ‘Create "View More Posts" Link for Category Archives’ is closed to new replies.