• MikeLibman

    (@mikelibman)


    Hey there,
    I have created a static page using wordpress.org and some php functions I found in the WordPress documentation but now I am trying to make it where users can come to that page and add a comment (like a review on a product just less intense).

    Here is the link to the page I have created thus far http://www.lamcel.com/informational-posts.php and here is a link to the wordpress backend that the static page runs off of http://architecturalpanels.info/wordpress/.

    Yes I know they have different domain names, both domains share the same database.

    Hope to hear from you guys soon 🙂

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

    (@kmessinger)

    Go to dashboard > pages > pages. Mouse over to highlight edit and click. Scroll down to Discussion and check allow comments.

    Thread Starter MikeLibman

    (@mikelibman)

    That doesnt show up on my static page… just the actual wordpress page, and they are all posts. All of them do allow commenting as well. The issue is that the comment box does not show up on my static page I created.

    http://www.lamcel.com/informational-posts.php

    kmessinger

    (@kmessinger)

    http://codex.wordpress.org/Pages
    A WordPress Page is typically not a post. It is an easy matter to created a Page. I am not sure why you seemingly took the hard way to do it. :^)

    Can you just recreate your page using the normal Page functions? It would give you much better control over your content.

    Thread Starter MikeLibman

    (@mikelibman)

    Lol Yeah I do tend to do things the hard way. The reason I did that is because instead of adding a new page for a different informational ‘page’ I used a post to have it more ‘bloggy’. The full website is not made on wordpress just that section used the CMS of wordpress so that my copywriters can add content without messing up the style of the page 😛

    Either way I’m not even sure if what I am asking can be done using WordPress. Was just something I thought would be cool for SEO purposes

    kmessinger

    (@kmessinger)

    Just for fun, I threw your code into a wp page. Very ugly but it could be massaged. I will leave it there for a little while.
    http://www.ourexcellentadventures.com/test-2/

    Thread Starter MikeLibman

    (@mikelibman)

    But you see each HR is a new post… so how can I have some one comment on each post i made through my website.

    kmessinger

    (@kmessinger)

    Can you add comment code to each of the pages?

    <div id="comments">
    <div id="respond">
    <h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/wordpress/?p=51#respond" style="display:none;">Cancel reply</a></small></h3>
    <form action="http://architecturalpanels.info/wordpress/wp-comments-post.php" method="post" id="commentform">
    <p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p>
    <p class="comment-form-author"><label for="author">Name</label> <span class="required">*</span><input id="author" name="author" type="text" value="" size="30" aria-required='true' /></p>
    <p class="comment-form-email"><label for="email">Email</label> <span class="required">*</span><input id="email" name="email" type="text" value="" size="30" aria-required='true' /></p>
    <p class="comment-form-url"><label for="url">Website</label><input id="url" name="url" type="text" value="" size="30" /></p>
    <p class="comment-form-comment"><label for="comment">Comment</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p><p class="form-submit">
    <input name="submit" type="submit" id="submit" value="Post Comment" />
    <input type='hidden' name='comment_post_ID' value='51' id='comment_post_ID' />
    <input type='hidden' name='comment_parent' id='comment_parent' value='0' />
    </p>
    </form>
    </div>

    Thread Starter MikeLibman

    (@mikelibman)

    Done http://architecturalpanels.info/informational-posts.php Sadly it doesn’t submit yet 🙁 but hey we’re getting closer 😀

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add Comments in Static Pages’ is closed to new replies.