Forum Replies Created

Viewing 15 replies - 16 through 30 (of 31 total)
  • Thread Starter Christopher411

    (@christopher411)

    GREAT!!! it is working. I took out the “TEST” stuff you had in there and it is good….

    THANK YOU SOOO MUCH

    Could I add another column? It looks like I will have space and I will use it.

    Just copy the code from one above it and change the name?

    Thread Starter Christopher411

    (@christopher411)

    ok, we are (possibly) talking about different things…. in the function code, I left it as you sent it to me….
    in the footer code I took out the <?php dynamic.. reference… it probably wasn’t supposed to be there in the first place… my bad.

    Thread Starter Christopher411

    (@christopher411)

    yes…. it seems that it is stacking all three (kinda) at the wp_footer() reference…

    Now it is showing up different… here are a couple screen shots… one of what I have in each of the widgets:

    https://crankshaft.net/wp-content/uploads/widgets-menu.jpg

    and one of the footer in action:

    https://crankshaft.net/wp-content/uploads/footer-menu.jpg

    Thread Starter Christopher411

    (@christopher411)

    nothing…. here is the full footer code and a screen shot:

    <html>
    <body>
    	</div><!-- #content -->
    <?php
    	/* Always have wp_footer() just before the closing </body>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to reference JavaScript files.
    	 */
    
    	wp_footer();
    ?>
    
    <div id="footer">
    
            <p id="copyright">Copyright 2011 Crankshaft Machine Group</p>
            <p id="footer_links"><a href="contact/?autofill=Contact%20Us">Contact CMG</a> | CMG is a subsidiary of <a href="https://avisindustrial.com">AVIS INDUSTRIAL, INC</a>
    	</div>
    
    </div><!-- #wrapper -->
    
    <script type="text/javascript">
    
     var _gaq = _gaq || [];
     _gaq.push(['_setAccount', 'UA-24881820-1']);
     _gaq.push(['_trackPageview']);
    
     (function() {
       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';
       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     })();
    
    </script>
    </body>
    </html>

    https://crankshaft.net/wp-content/uploads/footwork.jpg

    Thread Starter Christopher411

    (@christopher411)

    so right now the stuff I put in Left Footer is showing and your “test” stuff is showing

    but not the middle one or the right one

    Thread Starter Christopher411

    (@christopher411)

    yes, custom menu and our company’s divisions
    and to middle I have added custom menu with other stuff
    and I want to do the same with the right.

    I took out the code
    <?php dynamic_sidebar( 'Footer_Widgets_Left' ); ?>

    from footer.php because I saw where it was linking to and it still displays… I then moved that section above the copyright info on the page which is where I want it… the code it is following is :

    <?php
    	/* Always have wp_footer() just before the closing </body>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to reference JavaScript files.
    	 */
    
    	wp_footer();
    ?>
    Thread Starter Christopher411

    (@christopher411)

    all centered in one column

    Thread Starter Christopher411

    (@christopher411)

    It is doing something now….

    popped up with three lines of test

    Thread Starter Christopher411

    (@christopher411)

    and put that where? in the footer.php?

    Thread Starter Christopher411

    (@christopher411)

    Thread Starter Christopher411

    (@christopher411)

    Now we are getting somewhere!…. I am getting an error

    Fatal error: Call to undefined function thesis_default_widget() in…..

    Thread Starter Christopher411

    (@christopher411)

    I am learning the hard way that everything is built on what has come before so grabbing some snip-it doesn’t work so well… so without the theme and css and widget and plug in and whatever configuration it doesn’t work.

    What I want is to setup a footer similar to one at the bottom of this page.

    Thread Starter Christopher411

    (@christopher411)

    no, like I said I am a novice and just tried grabbing code to accomplish what I needed. We already have the site up with the theme whoever started the site for us used.

    Is there some other way to accomplish it?

    Thread Starter Christopher411

    (@christopher411)

    I added this to themes:

    add_theme_support( 'post-thumbnails');
    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'Footer Widgets Left',
    'before_widget' => '<li class="widget %2$s" id="%1$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3>',
    'after_title' => '</h3>'
    ));
    
    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'Footer Widgets Middle',
    'before_widget' => '<li class="widget %2$s" id="%1$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3>',
    'after_title' => '</h3>'
    ));
    
    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'Footer Widgets Right',
    'before_widget' => '<li class="widget %2$s" id="%1$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3>',
    'after_title' => '</h3>'
    ));
    
    function my_widgetized_footer() { ?>
    <div id="footer-widget-block">
    	<div class="my-footer-one footer-widgets sidebar">
    		<ul class="sidebar_list">
    			<?php thesis_default_widget(3); ?>
    		</ul>
    	</div>
    
    	<div class="my-footer-two footer-widgets sidebar">
    		<ul class="sidebar_list">
    			<?php thesis_default_widget(4); ?>
    		</ul>
    	</div>
    
    	<div class="my-footer-three footer-widgets sidebar">
    		<ul class="sidebar_list">
    			<?php thesis_default_widget(5); ?>
    		</ul>
    	</div>
    </div>
    			<?php
    	}
    add_action('thesis_hook_footer','my_widgetized_footer','1');

    and this to the css:

    .custom #footer-widget-block { text-align:left; overflow:hidden; }
    .custom .footer-widgets { width:33%; float:left; }
    .custom .my-footer-one {}
    .custom .my-footer-two {}
    .custom .my-footer-three {}
    Thread Starter Christopher411

    (@christopher411)

    I added:
    <?php the_widget( ‘Footer_Widgets_Left’ ); ?>
    <?php the_widget( ‘Footer_Widgets_Middle’ ); ?>
    to the body of the footer and nothing happened.

Viewing 15 replies - 16 through 30 (of 31 total)