mister-bean
Forum Replies Created
-
Forum: Themes and Templates
In reply to: CUSTOMIZING HEADERS – in Autofocus themeIt’s certainly possible to customize. I’ve been using that theme, and have customized it just a bit. That said, it does seem to be slightly harder to customize than some of the other themes I’ve played with.
If you post more specific questions about what you would like to change, you’ll probably get better answers.
Forum: Themes and Templates
In reply to: Sidebar seems to be disabled… How do I fix it?Beautiful! That’s exactly what I was looking for. Thank you very much.
Forum: Themes and Templates
In reply to: Sidebar seems to be disabled… How do I fix it?I did see that in the theme documentation, and tried it. It could be that I’m misunderstanding something, but following those steps only implements the sidebars on pages created using the Archives Page template. I would like to have the side bars displayed next to each post.
Forum: Themes and Templates
In reply to: Sidebar seems to be disabled… How do I fix it?I am using the same theme and trying to turn on the sidebar. Here is the code in functions.php:
<?php
}// Widgets plugin: intializes the plugin after the widgets above have passed snuff
function sandbox_widgets_init() {
if ( !function_exists(‘register_sidebars’) )
return;// Uses H3-level headings with all widgets to match Sandbox style
$p = array(
‘before_title’ => “<h3 class=’widgettitle’>”,
‘after_title’ => “</h3>\n”,
);// Table for how many? Two? This way, please.
register_sidebars(2, $p);// Finished intializing Widgets plugin, now let’s load the Sandbox default widgets
register_sidebar_widget(__(‘Search’, ‘sandbox’), ‘widget_sandbox_search’, null, ‘search’);
unregister_widget_control(‘search’);
register_sidebar_widget(__(‘Meta’, ‘sandbox’), ‘widget_sandbox_meta’, null, ‘meta’);
unregister_widget_control(‘meta’);
register_sidebar_widget(array(__(‘RSS Links’, ‘sandbox’), ‘widgets’), ‘widget_sandbox_rsslinks’);
register_widget_control(array(__(‘RSS Links’, ‘sandbox’), ‘widgets’), ‘widget_sandbox_rsslinks_control’, 300, 90);
}// Translate, if applicable
load_theme_textdomain(‘sandbox’);// Runs our code at the end to check that everything needed has loaded
add_action(‘init’, ‘sandbox_widgets_init’);// Adds filters so that things run smoothly
add_filter(‘archive_meta’, ‘wptexturize’);
add_filter(‘archive_meta’, ‘convert_smilies’);
add_filter(‘archive_meta’, ‘convert_chars’);
add_filter(‘archive_meta’, ‘wpautop’);// Remember: the Sandbox is for play.
?>