WordPress.org

Ready to get started?Download WordPress

Forums

ELI's Related Posts Footer Links and Widget
[resolved] Home page shows full articles, not links (8 posts)

  1. squipple
    Member
    Posted 2 years ago #

    When I select the radio button to show the links on the home page, I get the full articles, not the links. Any ideas?

    http://wordpress.org/extend/plugins/spostarbust/

  2. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    please provide a link to your site so that I can see what you are talking about.

    If you don't want to post it here you can email me directly:
    wordpress at ieonly dot com

  3. squipple
    Member
    Posted 2 years ago #

    ok, sent you an email.

  4. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, I just spent the last hour debugging my plugin on your site and found it's not my plugin that is the real cause of your issue.

    It appears you have really hacked up the index.php page in the twenty eleven theme. It is no longer using the stand WP query method and so my plugin will not be able to properly determine what posts are being displayed on the home page. I am using wp_reset_query() after my loop but since you are not using the standard query loop that just causes it to loop through all the posts that would have been displayed in the standard query.

    If you just want to list one post per page on the home page I would suggest going back to the standard loop in the index.php page and just changing the WP setting for Number of posts to display per page to one. I would be happy to help you more but I already spent a lot of time troubleshooting your site for using my FREE plugin. Next time you should test it on an uncorrupted theme first to see if it's really the plugin's fault, or at least warn the developer that you have make custom modification when you ask for help.

    No hard feeling though. This is a learning opportunity for both of us.

    If you found this helpful and would like to support my free plugin please make a donation.

    Aloha, Eli

  5. squipple
    Member
    Posted 2 years ago #

    Yeah, I thought it may have been because of that. I did that because I didn't find an easy way to make the layout for single.php be on the front page. So, I just made a duplicate of the single.php code for the front page.
    That said, and as I said in the email I sent, I did save the old index.php code and tested your plugin with the original code. I get the same result with the original index.php.
    Yes, no hard feelings. You've spent enough time on it already. I'll figure it out on my own. Thanks for your help.

  6. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    If you want to try my solution, posted above, and use WP settings to create the single effect then I would still be willing to troubleshoot my plugin.

    I do want my plugin to work for you but there were too many competing factors and I didn't want to go ridding apart your site to get it working ;-)

    There are the post_link_plus and co_author functions in there that might be interfering as well but I would want to be sure.

    Please let me know if you want to try my suggestion or if you get it working another way.

    Aloha, Eli

  7. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    squipple,

    Is this issue resolved?

    If so, please change the status of this topic to "Resolved".

    If not, please let me know what I can do.

    Aloha, Eli

  8. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    So, in looking at your site I can see that it is fixed now. When you had all three posts on the home page my plugin wouldn't show any links because the only posts to link to are already showing. I have written the plugin to not duplicate links or link to posts that are already showing on the current page. You should only see related post links if there are related posts that are not on the current page.

    I am setting the status of this topic to "Resolved".

    Please let me know if there is anything else you find that doesn't work right.

    Aloha, Eli

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic