trex33
Forum Replies Created
-
Forum: Plugins
In reply to: Query Multiple Taxonomies Plugin – error if no matchHi Scribu – just locally. I think your plugin is essential for squeezing the most out of custom taxonomies.
Forum: Fixing WordPress
In reply to: How to retrieve multiple pages using query_posts?Perfect! Thanks as always Michael. I didn’t even know post__in existed.
Forum: Fixing WordPress
In reply to: if is a page, or a child of a page, or in a category (a solution)Excellent one! Thanks for adding this.
Thanks Greenshady. I think I see what you mean. Lately I’ve been using category templates instead of posts, which is where I got confused.
In your People>Will Smith example, I would create a post (instead of term description) to use as my main content block for a Will Smith page. Then I create a People template. In the template, I pull in the description post about Will Smith. I then have the freedom to create separate queries for related content (e.g., Horror Movies tagged with Will Smith, Comedies tagged with Will Smith, etc.).
So in the end, you get a page about Will Smith that has loads of related content. Anyhow, thanks for clearing that up for me and keep up the great work!
Forum: Fixing WordPress
In reply to: All In One SEO not working with category templatesFound solution. If you’re having same problem with All in SEO and category templates try switching to Headspace2 plugin. That seems to have addressed issue of category templates, even where subcats are inheriting template of parent cat.
Forum: Plugins
In reply to: Auto-display category RSS feed in category.phpCORRECTION: I discovered problem with code above. It creates invalid links when there are multiple pages for the category.
<a href="<?php bloginfo('url'); ?> <?php echo $_SERVER["REQUEST_URI"]; ?>feed">RSS Feed for Category</a>
The solution below appears to work better. It uses the WP template tag get_category_feed_link and then inserts the category dynamically. You place this in your category.php template.
Forum: Fixing WordPress
In reply to: Admin search of subcategories not working in 2.7.1nellyy, I have not found a solution yet. Are we the only ones having this problem?
Forum: Fixing WordPress
In reply to: Can search load a category instead of a results page?Try this plugin
Forum: Fixing WordPress
In reply to: Bug in wp_list_categories? Number not working w/ child_ofVersion 2.7.1 has fixed this issue.
Forum: Fixing WordPress
In reply to: Bug in wp_list_categories? Number not working w/ child_ofThanks Michael. Is this a bug or not a feature? If you can limit number of parent cats, it would seem logical that you should be able to limit number of subcats.
Depending on your answer to question above, where can I report bug or request new feature?
Forum: Fixing WordPress
In reply to: Bug in wp_list_categories? Number not working w/ child_ofThanks Michael but I thought depth paramter controls how many levels of subcats show? I am just trying to limit number of 2nd level subcats that display. For example:
Parent Cat
2nd level subcat1
2nd level subcat2
2nd level subcat3
2nd level subcat4
2nd level subcat5
2nd level subcat6Let’s say I try to limit these 2nd level subcats to only display 3 of them (e.g., “number=3”). That’s when wrong amount is displayed (usually none or less than specified limit).
Forum: Fixing WordPress
In reply to: Exclude subcategories from the_categoryFYI, I found a great plugin related to issue of the_category. Instead of excluding categories from the_category, it enables you to show the subcatories of a specific category that your post is associated with. Use it in the loop.
https://oneserving.com/site-news/wordpress-plugin-show-post-subcategories/
Forum: Plugins
In reply to: Auto-display category RSS feed in category.phpFor what it’s worth, here was the solution (after much hair pulling). Display the blog url, then add the dynamic portion of the url followed by “feed”:
<a href="<?php bloginfo('url'); ?> <?php echo $_SERVER["REQUEST_URI"]; ?>feed">RSS Feed for Category</a>
Forum: Fixing WordPress
In reply to: How do I display current category slug in pageThere is an excellent plugin for this which adds a template tag for category slug. Upload the plugin and then just add the category slug template tag in the loop
Forum: Fixing WordPress
In reply to: Querying posts over the past X daysJimmiejo – many thanks! Works like a charm.
Only issue is some kind of conflict with PageNavi plugin. Still shows all of the pages even if there is only one. No problem though.