Title: datakid's Replies | WordPress.org

---

# datakid

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

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

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Loop/Column css issues](https://wordpress.org/support/topic/loopcolumn-css-issues/)
 *  Thread Starter [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/loopcolumn-css-issues/#post-3128600)
 * Don’t fret – I solved the problem by creating the page 23 again (so it was page
   61 instead of 23)
 * Seems crazy to think that it’s so dependant on the page_id order…
 * cheers
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The Loop, Front page, Pages and excerpts](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/)
 *  Thread Starter [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/#post-3122961)
 * OK!, I finally got it working using this hack around:
 *     ```
       <div id="content" role="main">
       		<img src="http://192.168.0.250/kit.edu.ki/wp-content/uploads/2012/10/KIT_web_image2.jpg" width="769" height="472">
   
       		<?php $args=array('order' =>'asc','post_type' =>'page','post__in' => array(6,8,10), );	$page_query = new WP_Query($args); ?>
   
       		<?php while ($page_query->have_posts()) : $page_query->the_post(); ?>
       		<div class="section">
       					<?php if ( get_the_ID()==6 ) { ?> <div id="front-box-left">
       					<?php } elseif ( get_the_ID()==8 ) { ?> <div id="front-box-center">
       					<?php }	else { ?> <div id="front-box-right">
       					<?php } the_post_thumbnail() ?>
       					<h2><a href="<?php the_permalink();?>" id="front-box-header"><?php the_title();?></a></h2>
       					<span id="front-box-text"><?php the_excerpt();?></span>
       					</div> <!-- #left-center-right css id -->
       			</div> <!-- #section -->
   
       		<?php endwhile; ?>
   
       	</div><!-- #content -->
       ```
   
 * I tried with the_ID() but that didn’t work either – but get_the_ID does, and 
   that’s sufficient
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The Loop, Front page, Pages and excerpts](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/)
 *  Thread Starter [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/#post-3122954)
 * OH! Is it failing because the frontpage is not page 6? Should I be asking it 
   to test if the post within the while loop is page 6…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The Loop, Front page, Pages and excerpts](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/)
 *  Thread Starter [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/#post-3122952)
 * Ok, I’ve just discovered is_page() and I’ve also just discovered that it’s not
   working for me 🙁
 *     ```
       <?php $args=array('order' =>'asc','post_type' =>'page','post__in' => array(6,8,10), );	$page_query = new WP_Query($args); ?>
   
       		<?php while ($page_query->have_posts()) : $page_query->the_post(); ?>
       		<div class="section">
       					<?php if ( is_page('6') ) { echo "BING" ?> <div id="front-box-left">
       					<?php } elseif ( is_page('8') ) { ?> <div id="front-box-center">
       					<?php }	else { ?> <div id="front-box-right">
       					<?php } the_post_thumbnail() ?>
       					<h2><a href="<?php the_permalink();?>" id="front-box-header"><?php the_title();?></a></h2>
       					<span id="front-box-text"><?php the_excerpt();?></span>
       					</div> <!-- #left-center-right css id -->
       			</div> <!-- #section -->
   
       		<?php endwhile; ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The Loop, Front page, Pages and excerpts](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/)
 *  Thread Starter [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/the-loop-front-page-pages-and-excerpts/#post-3122939)
 * Sorry, I should add that I have just now discovered that it was also a problem
   on the local dev machine – for some reason I got lucky on the post ordering and
   didn’t see that the bug was there.
 * Also, now that I think clearly (it’s hard over here in Kiribati ok!) it’s got
   nothing to do with permalinks either (since even permalinked pages still have
   a $page_id) – the problem is that I’m a shit php coder and have missed something
   obvious or simple.
 * Sorry for the misdirect.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Child theme not showing up](https://wordpress.org/support/topic/child-theme-not-showing-up-1/)
 *  [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/child-theme-not-showing-up-1/#post-2060597)
 * Chris has got it right – and his solution is the best from what I can gather –
   create two files in your child theme, one called theme-options.php that looks
   like this:
 *     ```
       <?php
       require_once ( get_template_directory() . '/theme-options.php' );
       ?>
       ```
   
 * and one called images.php that looks like this:
 *     ```
       <?php
       require_once ( get_template_directory() . '/images.php' );
       ?>
       ```
   
 * and the f8-lite child theme works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: eShop] shipping address is hidden [error]](https://wordpress.org/support/topic/plugin-eshop-shipping-address-is-hidden-error/)
 *  [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-eshop-shipping-address-is-hidden-error/#post-1475297)
 * Does it have to do with shipping rates? ie, if you have no shipping rates set,
   it doesn’t show?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: eShop] shipping address is hidden [error]](https://wordpress.org/support/topic/plugin-eshop-shipping-address-is-hidden-error/)
 *  [datakid](https://wordpress.org/support/users/datakid/)
 * (@datakid)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-eshop-shipping-address-is-hidden-error/#post-1475296)
 * I am also having this problem – settings are at no, but there is no mailing address
   in the cart?

Viewing 8 replies - 1 through 8 (of 8 total)