jkmuller
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Infinite redirect issueAll resolved now–I had to go into PHPmyAdmin and delete some lines from the Redirection database manually. Strangely, they weren’t showing up on the plugin page, but there were four redirects right there in the plugin.
Forum: Fixing WordPress
In reply to: Infinite redirect issueThanks MacManX. A plugin does seem to be the issue here, although I can’t understand why it would be doing that. I’ve disabled Redirection for the time being. I will update if I figure out how to fix it with the plugin enabled.
Forum: Fixing WordPress
In reply to: Uploader doesn’t actually upload file, but thinks it doesSame issue, the file uploader seems to work but the file doesn’t upload.
Forum: Fixing WordPress
In reply to: Links in pages are incorrect, add domain nameSolved it. Also, I don’t think it’s the same as that other post I linked to any longer. The problem was that links without http:// were having the domain name substituted in front of them. Adding http:// before a http://www.whatever.com link solves that problem.
Forum: Fixing WordPress
In reply to: Links in pages are incorrect, add domain nameI’ve looked in the editor, HTML not visual, and the links look just fine. It’s somewhere between the database and the displaying of the page that the links become changed. As I mentioned, the plugin is gone.
My problem sounds exactly like this problem: http://ww.wp.xz.cn/support/topic/209064?replies=3
Maybe something is up with the newest WordPress version?
Forum: Fixing WordPress
In reply to: Custom database query selecting posts of one categoryExcellent Otto, that did the trick. I can never figure out the best way to implement something. Thanks!
Forum: Fixing WordPress
In reply to: Custom database query selecting posts of one categoryUnless I’m misunderstanding the category template, I think I need something more. I’m trying to populate a list with recent posts of a certain category on the main page of a blog. This seemed like the simplest solution to me, but I’m not extremely familiar with WordPress.
The site is http://f-investors.com/, and the area I am trying to create a list in is below the “What’s New” header at the bottom left of the page.
Forum: Themes and Templates
In reply to: Removing Line BreaksThe problem was that the post ratings plugin uses div tags, but is easily editable to use span tags instead.
Forum: Themes and Templates
In reply to: Removing Line BreaksI wish I had read that a year ago. I suppose that’s the difference between using a div and a span tag for classes and ids?
Thanks!
Forum: Fixing WordPress
In reply to: Category Page Sorting LinksSorry for the confusion moshu. Any idea how it could be done? Someone must have done this at some point. Maybe I will have to create a function.
Forum: Fixing WordPress
In reply to: Category Page Sorting LinksAh I see the problem. The site you linked to is the one I want that feature to work on, it currently only has links. The links do nothing. Have you seen this feature implemented on any sites? I’m just not experienced enough to figure out how to do it.
Forum: Fixing WordPress
In reply to: Category Page Sorting LinksMoshu, I don’t understand what you mean. I’m really not sure how to go about doing this, although I know enough PHP now to implement most features with some direction.
Forum: Themes and Templates
In reply to: Query author’s commentsSolved. My solution was to add this section of code:
<?php $querystr = " SELECT * FROM $wpdb->comments WHERE $wpdb->comments.comment_author = '".$curauth->user_login."' AND comment_approved = '1' ORDER BY comment_date DESC"; $results = $wpdb->get_results($querystr, OBJECT); $i=0; foreach ($results as $comment) : ?>Then I added the necessary HTML interspersed with variables such as
<?php echo $results[$i]->comment_content; ?>
I ended with `<?php
$i++;
endforeach;
?>`Forum: Fixing WordPress
In reply to: How to get a custom table in the wordpress databaseI swear I didn’t steal it from you pizdin! Thanks for replying though.
Forum: Fixing WordPress
In reply to: How to get a custom table in the wordpress databaseLooks like I needed to add a:
global $wpdb;
So, the code should be:
function theme_query () { global $wpdb; $querystr = "SELECT * FROM custom_themes"; $themes = $wpdb->get_results($querystr, OBJECT); foreach ($themes as $themes) { echo $themes->title; } }