How Done

This is a Word Press site using the Atahualpa theme.  Both allow considerable customization. Significant adjustments are:

  • Turn off the Header Image and Logo Image.
  • Create two Widget areas in the Header area.  Code: %logo <?php bfa_widget_area(‘name=My widget area&cells=2&align=8&align_2=3&width_2=200&background=#445566&before_widget=<div id=”%1$s”>&after_widget=</div>’);?> %pages %bar1
  • Round corners.  This doesn’t appear in MS IE.  Code: -moz-border-radius: 10px; -khtml-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;
  • Color schema started with The Web Retro scheme chosen in http://www.colorschemer.com/.  It was adjusted using http://colorschemedesigner.com/.

Documentation

Documentation of changes beyond Dashboard Options is here:

  • This code in Index.php places text before the posts depending on category. (currently removed as un necessary)

<?php /* This is test code*/
if (is_category(‘Documentation’))
echo “This is the text to describe category Doc”;

elseif (is_category(‘Fly Rod’))
echo “This is the text to describe category Fly rod”;
else
Echo “This is some generic text to describe all other category pages, I could be left blank”; ?>

  • “Display Widgets” adds option to each widget that allows it to be turned on or off on individual pages.
  • This code in Configure Header Area creates widget area

<?php bfa_widget_area(‘name=My widget area&cells=2&align=8&align_2=3&width_2=200&background=#445566&before_widget=<div id=”%1$s”>&after_widget=</div>’);?>

  • <?php /* This is the code that causes WP_Print, a plug-in, to function*/?>
    <?php if(function_exists(‘wp_print’)) { print_link(); } ?>
    <?php /* end WP_Print code */?>

Note; [donotprint] text [/donotprint] tags in the post content will cause it to not print.

To-Do List

The list is random.

  • Add pages: Random, Family, Archive&Lib, Links
  • Left Side bar, Don’t Display on page with ID=xx doesn’t work.
  • Need: display widgets only on desired pages.  Example: don’t need categories on About page.  “Display Widgets”  looks like it solves this.  It does not seem to work on sub-pages. Following error occurs when turn on sub-page to display widget. Note: This error appears to be a conflict with Posts-Pages widget.

Fatal error: Call to a member function get_queried_object_id() on a non-object in /home/jcooper/public_html/wp-content/plugins/display-widgets/display-widgets.php on line 37