Title: pwidder's Replies | WordPress.org

---

# pwidder

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Call custom field value to post ad in sidebar](https://wordpress.org/support/topic/call-custom-field-value-to-post-ad-in-sidebar/)
 *  Thread Starter [pwidder](https://wordpress.org/support/users/pwidder/)
 * (@pwidder)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/call-custom-field-value-to-post-ad-in-sidebar/#post-2053567)
 * Thank you alchymyth, works like a charm!!!!!!!!!!!!!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Call custom field value to post ad in sidebar](https://wordpress.org/support/topic/call-custom-field-value-to-post-ad-in-sidebar/)
 *  Thread Starter [pwidder](https://wordpress.org/support/users/pwidder/)
 * (@pwidder)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/call-custom-field-value-to-post-ad-in-sidebar/#post-2053523)
 * Where in the first line would I includ global $post;
 *     ```
       <?php $value = get_post_meta($post->ID, 'post_city_id', true);
   
       if($value == '1') {
       echo '<img style="display: block; float: none; margin-left: auto; margin-right: auto" title="sherwood test banner" alt="" src="http://wwwbannerimageurl1.png" width="200" height="210" ';
       } elseif($value == '2') {
       echo '<img style="display: block; float: none; margin-left: auto; margin-right: auto" title="sherwood test banner" alt="" src="http://outstanding-inthefield.com/wp-content/uploads/2011/04/sherwood-test-banner.png" width="200" height="210" ';
       } elseif($value == '3') {
       echo '<img style="display: block; float: none; margin-left: auto; margin-right: auto" title="sherwood test banner" alt="" src="http://wwwbannerimageurl2.png" width="200" height="210" />';
       } else {
       echo 'Home Page';
       }
   
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Customer Reviews] WP Customer Reviews and WPMU (multisite)](https://wordpress.org/support/topic/wp-customer-reviews-and-wpmu-multisite/)
 *  [pwidder](https://wordpress.org/support/users/pwidder/)
 * (@pwidder)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-customer-reviews-and-wpmu-multisite/#post-2009882)
 * I found that it worked in the primary site but like you had no reviews show up
   after posting in a site in the network.
 * I will let you know if I get a response to fixing this.
    It’s really important
   for my application.
 * Thanks for the response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Customer Reviews] WP Customer Reviews and WPMU (multisite)](https://wordpress.org/support/topic/wp-customer-reviews-and-wpmu-multisite/)
 *  [pwidder](https://wordpress.org/support/users/pwidder/)
 * (@pwidder)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-customer-reviews-and-wpmu-multisite/#post-2009879)
 * I am having the same issue, did you manage to get this resolved yet?
    If so could
   I ask you how?

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