category permlinks when blog is not on the homepage
-
Hi,
I have a static-ish age for the homepage and am wondering how to get my auto generated “read more” category post links to work from the homepage?All of the menu items I just put in manual links like this:
<li class=”catlist” >/category/about”>ABOUT US
Avellana
here is the functions code:function excerpt_read_more_link($output) { global $post; return $output . '<a href="'. get_permalink($post->ID) . '"> Read More...</a>'; } add_filter('the_excerpt', 'excerpt_read_more_link');
I tried custom permlinks settings but that is restrictive. I’d like to do it in the functions file.
Just any read more or category permlinks to have “category/” before the post name. What is the best way to do this?
-thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘category permlinks when blog is not on the homepage’ is closed to new replies.