Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Sort Posts by 'ACF' custom field – Date #674262

    ok thanks!

    i applied this:

    $query = array( ‘meta_key’ => ‘seminar_datum’,
    ‘orderby’ => ‘seminar_datum’,
    ‘order’ => ‘DESC’,
    ‘paged’ => $page,
    ‘post_type’ => $params[‘post_type’],
    ‘posts_per_page’ => $params[‘items’],
    ‘offset’ => $params[‘offset’],
    ‘post__not_in’ => (!empty($no_duplicates)) ? $avia_config[‘posts_on_current_page’] : array(),
    ‘tax_query’ => array( array( ‘taxonomy’ => $params[‘taxonomy’],
    ‘field’ => ‘id’,
    ‘terms’ => $terms,
    ‘operator’ => ‘IN’)));

    but i didn’t work… :-/ ( my date format is: yyyy-mm-dd

    Second thing is… i just want this to apply, if the category is “seminare”.

    like

    $params[‘taxonomy’] == “seminare”

    Thank you really much!
    Henning

    • This reply was modified 8 years, 4 months ago by muschko.
    in reply to: Sort Posts by 'ACF' custom field – Date #673780

    Hey Josue,

    thanks for your comment,
    i can’t give you an admin account, because the customer don’t want to open his infos before launch.

    Do you have any other clues for me? Like an example or something else?

    Thank your very much for your help,
    Henning

    in reply to: Sort Posts by 'ACF' custom field – Date #672558

    Hey Josue,

    i’m using the “Blog-Beiträge”-Element.

    regards,
    Hening

    • This reply was modified 8 years, 4 months ago by muschko.
Viewing 3 posts - 1 through 3 (of 3 total)