Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: custom field
    Thread Starter redcaiman

    (@redcaiman)

    yea well if someone are looking something like this i get it with this query
    $featuredPosts->query(‘showposts=7&cat=4,7,8,10,11 & meta_key=destacado’);

    where destacado is a meta key value

    thanks good day

    Forum: Fixing WordPress
    In reply to: custom field
    Thread Starter redcaiman

    (@redcaiman)

    well again in other words

    i need a loop to get posts with (meta_key=”featured”) with (meta_value= not empty)
    or best say

    i need a loop to get posts with (meta_key=”featured”)

    thannks

    Thread Starter redcaiman

    (@redcaiman)

    well maybe i making something wrong cause its not working. but maybe other solutions could be post in date order and orderby post_date or something like this. well anyway thanks alot

    Thread Starter redcaiman

    (@redcaiman)

    i try wp_list_categories(‘depth=2&title_li=’) and work fine show or hide diferent level categories on menu but i still getting all post (parents, child and gran child) on archive.php. when i choose parent categorie on menu. menu are on header. well maybe tomorrow i have better luck. LynneAndChad. maybe if you can tell me more. im not a skiller wp.
    thanks.

    Thread Starter redcaiman

    (@redcaiman)

    Ey Thanks. but maybe you dont understand. My problem is not on menu. i wish display all depths categories on menu. The problem is when i choose a parent categorie on menu, archive.php file display posts on categories_parents, child and grand-child. i just want to display _parents and childs (not grand-child) when press a parent categorie on menu. thanks. some idea?

    there is archive.php code:
    ////////////////////////
    <?php while (have_posts()) : the_post(); ?>
    “><?php the_title(); ?>
    <?php the_content() ?>
    <?php endwhile; ?>
    ///////////////////////

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