Right, thanks to the advice from Jose, I have most of what I am looking for.
I still need help and I hope to get it here. Really, I need to achieve two things.
- Get the web site looking the way Mrs twonames wants it immediately
- Learn where to look and how to find answers for myself
- ok, more than two.. Learn PHP
- Learn CSS
I am a programmer in COBOL (stop laughing) and a variant of SQL (proprietary to my employer)
I once knew enough to put up fairly simple HTML pages but a lot of the tags are a mystery.
I know enough about PHP to be able to spell it ?? and CSS is a mystery to me.
First thing then is the layout of an individual post page. I have not managed to do anything here. I want the picture to be at the top right of the page (under the banner) and for the text to start on the left in line with the picture and wrap around it.
What do I need to put in style.css to make that happen?
If I detail below what I have done, will someone please tell me if there was a better way to do it or if ‘m going to cause myself problems please?
I have created a child theme to minimatica and taken a complete copy of style.css from the parent theme and added the line to make it a child of minimatica.
I have created a new copy of content.php, footer.php and sidebar.php in the child theme and edited them. This has removed things as I wanted. The edits have produced the output I want but have I used the best way to comment out code and will I have caused problems?
sidebar.php – after inactivating all of the widgets in minimatica, the search item was still there. This got rid of it.
<?php
/**
* The Right Sidebar
*
* @package WordPress
* @subpackage Minimatica
* @since Minimatica 1.0
*/
?>
<div id="sidebar" class="widget-area" role="complementary">
<em><?php /*
Removed by Andy
<?php if( is_active_sidebar( 1 ) ) : ?>
<?php dynamic_sidebar( 1 ); ?>
<?php else : ?>
<?php the_widget( 'WP_Widget_Search' ); ?>
<?php the_widget( 'Minimatica_Ephemera_Widget', array( 'title' => 'Asides' ) ); ?>
<?php the_widget( 'WP_Widget_Pages', array( ) ); ?>
<?php endif; ?>
Removed by Andy
*/ ?>
</em></div><!-- #sidebar -->
footer.php – Got rid of the footer but I wonder about the second item wp-footer I don’t see what this does – whether it’s in or out seems to make no difference
<?php
/**
* The footer Template
*
* @package WordPress
* @subpackage minimatica
* @since Minimatica 1.0
*/
?>
<footer id="footer">
<em><?php /*
Removed by Andy
<?php get_sidebar( 'footer' ); ?>
<nav id="access" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary_nav', 'container_id' => 'primary-nav', 'container_class' => 'nav', 'fallback_cb' => 'minimatica_nav_menu' ) ); ?>
</nav><!-- #access -->
removed by Andy
*/ ?></em>
</footer><!-- #footer -->
</div><!-- #wrapper -->
<em><?php /*
Removed by Andy
<?php wp_footer(); ?>
removed by Andy
*/ ?>
</em></body>
</html>
Finally content.php – two bits commented out
<?php
/**
* Displays the post content. Used as fallback for post formats
*
* @package WordPress
* @subpackage Minimatica
* @since Minimatica 1.0
*/
?>
<div id="content">
<div class="entry-header">
<a class="colorbox" href="<?php $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); echo $thumbnail[0] ?>">
<?php the_post_thumbnail( 'single-thumb' ); ?>
</a>
<aside class="entry-meta">
<em><?php /* Removed by Andy
<ul>
<li><?php _e( 'Written by', 'minimatica' ); ?> <?php the_author_posts_link(); ?></li>
<li><?php _e( 'on', 'minimatica' ); ?> <time datetime="<?php the_time( 'Y-m-d' ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></time></li>
<li><?php _e( 'Filed under', 'minimatica' ); ?> <?php the_category( ', ' ); ?></li>
<?php edit_post_link( __( 'Edit', 'minimatica' ), '<li>', '</li>' ); ?>
</ul>
Removed by Andy
*/ ?></em>
<?php the_tags( '<div class="entry-tags">', ' ', '</div>' ); ?>
</aside><!-- .entry-meta -->
<div class="clear"></div>
</div><!-- .entry-header -->
<section class="entry-content">
<?php the_content(); ?>
<div class="clear"></div>
<?php wp_link_pages( array( 'before' => '<p class="pagination">' . __( 'Pages' ) . ': ' ) ); ?>
</section><!-- .entry-content -->
<em><?php /* Removed by Andy
<?php comments_template(); ?>
Removed by Andy
*/ ?></em>
</div><!-- #content -->
I know I’m asking a lot but I hope someone can help.
Thanks
Andy