Forums

how do i set the catagories / tags pages just to display the post title (10 posts)

  1. antonytycoon
    Member
    Posted 2 years ago #

    i just to have the title to show to save space as my posts take much room up :)

  2. @mercime
    Member
    Posted 2 years ago #

    comment out or delete the <?php the_content(); ?> or <?php the_excerpt(); ?> from category.php or tag.php or archive.php

  3. antonytycoon
    Member
    Posted 2 years ago #

    i only have archive.php, and neither of those are in there lol any other suggestion ?

  4. @mercime
    Member
    Posted 2 years ago #

    Well, those were the most common places to revise. Flying blind here. What is your site URL or theme name?

  5. antonytycoon
    Member
    Posted 2 years ago #

    site url http://www.animearena.tv/ theme name animearenathemefinal

  6. @mercime
    Member
    Posted 2 years ago #

    Artisteer-generated theme I see, haven't used the service. I assume that one of the categories is "Dragonball" and you don't want the videos showing up after the titles. Please post around 10 lines of code you find in your archive.php that follows
    <h2>...title .... </h2>

  7. antonytycoon
    Member
    Posted 2 years ago #

    here is my full archive.php , hopefully you can tell me from this :P thanks again for your support :)

    [huge chunk of code moderated - please use a pastebin or link to file]

  8. @mercime
    Member
    Posted 2 years ago #

    Do not post large chunks of code here - I did not ask for the whole page. The artisteer-generated code is UGLY out of this world and, in my opinion, is not valid XHTML. Having vented ...

    Save a copy of your archive.php, just in case - as I don't know how the edit will affect the artisteer-generated code. After saving a copy, find this block of code in archive.php and delete this:

    <?php $metadataContent = ob_get_clean(); ?>
    <?php if (trim($metadataContent) != ''): ?>
    <div class="art-PostMetadataHeader">
    <?php echo $metadataContent; ?></p>

    If that doesn't work, bring back the old archive.php

  9. antonytycoon
    Member
    Posted 2 years ago #

    heh, yeh ill re code it myself later it is pretty bad coding and thanks ill try that now

  10. antonytycoon
    Member
    Posted 2 years ago #

    nope, this didnt work got an error,

    Parse error: syntax error, unexpected T_ENDIF in /home/antony/public_html/animearena.tv/wp-content/themes/AnimeArenaThemeFinal/archive.php on line 81

    any other sugestions ^^ thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.