• Resolved OliviaJLin

    (@oliviajlin)


    Dear WordPress Community,

    I have spent over 8 hours looking for solutions to these problems on google and the www.remarpro.com forum, but nothing has worked.

    On my www.remarpro.com website https://www.olivialin.com clicking read more, leave a comment, or next page, does not work.

    Here is my index.php: https://wordpress.pastebin.ca/2026132

    Problem 1:
    Clicking read more on the post “12th test post” leads me to https://www.olivialin.com/?p=49#more-49
    I want it to show the full post/entry.

    Problem 2:
    Clicking leave a comment on the post “12th test post” leads me to
    https://www.olivialin.com/?p=49#respond
    but there are no boxes for me to comment or see what others have posted
    I want to see what others have posted and be able to post.

    Problem 3:
    Clicking next page on the post “12th test post” leads me to
    https://www.olivialin.com/?p=49&paged=2
    where I cannot see the next set of ten posts.
    I want to see the next set of ten posts.

    Thank you for your valuable time and help.

    Sincerely,
    OliviaJLin

Viewing 2 replies - 1 through 2 (of 2 total)
  • it seems that your theme dos not have a single.php template file;

    also, your index.php seems to have a custom query which always generates the same sequence of posts.

    first step:

    – make a copy of index.php and save it as single.php – then remove the custom query from that single.php

    if you need help with checking the templates, you could paste the code of index.php into a https://wordpress.pastebin.com/ and post the link to it here.

    then report back here if you still have probelems.

    Thread Starter OliviaJLin

    (@oliviajlin)

    Hello alchymth,

    Thank you so much for your valuable time!

    I have made a copy of index.php and saved it as an uploaded single.php template file. But I could not find where the custom query was, so I tried to remove the only line in the index.php file that said “query” – query_posts(‘showposts=10’);.

    Also, I uploaded a archive.php, and page.php file.

    Here are the revised and newly uploaded codes of the files:

    index.php
    page.php
    archive.php

    Please continue to offer your specific and helpful advise as the read more, comment, and next/previous button still do not work.

    Thank you!
    -OliviaJLin

    Edit: It seems like when I removed query_posts(‘showposts=10’); it caused the blog to automatically state “Sorry, no posts matched your criteria.”. Thus, I have re-edited the query_posts to query_posts(‘showposts=5’); so that this is the current index.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help!: Read More, Comment, Next/Previous Button’ is closed to new replies.