Snaggletooth
Forum Replies Created
-
No idea anyone? I hope this plugin is not dead.
Forum: Requests and Feedback
In reply to: Changing www.ads-software.com username causing troubleYes, it’s all working now. Thank you.
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Using Yasr in templateToo bad. Nice plugin otherwise.
Forum: Fixing WordPress
In reply to: Making parent and first child page the same (url and content)Thanks vtxyzzy,
That’s what I ended up doing. Actually I thought about it myself, but didn’t think it was the best idea because of the dependency on the permalink structure. Well, did it anyway…Forum: Fixing WordPress
In reply to: Single (latest) post on page, with comments?YES! It works. Thank you so much. The documentation is not very intuitive. What a luck there are people like you. Have a great weekend.
Forum: Fixing WordPress
In reply to: Single (latest) post on page, with comments?Sorry this is all going a bit slow…
Here is the code:
https://wordpress.pastebin.com/4EL76b7aForum: Fixing WordPress
In reply to: Single (latest) post on page, with comments?Thanks again. Pagination works now. And you are right – comments_template() was placed outside the loop. But now that it’s inside it still won’t work (sigh).
Forum: Fixing WordPress
In reply to: Single (latest) post on page, with comments?Thank you. That was very helpful. The problem is still not completely solved though.
Calling comments_template() does not work so I tried get_template_part(‘comments’) that for some reason only returns the submit form. Now calling get_comments() lists the comments but I would need to place all the html from comments.php again (what I don;t feel like doing).Another problem is, that the next_posts_link() and previous_posts_link() don’t work anymore. They return a url like this: …/?page_id=6&paged=2
What I did for a workaround now is using the query_posts() function from above to retrieve the permalink of the latest post and using this link in the navigation. Like this the content is displayed through single.php so that I have the full post, the comments and the previous/next post links. Disadvantage of this is that the url in the main navigation is always changing with a new post.
By the way – the theme I am working with is a customized Empty Canvas
Does someone have an idea how to tackle the problem of displaying the post on a page using the comments.php template and with working previous/next links?
Forum: Fixing WordPress
In reply to: Navigation links after moving WordPressWhen you generated the navigation in wp admin it’s not static.
Where do the links point to and where should they point to?Forum: Fixing WordPress
In reply to: Navigation links after moving WordPressIs the navigation static? Then look in header.php.
Otherwise search your db for ‘localhost’ or ‘127.0.0.1’ to see if there’s anything unchanged left.Forum: Fixing WordPress
In reply to: List recent commentsAha! (light turns on) very helpful indeed.
Used it to list author comments on the profile page (author.php)
by adding ..AND user_id='".$curauth->ID."'
.. to the db query.