clockeby
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme problem: Only header showing upWell, it has been rebuilt and I’m considering some additions as well but for the time being this post is closed.
Forum: Themes and Templates
In reply to: Theme problem: Only header showing upWell, no quick replies. I guess I’m now building a child theme based on twentyeleven and saving what I can from the old site.
Oh well. I’m sure it’ll be the best scenario in the long run but it’s going to be a long weekend.
If anyone has anything helpful for this undertaking other than the info listed on wordpress.org’s docs for theme help, fire away.
Forum: Themes and Templates
In reply to: Theme problem: Only header showing upBy the way, the site is at http://www.level70design.com.
If you need any further code examples or info, please let me know. I just need this working again, even if it’s just held together with duct tape and wires…
Forum: Themes and Templates
In reply to: Custom sidebarThanks, I think see what you’re saying. In function.php and the associated sidebar file (sidebar_custom.php) I use the full file name (sidebar_custom) but when calling it via the actual page I just use ‘custom’. Am I reading that correctly?
Does the separator matter? I mean, using sidebar-custom.php instead of sidebar_custom.php? Do I have a syntax error as well?
Forum: Themes and Templates
In reply to: Custom sidebarI’m haivng a similar issue…
Frumph, my sidebar pages are named like adelpha’s. I have some pages with like names (gallery, etc.) so I named the sidebar pages “sidebar-gallery” just to differentiate.
My issue is, the various sidebars are showing up in the widget page and I’m populating them with different widgets, but no matter what I put in, they all have the same widgets.
function.php:
if ( function_exists('register_sidebar') ) { register_sidebar(array('name'=>'sidebar_default', 'before_widget' => '<li>', 'after_widget' => '</li>', 'before_title' => '<h2>', 'after_title' => '</h2>', )); register_sidebar(array('name'=>'sidebar_gallery', 'before_widget' => '<li>', 'after_widget' => '</li>', 'before_title' => '<h2>', 'after_title' => '</h2>', )); register_sidebar(array('name'=>'sidebar_about', 'before_widget' => '<li>', 'after_widget' => '</li>', 'before_title' => '<h2>', 'after_title' => '</h2>', )); }sidebar_default:
<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_default') ) : ?>page.php:
<?php get_sidebar('sidebar_default'); ?>sidebar_gallery & gallery.php have the same code with the names replaced accordingly (gallery.php being a custom template page).
No matter what widgets I add in to those sidebars, every one of them is a copy of sidebar_default.php.
What am I doing wrong here?!
Thanks in advance!Forum: Fixing WordPress
In reply to: Page links without a listThe code above works great for formatting my page links but it’s listing every page on my site. Previously, I had this code:
<?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?>It would only show child pages of the parent page you were on, even on other child pages of that parent.
Is there a way to merge the two and get the formatting of your code and the child pages from the code I posted? Everything I try just makes the page list disappear completely.
Thanks in advance for your help on this!