Forum Replies Created

Viewing 15 replies - 1 through 15 (of 49 total)
  • Thread Starter gvtexas

    (@gvtexas)

    This is a WordPress error. WP is changing the redirect table to change the url for the main blog address to a specific post. As mentioned, it’s done this twice now. And now that I know what it’s doing, i can fix it, but needs reporting since it’s a WP bug (at least in my installation).

    How do users reports such things?

    Thread Starter gvtexas

    (@gvtexas)

    Thanks for the direction tip. This code:

    <?php echo get_post_meta(get_the_ID(), "Price", true); ?>

    …finally did the trick.

    Thread Starter gvtexas

    (@gvtexas)

    No, get nothing.

    Thread Starter gvtexas

    (@gvtexas)

    Thanks to all. I got it working, Karfkaesqui, based on your last post suggestion. Works really well (now!). ??

    Thread Starter gvtexas

    (@gvtexas)

    Thanks, but I have no clue how to implement this. I tried this code, which results in no error, but no post shows either! Do I have it in the wrong place?

    <?php if (have_posts()) : ?>

    <?php<br />
    $rand_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY RAND() LIMIT 1");<br />
    query_posts("p=$rand_id");<br />
    ?>

    <!-- ?php while (have_posts()) : the_post(); ? -->

    <div class="post"><br />
    <h2 id="post-<?php the_ID(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bug-head.jpg"> <a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    <div class="entry">

    <?php the_content('Read the rest of this entry &raquo;'); ?><br />
    </div>

    <p class="postmetadata">posted <?php the_time('F jS, Y') ?> in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('no comments', '1 comment', '% comments'); ?> <strong>|</strong> <a>/wp-print.php?p=<?=the_ID()?>">print version</a>

    </div>

    <!-- ?php endwhile; ? -->

    <div class="navigation">

    <?php posts_nav_link('','','&laquo; earlier posts') ?><br />
    | <a>">home</a> | <?php posts_nav_link('','newer posts &raquo;','') ?>

    </div>

    <?php else : ?>

    <h2 class="center">Not Found</h2><br />
    <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?><br />
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    <?php endif; ?>

    </div><br />

    Thread Starter gvtexas

    (@gvtexas)

    This works:
    https://www.domain.com/wpress/wp-rss2.php?cat=2

    …to pull a feed showing only one category.

    Thread Starter gvtexas

    (@gvtexas)

    Hmmm…that appears (to my eyes) to be only good within WP. (The code for pulling the offsite feed requiring the plugin, etc.). Perhaps that would work, though, to create the page to include on the other site.

    I did also discover this:
    https://domain.com/index.php/category/Nameofcat/feed/

    …to pull a feed with only one category, but it doesn’t work at all. ??

    thinkeric’s workaround in the link provided does NOT work for me and several others. Substituting out the .+ for the characters worked for a few people, but I, like others, weren’t blessed I guess. And I don’t use subcategories, so that wasn’t the answer.

    I aborted using category in the permalink (I had no choice since it doesn’t work in 1.5 at all for me), and used date-based instead. Sucks, plus I have a huge list of redirects to cover Google tracks.

    Thread Starter gvtexas

    (@gvtexas)

    Thanks, no problem with domain/host/templates. And as stated, was running find for a long time without these issues.

    Looking at the error.log in /mt-admin, the culprit was the plugin “post count.” Deactivating did not resolve the problem, however, until I re-activated it. This is not a new plugin and is the latest version, so why it suddenly borked is a mystery. (The plugin runs on every page in the sidebar.)

    What’s a pisser is WHY this happened when nothing was touched. Makes me really nervous that the WP install/plugins are this touchy to break out of the blue without any other modifications. If I’m tweaking things and it borks, I understand. But to work/not work without reason…weird.

    But, at least, it’s back up…for now! ??

    You can’t use %category% in permalinks in 1.5 if your host runs Apache 1.3.x (which the majority do). Hopefully they’ll fix this, and there are a few workarounds here and here, but neither worked for me. YMMV.

    I ran this down through a myriad of suggestions here and unfortunately never got the %category% permalink to work…I don’t think it does reliably in 1.5. I had to go to a date-based peramalink and create a lengthy list of redirects in my .htaccess to keep Google links alive from when my site worked with category permalinks under 1.3.

    I stopped using POM after upgrading to 1.5…never worked. A query about this to POM went unanswered, so I used individual ping targets now instead.

    Thanks, ryan, but none of those workarounds suggested worked. As I posted on mosquito, I get either the same “sorry, no posts…” or a 404. For now I rolled back to the beta version I was using for the corporate newsletter site, and it looks like I’ll have to stay with that version for good. ;-(

    Also tried your plugin but it gave me the same results, even when replacing (.+) with the other string suggested.

    Any fix for this? I have a wpress installation completely borked because of this jewel (I do have apache 1.3.33), and rboren’s rewrite alternative resulted in 404s.

    I’ve shutdown 1.5 and gone back to 1.3, which works fine with the same permalinks structure of /archives/%category%/%postname%/ but 1.5 cannot do this for me.

    ??

    I should note that I cannot use date-based permalinks in this particular install, it has to work with the category permalinks or I’ll have to stick with 1.3.

    Forum: Everything else WordPress
    In reply to: WP Tshirt

    For an alternative to CafePress (and one pointed at blog-things), check this out:
    https://www.blogtshirts.com/index.htm

Viewing 15 replies - 1 through 15 (of 49 total)