Title: CodeBotics's Replies - page 4 | WordPress.org

---

# CodeBotics

  [  ](https://wordpress.org/support/users/codebotics/)

 *   [Profile](https://wordpress.org/support/users/codebotics/)
 *   [Topics Started](https://wordpress.org/support/users/codebotics/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codebotics/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codebotics/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codebotics/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codebotics/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codebotics/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 46 through 60 (of 68 total)

[←](https://wordpress.org/support/users/codebotics/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/codebotics/replies/?output_format=md) [2](https://wordpress.org/support/users/codebotics/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codebotics/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/codebotics/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/codebotics/replies/page/5/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Shortcodes for Premium Themes](https://wordpress.org/support/topic/shortcodes-for-premium-themes/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-for-premium-themes/#post-3033900)
 * For the developer this is a massive oversight, they should appreciate you contacting
   them and pointing out that they’re missing key documentation!
 * For now, it might be worth going in functions.php and looking for ‘add_shortcode’.
   The developer may have put them in a separate file though. Have you tried looking
   for shortcodes.php or something similar?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Making a Child theme](https://wordpress.org/support/topic/making-a-child-theme/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/making-a-child-theme/#post-3034367)
 * If you only want to change the CSS, then you only need style.css in theme-child.
   Style.css is the only required file for a child theme.
 * I use the following:
 *     ```
       /*
       Theme Name: Call it whatever you want
       Author: Your Name
       Description: Child theme, and anything else you want
       Author URI: your URL, you don't have to add this.
       Template: themename
       */
   
       @import url(../theme/style.css);
       ```
   
 * Then I add my custom CSS below that, and it overrides the old CSS. Any files 
   you don’t add to your child theme just default to the original themes files 🙂
 * It is worth looking at the link Andrew posted, to get a better idea of what’s
   going on.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Help with "Date Posted" on homepage](https://wordpress.org/support/topic/help-with-date-posted-on-homepage/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/help-with-date-posted-on-homepage/#post-3033460)
 * Strange, I don’t know why that would break the site. Anyway, you just need to
   remove the bit <?php the_time(‘F j, Y’) ?> up to the closing </p>
 * Like this:
 *     ```
       <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'cc' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
   
       <p class="date"><?php the_time('F j, Y') ?></p>
   
       							<div class="entry">
       								<?php do_action('blog_post_entry')?>
       							</div>
       							<?php $tags = get_the_tags(); if($tags)	{  ?>
       								<p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'cc' ), ', ', '<br />'); ?></span> <span class="comments"></span></p>
       							<?php } else {?>
       								<p class="postmetadata"><span class="comments"></p>
       							<?php } ?>
       						</div>
   
       					</div>
   
       					<?php do_action( 'bp_after_blog_post' ) ?>
   
       				<?php endwhile; ?>
   
       				<div class="navigation">
   
       					<div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'cc' ) ) ?></div>
       					<div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'cc' ) ) ?></div>
   
       				</div>
   
       			<?php else : ?>
   
       				<h2 class="center"><?php _e( 'Not Found', 'cc' ) ?></h2>
       				<p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'cc' ) ?></p>
   
       				<?php locate_template( array( 'searchform.php' ), true ) ?>
   
       			<?php endif; ?>
       		</div>
   
       		<?php do_action( 'bp_after_blog_home' ) ?>
   
       		</div><!-- .padder -->
       	</div><!-- #content -->
   
       <?php get_footer() ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Messed up alyeska theme](https://wordpress.org/support/topic/messed-up-alyeska-theme/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/messed-up-alyeska-theme/#post-3032087)
 * Perhaps it is easier to force the alyeska theme editor to overwrite the wordpress
   editor’s styles, perhaps by adding !important to the generated CSS code. Contact
   the theme vendor, it’s really down to them to help you out here.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [header all across page](https://wordpress.org/support/topic/header-all-across-page/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/header-all-across-page/#post-3033456)
 * If this is a paid theme, it’s much more helpful if you contact the theme’s own
   support team. Otherwise the volunteers here are helping the theme owner make 
   money without making a penny themselves.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Submitting Custom Options without Refresh](https://wordpress.org/support/topic/submitting-custom-options-without-refresh/)
 *  Thread Starter [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/submitting-custom-options-without-refresh/#post-3032982)
 * Ah, sorry I didn’t make the link! You’re right, Javascript is needed no matter
   what by the looks of it.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Help with "Date Posted" on homepage](https://wordpress.org/support/topic/help-with-date-posted-on-homepage/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/help-with-date-posted-on-homepage/#post-3033450)
 * You need to add some code to the loop. Open index.php, then underneath <h2 class
   =”posttitle”>blah blah</h2> put this:
    `<p class="date"><?php the_date()></p>`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Submitting Custom Options without Refresh](https://wordpress.org/support/topic/submitting-custom-options-without-refresh/)
 *  Thread Starter [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/submitting-custom-options-without-refresh/#post-3032978)
 * jQuery => Javascript 😉 I found this great jQuery Form Plugin: [http://www.malsup.com/jquery/form/](http://www.malsup.com/jquery/form/)
 * Which I called using:
 *     ```
       function form_no_refresh() {
       	?>
       	<script src="http://malsup.github.com/jquery.form.js"></script>
       	    <script>
               // wait for the DOM to be loaded
               jQuery(document).ready(function() {
                   // bind 'myForm' and provide a simple callback function
                   jQuery('#adminform').ajaxForm(function() {
                       alert("Thank you for your comment!");
                   });
               });
       		</script>
       	<?php
       }
       add_action('admin_head', 'form_no_refresh');
       ```
   
 * It’s not ideal for two reasons:
    1. It relies on this existing: [http://malsup.github.com/jquery.form.js](http://malsup.github.com/jquery.form.js).
       I could download it locally though.
    2. It loads the script on every admin page, but I can fix this by checking if the
       page is the page I’m expecting then calling the function.
 * But, it works, so I’m keeping it!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Polaroids] [Theme: Polaroids] Polaroid theme help](https://wordpress.org/support/topic/theme-polaroids-polaroid-theme-help/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/theme-polaroids-polaroid-theme-help/#post-3029338)
 * I’m on Windows, so I can’t really help regarding the Mac. I’ve done the above
   for you, so you just need to download it then upload it to your site.
 * [Download link ](http://www.codebotics.co.uk/files/polaroids-child.zip)
 * Hopefully, this should all work as expected 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Turning the buttom menu into a contact bar](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/#post-3029256)
 * I copied the styles from the original theme, and forgot to get rid of them when
   I added it to the code above!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Polaroids] [Theme: Polaroids] Polaroid theme help](https://wordpress.org/support/topic/theme-polaroids-polaroid-theme-help/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/theme-polaroids-polaroid-theme-help/#post-3029254)
 * No problem 🙂
    There are two possible solutions to that, I have a hunch that 
   these three things are pages you’ve created in WordPress, correct? If that’s 
   the case, and you want it to add any more pages you might create in the future,
   then you can do the following:
    - On your computer, create a folder named “polaroids-child”
    - In this folder, create a file called “style.css”. Open this in a text editor,
      then paste the following code:
    -     ```
          /*
          Theme Name: Polaroids Child
          Author: Your Name
          Description: Child theme
          Author URI: NA
          Template: polaroids
          */
      
          @import url(../polaroids/style.css);
      
          #footermenu {
          font-family: "Times New Roman";
          font-size: 12px;
          font-weight: normal;
          letter-spacing: 2px;
          text-transform: uppercase;
          color: #111;
          }
          ```
      
    - Now create a file called “footer.php” in the same folder
    - Add the following code:
    -     ```
          </div>
          <div id="footer">
          <div id="footermenu">
          <ul>
          <?php wp_list_pages('sort_column=menu_order&title_li='); ?>
          </ul>
          </div>
          </div>
          </div>
          </div>
          <?php wp_footer()?>
          </body>
          </html>
          ```
      
    - Save the two files
    - Send the folder to a zip archive
    - Upload it to your blog as a theme, and activate it
 * It should all work!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Turning the buttom menu into a contact bar](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/#post-3029250)
 * No problem 🙂 You can get rid of the padding-left and padding-right if you like,
   they’re not changing how it looks at all.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Turning the buttom menu into a contact bar](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/#post-3029247)
 * And if you want the colour to be the same as the links originally were:
    `style
   ="width: 100%; text-align: center; margin-top: 0px; padding-top: 12px; padding-
   right: 10px; padding-bottom: 13px; padding-left: 10px; color: #603913;"`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Turning the buttom menu into a contact bar](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/turning-the-buttom-menu-into-a-contact-bar/#post-3029245)
 * Try changing `style="width: 100%; text-align: center"` to `style="width: 100%;
   text-align: center; margin-top: 0px; padding-top: 12px; padding-right: 10px; 
   padding-bottom: 13px; padding-left: 10px;"`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Polaroids] [Theme: Polaroids] Polaroid theme help](https://wordpress.org/support/topic/theme-polaroids-polaroid-theme-help/)
 *  [CodeBotics](https://wordpress.org/support/users/codebotics/)
 * (@codebotics)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/theme-polaroids-polaroid-theme-help/#post-3029244)
 * [Remove comments from posts](http://lmgtfy.com/?q=How+to+remove+comments+from+WordPress+posts)
 * I’m not entirely sure what you want to do with the menus, could you elaborate?

Viewing 15 replies - 46 through 60 (of 68 total)

[←](https://wordpress.org/support/users/codebotics/replies/page/3/?output_format=md)
[1](https://wordpress.org/support/users/codebotics/replies/?output_format=md) [2](https://wordpress.org/support/users/codebotics/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/codebotics/replies/page/3/?output_format=md)
4 [5](https://wordpress.org/support/users/codebotics/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/codebotics/replies/page/5/?output_format=md)