Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter hypoluxa

    (@hypoluxa)

    I want to be able to have my text (news) feeds to have a graphic depending on the category not a global one.

    I’d also like to have my podcast feeds to be parsed out for podcast and itunes aggregation (is that a word) to include graphics and other information that are not in the text feeds.

    This would require more than the “one size fits all” rss2.php in my wp folder. Right now my single.php has a code like this in it

    <?php
    $post = $wp_query->post;
    if ( in_category('10') ) {
    include(TEMPLATEPATH . '/single10.php');
    }
    if ( in_category('11') ) {
    include(TEMPLATEPATH . '/single11.php');
    }
    if ( in_category('13') ) {
    include(TEMPLATEPATH . '/single13.php');
    }
    if ( in_category('21') ) {
    include(TEMPLATEPATH . '/single21.php');
    }
    if ( in_category('22') ) {
    include(TEMPLATEPATH . '/single22.php');
    }
    else {
    include(TEMPLATEPATH . '/single1.php');
    }
    ?>

    Can the same type of thing be done for the rss2.php file? If it can, then I can customize my feeds however I want them, like I do my single post files.

    Thread Starter hypoluxa

    (@hypoluxa)

    I can globally turn on and off the “anyone can comment” field.
    I would like only people who are subscribers to post comments. Is there something I’m missing?
    Is there a checkbox hidden somewhere that only user level “X” can post comments?

    garbonzo… Your idea works great! Since I have my install in a directory I want hidden from the public your solution didn’t quite work. After
    inserting the action command into my search feild
    I got a reply from the search, but the URL showed my hidden directory.

    Here’s how I figured out how to hide the directory:
    1- Copied the /wpinstall/index.php file and renamed it “search.php” and copied it to my root.

    2- Changed line four of “search.php” to reflect the path to my hidden directory:
    <i>require(‘./hidden_directory/wp-blog-header.php’);</i>

    3- Opened up the searchform.php in my theme.

    4- Replaced the the “action” command to /wpinstall/index.php
    instead of <?php echo $_SERVER[‘PHP_SELF’]; ?> <–THANKS TO garbonzo

    5- Saved the searchform.php to searchform-mail.php and uploaded that file to my theme.

    6- In the header.php in my theme I changed the
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?> to read: <?php include (TEMPLATEPATH . ‘/searchform-main.php’); ?></div> and it worked like a champ.

    Now my search reply comes back with:
    https://www.domain.com/search.php?s=mysearch

    It’s a bit cumbersome, but it worked for me

    I’ve actually used this program (Win version) to access my dB on my desktop and delete mass posts. You can to click a check box for each post you want to delete, but it works.

    https://www.webyog.com/en/

    The Community Edition is free.

    I’ve actually used this program (Win version) to access my dB on my desktop and delete mass posts. You can to click a check box for each post you want to delete, but it works.

    https://www.webyog.com/en/

    The Community Edition is free.

    Thread Starter hypoluxa

    (@hypoluxa)

    I’ve figured out how to do it! You don’t need feed header/footer. Put a line break between each <item>. In my import I didn’t need to adjust the <pubDate> but I’m sure using the format below, you can do it.

    <item><title>TITLE OF POST</title><comments></comments><pubDate>Sun, 01 Nov 2006 18:50:02 +0000</pubDate><dc:creator>YOUR USERNAME</dc:creator><category>YOUR CATEGORY THAT MUST MATCH</category><description>CAN BE REFERRED FROM CONTENT</description><content:encoded>CONTENT WITH POSTS–CAN ALSO INCLUDE HTML</content:encoded></item>

    Thread Starter hypoluxa

    (@hypoluxa)

    They are not posts, they are in a spreadsheet. I’d like to make them posts.
    Since they are in a database I can export them whichever way works for WP.

    thanks

    Forum: Plugins
    In reply to: User submitted events
    Thread Starter hypoluxa

    (@hypoluxa)

    Thanks…Using what program/plugin?

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