Christopher Stevens
Forum Replies Created
-
Forum: Plugins
In reply to: [Etsy Importer] Etsy Importer: Custom post type breaks category/tag pages?Hello Michael,
Just a quick follow-up. After I started adding test content to the site, the issues I was having with category URLs went away. With that, I would say this request is resolved! Sorry to bug you this. 🙁Thanks for your support.
UNRELATED and OPTIONAL:
Before I start pulling out wires and fuses with some custom requests, are you familiar with a plugin that makes custom lists of Etsy products (or any post type) customize-able? So far I’ve tried Advanced Post List, but its settings page won’t load when both Etsy Importer and Advanced Post List are enabled. My gut says I just need to roll up my sleeves and create a custom widget for my custom request (a products listing page with columns and thumbnails).Onward!
Forum: Plugins
In reply to: [Etsy Importer] Etsy Importer: Custom post type breaks category/tag pages?Thanks for the super fast response!
I’ll give it another go today or tomorrow with fresh eyes. I don’t mind developing a widget if needed as well. I’ll let you know what I find in regards to enabling the plugin causing default category pages and such to break. I’ll add plenty of test content and take it out of my local environment to see if that makes a difference as well.
Updates soon!
Forum: Plugins
In reply to: adding posts externally: assigning a category?I had some other code messing things up. All is well now!
Forum: Installing WordPress
In reply to: moved blog location, upgraded files, it hates me nowYep I just need sleep or something. Thanks!
Forum: Installing WordPress
In reply to: moved blog location, upgraded files, it hates me nowupdate: Well, I think I found the problem. It’s fighting with my old installation still present in my root directory. It’s redirecting there. hah! I may be able to fix this. I’ll post if I have any other troubles.
Forum: Fixing WordPress
In reply to: mysql query for all posts in “news” category?Here’s what worked for me. It makes sense as a post can be in multiple categories:
SELECT * FROM wp_posts p LEFT OUTER JOIN wp_term_relationships r ON r.object_id = p.ID LEFT OUTER JOIN wp_terms t ON t.term_id = r.term_taxonomy_id WHERE p.post_status = 'publish' AND p.post_type = 'post' AND t.slug = 'news'Forum: Fixing WordPress
In reply to: mysql query for all posts in “news” category?Hmmm. That’s what I remember as well. The last release I downloaded has wp_posts (no wp_content), and post_category number there is always showing up as 0 on every post. Posts on the test site are clearly in “news” or “testimonials” categories. I’ll keep digging. Let me know if additional thoughts come up. Thanks much. 🙂
Forum: Plugins
In reply to: How would I work with dates as custom metadata?mercime, MichaelH,
Good points. I’ll look around some more and maybe even create a small plugin based on other stuff I’m seeing. This would be a great opportunity to dig into wordpress functionality more. I was thinking about converting then storing the event dates as keys in seconds. That way I could specify a range better in the query, and sort nicely. Now I just need to dig around for the plugin hooks I need and make a plugin.Forum: Plugins
In reply to: How would I work with dates as custom metadata?I’m not always a fan of the easy way. The calendar plugin is a good reference that I will look at, but it’s overkill for the website I’m working on. Maybe I should post with the actual post date as the event date. That would make it easier to run wordpress queries on anyway. I would just hide or reformat the post date as the event date for the “upcoming events” category, and any single post in that category.
What are your thoughts? Thanks for the feedback. 🙂
Forum: Fixing WordPress
In reply to: How do I not include a formatting seperator after last post on page?Ah! High five for solving my own problem. Here is the solution:
<?php $numPosts = count(get_posts('numberposts=null')); $postInt = 0; ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php the_title(); ?> <?php if($postInt < $numPosts - 1) { ?> <hr /> <?php } //end if ?> <? $postInt++; ?> <?php endwhile; ?> <?php endif; ?>Forum: Fixing WordPress
In reply to: understanding get_the_category(), multiple cats, and parentsOh! That should set me straight. Thanks! 🙂
Forum: Themes and Templates
In reply to: blog posts and pages – sidebar and navigation questionsdrphil9001,
Thanks for the feedback! That gives me more to absorb and play with this evening. I’ll post if I come up with something that works. 🙂