Title: [Plugin: Magic Fields] How to speed things up?
Last modified: August 20, 2016

---

# [Plugin: Magic Fields] How to speed things up?

 *  [ivantus](https://wordpress.org/support/users/ivantus/)
 * (@ivantus)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields-how-to-speed-things-up/)
 * Hi everybody. I’m using MF for a while now and I am very satisfied with it. I
   have one issue though and I hope someone can help me get this solved. I’ve created
   a couple of custom fields using MF. Every post has the same custom fields and
   I call 10 custom fields per post on a category page. The problem is – the category
   page is loading very slow since my site is showing 20 posts per category (it 
   has to be that way). If this can help I have 433 queries for the category and
   the loading time is more than 3 secs. For every custom field I use something 
   like this:
 *     ```
       <?php
       $address = get_post_meta($post->ID,'address', true);
       if($address) {
       echo get('address');
       } else { ?>–
       <?php }
       $city = get_post_meta($post->ID,'city', true);
       if($city) {
       echo get('city');
       } else { ?>–
       <?php } ?>
       ```
   
 * Like I said, every post has around 10 of these functions. Since I am no professional
   programmer I’d be very grateful if someone is willing to share a better solution
   to achieve this.
 * Many thanks
 * [http://wordpress.org/extend/plugins/magic-fields/](http://wordpress.org/extend/plugins/magic-fields/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [ivantus](https://wordpress.org/support/users/ivantus/)
 * (@ivantus)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields-how-to-speed-things-up/#post-2555078)
 * Does anyone has an idea? I really need help on this. Thanks in advance.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Magic Fields] How to speed things up?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magic-fields.svg)
 * [Magic Fields](https://wordpress.org/plugins/magic-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magic-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magic-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/magic-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magic-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magic-fields/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [ivantus](https://wordpress.org/support/users/ivantus/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-magic-fields-how-to-speed-things-up/#post-2555078)
 * Status: not resolved