Forum Replies Created

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter 1db

    (@1db)

    I’m sorry to hear that; it seems to be a good plugin otherwise. I don’t understand why developers insist on styling their output rather than making it an option.

    Thread Starter 1db

    (@1db)

    Well, I think I know what the problem was…not WHY it was a problem, though. I attempted to save down-time on the site by uploading everything — themes, plugins, etc. — before going through the installation. Something about that was stopping WordPress in its tracks. I deleted everything and started over with a fresh install, without uploading my custom theme or any plugins besides the default two, and the installation came off without a hitch.

    • This reply was modified 8 years, 3 months ago by 1db.
    Thread Starter 1db

    (@1db)

    Actually, I solved the problem. I still don’t know why it happened, but it doesn’t happen anymore.

    This whole thing started because the default fields display with a colon after the label, and I didn’t want one; so I disabled the default fields and set up duplicates with the labels I wanted. Pointless, I know now, because you can simply rewrite the labels, but I didn’t know that then.

    With the default fields activated, the form works flawlessly. Without them, it gives that weird 404 error. I solved that by setting a redirect to a thank you page and setting the time to 0, so the 404 never showed, but it was still trying to execute that way. When I went back to the default name and email fields, and simply rewrote the labels, the form works perfectly.

    Thread Starter 1db

    (@1db)

    Well, that was easy. Any idea of why that worked?

    As for getting the article to show up on the home page, it was a matter of making a custom loop

    <?php
        query_posts(array(
        'post_type' => 'article',
        'showposts' => 1,
        'category_name' => 'featured-article'
        ) ); 
    
       if( have_posts() ):?>

    Not being a programmer, I don’t know if this is the “proper” or the most elegant way of doing it, but it works.

    Thread Starter 1db

    (@1db)

    In the form, I replaced this:

    <textarea name="comment" id="comment" rows="10" cols="" class="textbox"></textarea>

    …with this:

    <?php wp_editor( $listing->post_content, 'listingeditor', $settings = array('textarea_name' => post_content, 'textarea_rows' => 8) ); ?>

    That displays the TinyMCE editor, and it works while typing but it won’t submit.

Viewing 5 replies - 16 through 20 (of 20 total)