Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hilltopdesign

    (@hilltopdesign)

    I had done that, but I was still seeing Comments Closed, deleting the code that displays those words, in some themes, still leaves a blank area in the theme where those words had appeared. It’d rock to have a plug in to take care of all of this sort of thing in one fell swoop.

    Forum: Plugins
    In reply to: WP Contact Form III

    Hi there,
    Just a thought- is it a line of code something like <-contact form-> sort of thing, where you need to embed it into a Contact page?

    If it is, go back into the editor, switch the editor mode from VISUAL to CODE, paste in the snippet of code, sve it, and see if that did the trick.

    If not, hopefully someone with a clue might jump in, this is all I can help with.

    I haven’ tried it, but what about creating two new installs of wp- yours and hers. Then, on the main one, add RSS feeds from each blog to the main blog’s post?

    Or find a way to create just an html page as a splash page, with rss feeds embedded into the page.

    Just a couple of thoughts that popped into my head.

    Thread Starter hilltopdesign

    (@hilltopdesign)

    Sorry for the delay, my appendix decided I needed a break from this stuff for a while. 😉

    Ok, I added it to the index.php
    I used the default theme to try this out by the way.
    Adding this bit to the loop, or just under the beginning of the loop, added a delete post button at the top of the page, right under the header area. If there were two posts visible, as you’d see visiting the site, hitting the button would generate an error message. So I clicked a post, thinking it’ll work inside a single post being di
    splayed, but that didn’t work either.

    It was inserted just under this line:
    <?php if (have_posts()) : ?>

    Clicking it leads to this error:
    Not Found
    The requested URL /wp-admin/post.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    —————————————————-

    I just put everything back to where it was before, but this time, added that code just above the end of the loop:

    <?php endwhile; ?>

    This is getting closer, now it puts a delete post link underneath each post, and now, with the page showing the two test posts that I’ve made, shows two individual buttons. However, clicking them fires off the same error message as earlier.

    For what it’s worth, this is where it’s trying to go, which is where it’s tossing the error.
    http://www.hilltopdesign.com/wp-admin/post.php?action=delete&post=3&_wpnonce=1c4ad2d4cd

    Pasting that here, I just spotted the flaw. AHA!

    The code assumes the wordpress install is off the root of the main domain name, but actually, there’s two installs, one is in a directory http://hilltopdesign.com/findthepie/

    WordPress is installed inside the findthepie directory.
    I just went into the code and added /findthepie/ to the snippet, and viola, it works like a charm.

    It’s scary that I’m figuring this stuff out. 😉

    Now that I know how to get it to work, it’ll come in handy for my regular wp install. And going through this will remind me to check the path like this for other issues the come up.

    Now I can go and import 5 years worth of journal entries and start editing the things.

    Thanks a million for the snippet, this is nifty.

    Thread Starter hilltopdesign

    (@hilltopdesign)

    Hmm… I can’t get it to work.

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