mshakeshaft
Member
Posted 6 years ago #
I have set up a blog using WP 1.5 at http://www.docphot.org
I am using a slightly modified classic theme. In many of my posts I have included links to other peoples websites. These links are shown and active on the front page but not in the Archives or Category listings. I have tried some other themes where they are active on these pages. Is there an easy way to achieve this?
Any help would be appreciated. Thanks
Martin
1. You are using the Deafult, not the Classic.
2. That's by design: in archive view (be it monthly or by category) the template file (archive.php) is using the the_excerpt, while the mian index file is using the_content.
You can replace the_excerpt with the_content.
In my default theme's sidebar.php I deleted the line that says:
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
and also the line that's down about 13 lines from that that says:
<?php } ?>
That then showed the links list on the archives also.
Make a copy of your sidebar.php file before attempting this.
iMartin
Member
Posted 6 years ago #
Moshu
In the WP-admin folder I have a file called admin.php BUT there is no line with 'the_excerpt' so I am unable to replace it with 'the_content'
I am very new to all of this so could you please direct me to the correct file.
Thanks
Martin
All your theme files are in the theme folder(s). E.g.
wp-content/themes/default/
Inside the default folder you should be able to find the
archive.php
index.php
sidebar.php etc.
mshakeshaft
Member
Posted 6 years ago #
Moshu
Thanks very much mission accomplished!
Cheers
Martin