Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter realish

    (@realish)

    I got this sorted out. Thanks!

    Thread Starter realish

    (@realish)

    Michael, looking at my old wp-config (which I backed up), here it is in its entirety (w/ specifics x’d out):

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘XXX’); // The name of the database
    define(‘DB_USER’, ‘XXX’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘XXX’); // …and password
    define(‘DB_HOST’, ‘XXX’); // 99% chance you won’t need to change this value

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    I don’t see any setting for table_prefix to copy over!

    In the new (current) wp-config, there’s this:

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    But that’s just how it came — I didn’t change anything.

    Nope, HandySolo, it’s not checked there either — never has been, as far as I know.

    Hm … there were a bunch of < br > tags in the code sample above, but they got screened out. You get the point.

    OK, let me be a little more specific about what’s happening.

    First, yes, all three boxes on the Options > Writing page are unchecked. Confirmed. Your plugin turning off wpautop is activated. Confirmed.

    I have a post with a table in it, composed of image thumbnails. (Yes, I know tables suck, and I no longer use them, but these are old legacy posts, and there are a bunch of them.) The first bit looks like this:

    <table cellpadding="5" cellspacing="5">
    <tr>
    <td><img src="/images/dcnyc/tn_dcnyc01.jpg" alt="dcnyc01.jpg" width="100" height="75"/></td>

    And so on, with many cells and rows.

    When I publish and view source, here’s what it looks like:

    <p><table cellpadding="5" cellspacing="5">
    <tr>
    <td><img src="/images/dcnyc/tn_dcnyc01.jpg" alt="dcnyc01.jpg" width="100" height="75"/></td></p>

    I’m at a loss. How can I keep this unwanted, unrequested code from screwing up my posts against my will? And what kind of insane CMS forces this stuff on me with no way for me to turn it off?

    Oh, and FYI: Otto, I installed and activated your plugin, and WP is STILL adding p tags around my HTML.

    Maddening.

    Sorry, Otto, that came off a little snippier than I intended. I appreciate you trying to help. I just can’t believe something this fundamental has been left out of WP. It never would have occurred to me to even ask about it. Now I’m rethinking my decision to switch to WP at all.

    Otto, that’s a weak argument. “Most” WP users don’t want to do anything but post periodic text chunks, yes. But why not allow power users more control, if only in the advanced options?

    For my part, I’m importing a buttload of posts from a previous blog. Those posts already have the HTML coded in them, and the additional p’s and br’s WP is adding is making them look stupid. So I want to disable the stupid filer on *those posts*, but not on future posts.

    I honestly can’t believe nobody’s written a straightforward plugin to do this. Can it really be that hard?

    HandySolo,

    Sorry to burst your bubble, but I’ve been to those other threads and NONE of the plugins linked there do what everyone in this thread is asking for. Some of them allow you to post code snippets, but that’s a narrow problem.

    What I want — and I’m obviously not the only one — is the option to have WordPress only use the HTML that I explicitly include. That means not adding those obnoxious line breaks and paragraph marks. Every other CMS I’ve used has this option. It’s a simple check box — how confusing could it really be?

    Has anyone found a plugin that actually does this? The latest one I tried was TextControl, but — shocker — it didn’t work.

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