widgetising sidebar
-
i have a sidebar which has been modified to fit my current website theme. i’ve got the widgetised code from https://automattic.com/code/widgets/themes/ in there for my divs.
still not working though – what am I doing wrong? Please bear in mind this is my first dabble with php so feeling quite out of my depth!
anyone spot anything clearly wrong in my code snippet below? I’m pretty lost!
div=colone should be the main sidebar section – the div title is taken from the current designs of my site
<div id=”sidebar”>
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?><div id=”content”>
<div id=”bread”>
<div align=”right”>
<?php
if (class_exists(‘breadcrumb_navigation_xt’)) {
// Display a prefix
echo ‘Navigation: ‘;
// New breadcrumb object
$mybreadcrumb = new breadcrumb_navigation_xt;
// Display the breadcrumb
$mybreadcrumb->display();
}
?>
</div>
</div><div id=”colOne”>
<h3>pick our brains </h3>
…
- The topic ‘widgetising sidebar’ is closed to new replies.