hanabel
MemberForum Replies Created
-
Thanks, Syahir. That’s how I would have expected it to work (in Drupal theming, you override base theme template files intentionally). I had read the WordPress documentation and your sticky forum instructions, but missed your documentation page, where the hazards of replacing template files is way more clear. Of course that makes sense given how WP templates are built.
Thanks to your clear documentation and good code, it was easy to fix, and I will get my few alterations into the functions.php file so this doesn’t happen again.
Again, thanks for your support and your work. Much appreciated.
I copied over the header from Graphene 1.7 into my child theme folder and re-customized it and things are looking better. I didn’t realize that customizing specific files in a child theme was so dangerous. I’m primarily a Drupal themer these days, and the pieces work very differently in a Drupal theme.
I don’t know why this issue showed up only when the site was moved, either. That might be a coincidence/red herring.
I changed the title to
<title><?php wp_title( ” ); ?></title>
in my custom header file. That got rid of the error, but the site is still totally broken.
I have no idea what happened. This has never happened to me before! I have no idea if it has anything to do with the server/domain move. I wasn’t in charge of that part.
Ah! This must be related to the original difference in syntax that caused this thread, I’m guessing. All fixed now.
Thanks to you both! You guys rock.
Okay, in the updated loop-children.php file, there’s this:
/* Get the child pages */$args = array(
'post_parent' => $post->ID,
'orderby' => 'menu_order title',
'order' => 'ASC',
'post_type' => 'page',
'posts_per_page' => -1
);
$pages = new WP_Query( apply_filters('graphene_child_pages_args', $args ) );
My child theme loop-children.php file has a comma between menu_order and title, like this:
'orderby' => 'menu_order, title',
Which one is correct?
The page orders are set correctly. They’re ordered correctly in the admin, and in the drop-down menus. Just not on the parent page.
I am using a very light child theme. When I switch back to the Graphene base theme, the page order is correct. I followed your instructions (linked on this forum) for creating a child theme to the letter. I think I have a child loop-children.php file, and I’m wondering if that’s the culprit. In which case, I’m sorry I bugged you, but I appreciate the help. I will look into it when next I’m working and see if that’s the problem.
Thank you!
Yeah, it appears that in the latest version of functions.php, the whole
'sort_column' => 'menu_order, post_title',line is entirely missing. Is this going to be fixed? I don’t want the org I’m building for to update their theme one day and lose their page order. How can I move this to the child theme if it’s not going to be fixed?
Thanks!
Edited to add: Oh wait, maybe Josh was just saying that. I’m confused. Right now, child pages don’t list in order on parent pages. Help?
Hi,
I fixed this, but it broke with the last update. I have a child theme. Is there a way I can neatly fix it in my child theme? Or will this get fixed in the base Graphene theme?
I’m not sure why people wouldn’t want page ordering fixed in the base theme.
Can anyone advise me the best way to keep this fixed for my clients after I leave them with their site? (They’re a small nonprofit on a budget–they need to be able to update the base theme without worry without regular techie.)
Thanks!
In reply to: Child page thumbnails persist on parent page after child page image has been deleted
October 28, 2011 at 9:39 pm #19004My bad! So it’s totally a WordPress thing and not a theme thing (I am coming back to WordPress after a few years building only in Drupal).
The images were still attached to the Page in the Media gallery. I removed them and the thumbnails went away. Not so intuitive for my clients, but I will teach them how to deal with it and then they’ll be all set.
Thank you!
Viewing 10 posts - 1 through 10 (of 14 total)
- 1
- 2
