Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter shotaz

    (@shotaz)

    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.ww.wp.xz.cn/Function_Reference/query_posts

    Thread Starter shotaz

    (@shotaz)

    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.

    Thread Starter shotaz

    (@shotaz)

    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 .
    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)