![]() |
full posts on Category pages without the link
Hi there,
in the theme options (Show full posts or only excerpts, on Category pages?) I decided me for showing full posts on the Category pages. My Question is: Can I remove the Link-Function (permanent-links?) in the displayed Posttitles? I have only a few post at a time for one category, and it's not neccesary to view them as single posts. It's enough to see the posts listed as full posts among each other on one category page. greetings, curious |
In the Post Heading section in index.php find:
if( !is_single() AND !is_page() ) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php (or similar) and change to if( !is_single() AND !is_page() AND !is_category() ) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php |
Hi flynn,
thanks for fast the repose. The new code is working fine in the category section.. But I have a additional question. By using the calendar widget (whereI have the possibilty to click on a date, and all Category Articles I have post on that specific day appear), all the posts have furthermore the permalinks in their titles. Can I remove that, too? greetings, curious |
if( !is_single() AND !is_page() AND !is_category() AND !is_date() ) { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php See http://codex.wordpress.org/Conditional_Tags for more options !is_....() means "if this is not ..." |
Great, that works!
Thanks Flynn!! greetings, curious |
Hi flynn,
is it possible to adjust the calendar, that the calendar show only the entries of only one category (I specify)? |
All times are GMT -6. The time now is 01:58 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.