Title: sshilo's Replies | WordPress.org

---

# sshilo

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/sshilo/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/sshilo/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Solid Security – Password, Two Factor Authentication, and Brute Force Protection] Can't find Whitelist IP after upgrade](https://wordpress.org/support/topic/cant-find-whitelist-ip-after-upgrade/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/cant-find-whitelist-ip-after-upgrade/#post-7502843)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordbooker] Can I post an image to FB if it's featured but not in the post](https://wordpress.org/support/topic/can-i-post-an-image-to-fb-if-its-featured-but-not-in-the-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/can-i-post-an-image-to-fb-if-its-featured-but-not-in-the-post/#post-3393512)
 * great! I will try to post again without checking the box I did.
 * Amazing plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordbooker] Can I post an image to FB if it's featured but not in the post](https://wordpress.org/support/topic/can-i-post-an-image-to-fb-if-its-featured-but-not-in-the-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/can-i-post-an-image-to-fb-if-its-featured-but-not-in-the-post/#post-3393496)
 * Thanks Steve,
    if posts have images uploaded to them, and one selected as featured
   image, but it does not show up on the page when the post is viewed on the actual
   website. What will/should happen then.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Reference Calendar Page in Function](https://wordpress.org/support/topic/reference-calendar-page-in-function/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/reference-calendar-page-in-function/#post-3130600)
 * that worked great!! TYVM you two!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Reference Calendar Page in Function](https://wordpress.org/support/topic/reference-calendar-page-in-function/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/reference-calendar-page-in-function/#post-3130599)
 * roblagatta, will try it today and update asap. TY Jonah.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Reference Calendar Page in Function](https://wordpress.org/support/topic/reference-calendar-page-in-function/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/reference-calendar-page-in-function/#post-3130518)
 * I looked and could not find it. I tried changing it to
 * `is_page_template('/wp-content/plugins/the-events-calendar/views/ecp-page-template.
   php')`
 * or
 * `is_page_template('ecp-page-template.php')`
 * neither worked. Any help would be greatly appreciated.
 * basically, I need to know what value under ‘is_page_template()’ would return 
   a value of yes for
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme Test Drive] [Plugin: Theme Test Drive] template selection](https://wordpress.org/support/topic/plugin-theme-test-drive-template-selection/)
 *  [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-theme-test-drive-template-selection/#post-1698232)
 * anyone have a solution to this?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List all photos in post](https://wordpress.org/support/topic/list-all-photos-in-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/list-all-photos-in-post/#post-1767486)
 * unfortunately, I can’t show you the site, but it’s a theme I’m working with and
   it’s using the theme test plugin, so you can’t see it without being logged it.
 * thank you very much for the help
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List all photos in post](https://wordpress.org/support/topic/list-all-photos-in-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/list-all-photos-in-post/#post-1767482)
 * got it to work with this (I know it’s not elegant):
 * `$images =& get_children( 'post_type=attachment&post_mime_type=image&post_parent
   =' . get_the_ID() );`
 * if ( empty($images) ) {
    // no attachments here } else { foreach ( $images as
   $attachment_id => $attachment ) { $image = wp_get_attachment_image_src( $attachment_id,
   $size, $icon ); echo $image[0]; } }
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List all photos in post](https://wordpress.org/support/topic/list-all-photos-in-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/list-all-photos-in-post/#post-1767477)
 * when I do that, it actually still “prints” the thumbnails to the screen.
 * I cleared the cache, did a forced refresh and no luck. I now have this:
 *     ```
       $images =& get_children( 'post_type=attachment&post_mime_type=image&post_parent=' . get_the_ID() );
   
       if ( empty($images) ) {
       	// no attachments here
       } else {
       	foreach ( $images as $attachment_id => $attachment ) {
       		echo wp_get_attachment_link($attachment_id, 'thumbnail', false, false);
       	}
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List all photos in post](https://wordpress.org/support/topic/list-all-photos-in-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/list-all-photos-in-post/#post-1767473)
 * yup, I just figured that out (didn’t have the id). Now, I’m trying to get it 
   to give me just the url, rather than printing it to the screen. I have:
 *     ```
       $images =& get_children( 'post_type=attachment&post_mime_type=image&post_parent=' . get_the_ID() );
   
       if ( empty($images) ) {
       	// no attachments here
       } else {
       	foreach ( $images as $attachment_id => $attachment ) {
       		echo wp_get_attachment_link($attachment_id, $size = 'thumbnail', $permalink = true, $icon = false);
       	}
       }
       ```
   
 * but it’s still adding the image tag to the page, rather than echoing the url
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [List all photos in post](https://wordpress.org/support/topic/list-all-photos-in-post/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/list-all-photos-in-post/#post-1767465)
 * reuben,
 * (my post has 2 images)
 * When I use that code within the loop on my single.php, I get 4 images that have
   nothing to do with this post.
 * Any ideas?
 * pavvy,
    I am not sure that plugin returns an array of the images
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Display child categories using parent category template (was category-x.php)](https://wordpress.org/support/topic/category-xphp/)
 *  [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/category-xphp/#post-961483)
 * where do you limit which categories this will work with? for example, if I only
   want it to work on category 134 and it’s children.
 * thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: TDO Mini Forms] Style for upload widget?](https://wordpress.org/support/topic/plugin-tdo-mini-forms-style-for-upload-widget/)
 *  [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-tdo-mini-forms-style-for-upload-widget/#post-1122128)
 * anyone have any idea how to do this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Contact Form 7] 2.8](https://wordpress.org/support/topic/plugin-contact-form-7-28/)
 *  Thread Starter [sshilo](https://wordpress.org/support/users/sshilo/)
 * (@sshilo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-28/#post-1125510)
 * ty

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/sshilo/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/sshilo/replies/page/2/?output_format=md)