Forums

[resolved] Simple Tagging Widget Plugin: display only post titles (5 posts)

  1. rajaman
    Member
    Posted 2 years ago #

    I've got the Simple Tagging and the Simple Tagging Widget installed. When clicking on a tag in the tag cloud the corresponding blog posts are displayed in full. How can I set it up so only the post titles are displayed (like when clicking on a category)?

  2. vinit
    Member
    Posted 2 years ago #

    buddy even i am looking for that trick. does anyone know how to fix this problem?

  3. rajaman
    Member
    Posted 2 years ago #

    After hours of searching I finally found a solution. It involves editing the file "pagetemplate.simpletagging.php" that came with the Simple Tagging plugin (in the folder "wordpress 2.2 template files for default theme (kubrick)"). This is the template file that handles what happens when clicking on a tag.

    First of all it needs to be in the same directory as the theme you're using.

    Second, the following code must be deleted or commented:
    <div class="entry"><?php the_content('Read the rest of this entry »'); ?></div>

    Third, you probably want to adjust the file so it fits the theme you're using. I did that by copying & pasting code from my theme's "index.php" file to "pagetemplate.simpletagging.php" (replacing the corresponding code in that file).

    Hope that helps. :)

  4. vinit
    Member
    Posted 2 years ago #

    thank you so much rajaman. my problem is solved. just upload "pagetemplate.simpletagging.php" file in your themes directory. then just replace

    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>

    code with

    <div class="entry">
    <?php the_excerpt('Read the rest of this entry »'); ?>
    </div>

    and you are done.

  5. rajaman
    Member
    Posted 2 years ago #

    Thanks for getting back. Now that both are problems are solved I will close this topic. Greetz :)

Topic Closed

This topic has been closed to new replies.

About this Topic