luhmann
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: List related posts in same categoryI copied your post to this new page, linked from the Wiki Hacks page:
https://wiki.www.ads-software.com/index.php/Related%20PostsForum: Fixing WordPress
In reply to: List related posts in same categoryWorks great! Thanks!
Forum: Fixing WordPress
In reply to: List related posts in same categorywhere is the get_archives function? I don’t see it in functions.php or in the category template functions document.
Forum: Fixing WordPress
In reply to: List related posts in same categoryDavid,
I sent you an e-mail, I hope you got it.
The get_archives function might do the trick, I just need a link list of all the posts in the current category, not anything fancy. I don’t even need it limited as there will not be many posts in the category. But perhaps other people would find a customizable solution helpful.
Thanks.
– LuhmannForum: Plugins
In reply to: Help: list all posts in same category as current pOops. That was meant for the other thread. (I really wish they would use PHPBB for these forums instead of miniBB – miniBB is very difficult to use – and it difficult to read as well.)
Forum: Fixing WordPress
In reply to: List related posts in same categoryDamn, forgot to escape the HTML section – but I guess that doesn’t matter, it is the loop I need to work on.
Forum: Fixing WordPress
In reply to: List related posts in same categoryTwo problems. #1 is this:
SQL/DB Error:
[You have an error in your SQL syntax near ‘ORDER BY post_status DESC, post_date DESC LIMIT 30’ at line 1]
SELECT DISTINCT * FROM wp_posts WHERE (post_status = ‘publish’ || post_status = ‘sticky’) AND post_category= ORDER BY post_status DESC, post_date DESC LIMIT 30
The number 2 problem is I’m not sure how to write the loop. I know it should look something like this, but I’m not sure how to modify it:
$cat=posts_of_cat();
$blog=1;
require_once(“wp-blog-header.php”);
foreach ($post as $posts) { start_wp(); //start of loop
?>Forum: Plugins
In reply to: Help: list all posts in same category as current pTwo problems. #1 is this:
SQL/DB Error:
[You have an error in your SQL syntax near 'ORDER BY post_status DESC, post_date DESC LIMIT 30' at line 1]
SELECT DISTINCT * FROM wp_posts WHERE (post_status = 'publish' || post_status = 'sticky') AND post_category= ORDER BY post_status DESC, post_date DESC LIMIT 30
The number 2 problem is I’m not sure how to write the loop. I know it should look something like this, but I’m not sure how to modify it:
$cat=posts_of_cat();
$blog=1;
require_once("wp-blog-header.php");
foreach ($post as $posts) { start_wp(); //start of loop
?>Forum: Fixing WordPress
In reply to: XML-RPC FixesThings seem to be working fine with ecto as of this morning’s (3/21) CVS.
Forum: Fixing WordPress
In reply to: List related posts in same categoryOf course, the last tag is closed – but it won’t let me edit something twice in a row. Some kind of spam protection which only seems to affect editing posts, not actually posting…
Forum: Fixing WordPress
In reply to: Link Description wierdnessI finally figured this out. Some of my links were in the pre-defined “link” category, while others were in a new category I had created. I had not paid attention when creating a new category, but you can set what is “shown” for each category. I had one set to show descriptions, and the other set not to.
Forum: Fixing WordPress
In reply to: Download from CVSI’ve added this to the Wiki CVS page.
Forum: Fixing WordPress
In reply to: Download from CVSI found a CVS app with a tutorial as well.
Here is the app:
https://www.sente.ch/software/cvl/
And here is a tutorial for Drupal. Just change the word “drupal” to “wordpress” and it should work:
https://drupal.org/book/view/2972Forum: Fixing WordPress
In reply to: XML-RPC FixesI don’t know if it has been fixed or not, but the last nightly build still didn’t provide a post slug for entries submitted with ecto.
Forum: Fixing WordPress
In reply to: Menu listing all posts in current categoryArghh!
It turns out that this hack doesn’t work at all. If you click on a “category” link it does show all posts in the category, but if you click on the permalink to an individual post it only shows that post, not the other ones in the same category!
HELP! (please)