Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Forum: Plugins
    In reply to: Title only in category list
    Thread Starter shawno

    (@shawno)

    Ok, but that shows only the title for the index page as well. I wan’t to show the content on that page, but not the archive.

    Forum: Plugins
    In reply to: Title only in category list
    Thread Starter shawno

    (@shawno)

    Yes it works. Let me list what I did for future reference for anyone who wants to try it. It’s very simple, and you can see it in action at my site.
    1. Change permalinks as suggested in Mt.DewVirus’ guide and copy corresponding rewrite rules to .htaccess file.
    2. No my-hacks.php file is required.
    3. Open index.php and comment-out ‘the_content()’ like so:
    <div class=”storycontent”>
    <?php //the_content(); ?>
    4. Save the file as ‘arch.php’.
    5. Set what_to_show as ‘posts’
    Done.

    Forum: Plugins
    In reply to: Title only in category list
    Thread Starter shawno

    (@shawno)

    Right. I figured-out where I went wrong. In the instructions it says to insert the code into the div=’content’ area. I completely ignored everything from div class=’post’ on. My other idea was to comment out ‘the_content()’ in the copy of the index file (the only change). That displayed the archive just the way I wanted it, and seems like a pretty easy fix. Maybe the rewrite rules will work for this method too. I’ll try it.

    Forum: Plugins
    In reply to: Title only in category list
    Thread Starter shawno

    (@shawno)

    I think I’ve followed the instructions to the letter. Anyway, I have another idea on how it might work. I’ve managed to create a ‘arch.php’ file that displays the archive the way I wan’t it–I just comment out the ‘the_content()’ part. Now, if I can get the archive links to point to arch.php instead of index.php, it would work. I’m wondering if these are the lines to modify (under ‘get_archives’ function) and what to do to them.
    // archive link url
    $archive_link_m = $siteurl.’/’.$blogfilename.$querystring_start.’m’.$querystring_equal; # monthly archive;
    $archive_link_w = $siteurl.’/’.$blogfilename.$querystring_start.’w’.$querystring_equal; # weekly archive;
    $archive_link_p = $siteurl.’/’.$blogfilename.$querystring_start.’p’.$querystring_equal; # post-by-post archive;

    Forum: Plugins
    In reply to: Title only in category list
    Thread Starter shawno

    (@shawno)

    Well, I got the code to work but it doesn’t seem to do anything but display the URL differently (and display only one day’s worth of posts in the archive due to the what_to_ show: ‘days’ setting). I looked at the archive structure of the site that inspired it and that is the sort of structure I wanted (titles only), but my archive is a list of posts with the content php’d too. What I’d like is to display the archive without the content.

    Forum: Plugins
    In reply to: Import Bookmarks

    Hello Tobias,
    I’ve uploaded your 2 php files to the server. I don’t see any difference in the layout when I go to add links, however. Am I missing something?

    Thread Starter shawno

    (@shawno)

    Ok. Thanks. I didn’t know ‘threaded’ was the correct term.

Viewing 7 replies - 1 through 7 (of 7 total)