Title: shotaz's Replies | WordPress.org

---

# shotaz

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [check if custom field exists for a post in the main loop](https://wordpress.org/support/topic/check-if-custom-field-exists-for-a-post-in-the-main-loop/)
 *  Thread Starter [shotaz](https://wordpress.org/support/users/shotaz/)
 * (@shotaz)
 * [16 years ago](https://wordpress.org/support/topic/check-if-custom-field-exists-for-a-post-in-the-main-loop/#post-1516849)
 * thanks for replying… i gave it a try but it doesn’t seem to work too well and
   on top of that it makes the page take a good 30 seconds to loads when the average
   page load time was about 3-4 seconds.
 * This si what i have:
 *     ```
       <?php
         $args = array(
          'meta_key' => '_videoembed_manual',
          'meta_value' => '#',
          'meta_compare' => '>='
       );
       query_posts($args);
         if (have_posts()) : while (have_posts()) : the_post(); ?>
       ```
   
 * And the rest of the template code comes after…
    note: the custom field in this
   instance is _videoembed_manual I want to query only posts that have this field
   to return only blog posts with a video in the search results on the site…
 * I may be doing this wrong because i’m still familiarising myself with wp so any
   suggestions are welcomed.
    thank u p.s followed [http://codex.wordpress.org/Function_Reference/query_posts](http://codex.wordpress.org/Function_Reference/query_posts)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [content printed multiple times when using mod rewrite](https://wordpress.org/support/topic/content-printed-multiple-times-when-using-mod-rewrite/)
 *  Thread Starter [shotaz](https://wordpress.org/support/users/shotaz/)
 * (@shotaz)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/content-printed-multiple-times-when-using-mod-rewrite/#post-1478363)
 * Thanks for the response. I didn’t get a mail telling me anyone had responded 
   that’s why i;ve only just checked back. Anyway i tried what you suggested but
   i only had two plugins installed and active so it was quick an easy. It wasn’t
   the problem but i changed the permalink structure to have .html on the end and
   it just fixed it like that…. everything is exactly the same i’ve made no changes
   except for the permalinks an it seemed to have sorted it.
 * Might be a bug but i’m not sure again thanks for responding.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Directly insert data from java program](https://wordpress.org/support/topic/directly-insert-data-from-java-program/)
 *  Thread Starter [shotaz](https://wordpress.org/support/users/shotaz/)
 * (@shotaz)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/directly-insert-data-from-java-program/#post-1465136)
 * I’m not sure what other info might be of use but ask and i’ll try to provide 
   it if i can. Not sure if it is of use but i’m modifying the woogle theme from
   [ woogle ](http://ericulous.com/2009/03/18/wp-theme-woogle-the-google-search-engine-clone/).
   
   An embed code is loaded from the postmeta table with metakey being _videoembed_manual
   and the meta_value being the embed code.
 * Any help is greatly appreciated, thanks in advance

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