Darren_S
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Atahualpa Incompatible with Widget Logic?Thanks for that. I found the wp_reset_query option and ticked the box. My widgets have
!is_front_page()
as their logic … but still show on the front page.Forum: Fixing WordPress
In reply to: Loops of Child Pages is Sorting WrongI’m still having this problem with WP 2.9.1 and the Atahualpa theme. Is anyone able to offer advice on sorting my child pages in the proper order? Or know why the standard query_posts variables above aren’t working as they should?
Thanks.
Forum: Themes and Templates
In reply to: Atahualpa Incompatible with Widget Logic?Thanks, Alan. I tried wp_reset_query, but I’m not sure I have the syntax right for the Widget Logic field in the widget:
wp_reset_query(); !is_front_page()
I’ve also read the WL FAQ, and generally just gotten the impression that it’s probably a conflict with my theme. The fact that it’s displaying correctly with the Default theme seems to support this. The Atahualpa theme does call wp_head, and I’m not sure what else to look for.
Thanks!
Forum: Fixing WordPress
In reply to: Query Child Pages of a Current Page and Loop Through Each Child PageFixed the first item, but the second is still thwarting me. My child pages are displaying in reverse chronological order, and I can’t seem to affect the sorting at all using the order and orderby attributes of query_post.
Here’s the relevant code:
<?php /* THE LOOP */ if (have_posts()) : ?> <?php /* This outputs the next/previous post or page navigation. This can be edited at Atahualpa Theme Options -> Style & edit the Center column */ bfa_center_content($bfa_ata['content_above_loop']); ?> <?php query_posts(array('showposts' => -1, 'post_parent' => $post->ID, 'post_type' => 'page')); while (have_posts()) { the_post(); ?>
I am using WP 2.8.6 with the index.php template in the Atahualpa theme.
Again, I’ve tried the order and orderby attributes in various combinations and placements — in this query_posts tag, in a separate one outside the loop, inside the loop, etc.
I think one thing that is throwing me off is that Atahualpa splits up “if (have_posts())” from “while (have_posts()) { the_post()”. Not sure if this is relevant at all, but everything I’ve found in the codex and the forum indicates that something like “order=ASC&orderby=menu_order” should work perfectly.
Thanks to anyone for the help.
Forum: Fixing WordPress
In reply to: Query Child Pages of a Current Page and Loop Through Each Child PageTrouble in paradise. Anyone have any ideas why the code above would display correctly when the template is used on one page, but fail to display the child items when the same template is used for a different page elsewhere in the tree?
Second: On the page where it does work, the items are being displayed in descending order. How can I display the items in page_order?
Forum: Fixing WordPress
In reply to: Query Child Pages of a Current Page and Loop Through Each Child PageThanks, equaldesign! This is a huge help. I am off to see how many different custom fields I can get away with displaying on the parent page, to create a fancy section menu in the main body.
Forum: Themes and Templates
In reply to: Skip Items In An RSS Feed?(Apologies if this belongs in the “How To” folder instead. I was associating feed creation with templating in my mind.)
Forum: Fixing WordPress
In reply to: WordPress 2.5.1 Still can’t upload imagesI had this problem, where I couldn’t use the new Add Media feature — white screen after clicking the “Insert into Post,” and the “Show” links under Media Library did nothing. (Also, the thumbnails didn’t show up under the Media Library.) Here is how I fixed it.
I followed the advice in this post:
https://www.ads-software.com/support/topic/164999?replies=1I updated Java and Flash, rebooted, and — here’s the key — disabled all my plug-ins. Suddenly the media manager was working just as it is supposed to.
After systematically reactivating plug-ins, it looks like the culprit was FeedWordPress 0.993. I’ve posted over there and hopefully we’ll get an updated fix that won’t interfere with the media manager. I imagine there are buckets of plug-ins that are doing the same thing.