JTWilcox
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Custom Fields Search] 404 Error in IE7 and 8Bumpin’. Am I barking up the wrong tree by trying to post this question for this specific plugin? Is this a broader wordpress issue? Thanks.
Forum: Plugins
In reply to: [Plugin: Multiple Post Thumbnails] Custom Post Type Registration & SupportsI did end up getting this to work. Didn’t have to do with setting supports on the custom post type registration. In functions.php, I added this line below the existing thumbnail code:
//Set second featured image if (class_exists('MultiPostThumbnails')) { new MultiPostThumbnails(array( 'label' => 'Secondary Image', 'id' => 'secondary-image', 'post_type' => 'videos' ) ); } add_image_size('second-image', 160, 95);
And then I called the thumbnail in my template using the normal way suggested in the plugin documentation.
So I made sure the post type was set. And then also make sure when you’re editing a custom post type post that the box for setting the secondary image is visible up in the screen options.
Forum: Plugins
In reply to: [More Fields] WYSIWYG field broken in WordPress 3.2Also looking for a fix for this. Don’t want the editor but want the WYSIWYG functionality in the text boxes.
Forum: Fixing WordPress
In reply to: Get Post Attachment URLs from the LoopI ended up working through this and getting to something that works for me. Here’s what I’m using:
This could pose a problem, however, because all it’s really doing is pulling the most recent attachment from the post. So if the attachment is not a PDF, it doesn’t know. And if there is a PDF and then someone attaches an image, it will grab the image.
Forum: Fixing WordPress
In reply to: Custom Taxonomy Plus Custom Fields in ColumnsI ended up figuring this out. In case anyone else has an issue with it, here’s an example of the code I used:
Forum: Themes and Templates
In reply to: Custom Column for Title using Custom FieldsHas anyone else found a different way to do this? ozzierod’s way would probably work but I want to be able to change this from within my theme so that updates won’t ruin the hack. I have the exact same issue as the OP.
Forum: Fixing WordPress
In reply to: Group Posts by Custom Field – AlphabeticallyHey aphill, I got it! I worked through those errors I was getting, spruced up the code very slightly, and now it’s working perfectly! Thanks so much for all of your help.
For reference, here’s my final code for this puzzle:
Forum: Fixing WordPress
In reply to: Group Posts by Custom Field – AlphabeticallyHere’s where I’m at right now:
Forum: Fixing WordPress
In reply to: Group Posts by Custom Field – AlphabeticallyYeah I just keep getting all sorts of syntax errors. Sometimes it just says something like “unexpected ‘?’ on line…” but I don’t know what it’s talking about. There’s no question mark.
Forum: Fixing WordPress
In reply to: Group Posts by Custom Field – Alphabeticallyaphill, I am getting some syntax errors on this one unfortunately. I found a couple instances of, I think, unclosed PHP tags. After fixing those, though, I’m still getting some syntax errors. Like an unexpected ‘;’ Any ideas? Thanks.
Forum: Fixing WordPress
In reply to: Group Posts by Custom Field – AlphabeticallyNo you’re right. I’m just saying I don’t know exactly what to put into that line to change it FROM post title TO prof_lastname. I’m just cobbling together various code I’ve found and don’t know the precise way to put them all together. Needless to say I really appreciate the help!
Forum: Fixing WordPress
In reply to: Group Posts by Custom Field – AlphabeticallyThanks, that is a lot easier than the query I was doing. The problem I’m having with that code, though, is that it ungroups everything. Maybe I should have explained this a bit better before, but I’m wanting the page to group and display posts like this:
A
Peter Alvin
James ArcherB
Tom Bombadil
…etc.
I guess I just don’t know how to plug that info into my loop to modify what I had. Particularly the line
$this_char = strtoupper(mb_substr($post->post_title,0,1,'UTF-8'));
Forum: Fixing WordPress
In reply to: PHP code to get current parent and all child pages?This code is great. One question: What if you have one additional level? So main pages, 1 level of child pages, 1 level of child-child pages (or however you want to say it).
Right now when I get to that lowest level, it only shows that level of pages, not any of the pages above it.
Thanks!
Forum: Plugins
In reply to: My Crack at a Client Login Section/Customer PortalWhoa, I hadn’t checked this page since I posted and had no idea people were getting any use out of this. I’m glad to see it’s helped some of you out and allowed you to streamline the whole thing even more. I’m sure there are better ways to do this now than when I originally made the page, anyway. Also, in case anyone else comes looking at this, I have removed the test page links from my original post. I have redesigned my site and no longer needed a client section. Sorry for the inconvenience, but hopefully the rest is enough to get you going. Thanks.