Forum Replies Created

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

    (@8edrich)

    Thank you very much!
    I will try it this way.

    Bedrich

    Thread Starter 8edrich

    (@8edrich)

    No, it was just an example…
    I want to get posts from a specific author, and additionally where my custom field has a specific value. Like this:

    
    <?php
    $args = array(
        'author_name' => 'Bedrich',
        'post_type' => 'my-custom-post',
        'meta_key' => 'color',
        'meta_value' => 'blue');
    $the_query = new WP_Query( $args ); ?>
    
    <?php if ( $the_query->have_posts() ) : ?>
        <!-- the loop -->
        <?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
            <h1 href="<?php the_permalink(); ?>"><?php the_title(); ?></h1>
            <?php the_content(); ?>
        <?php endwhile; ?>
    <?php endif; ?>
    

    I dont know, how to implement such a query in TotalPress.

    Hi.
    Is it possible to use images with transparency in the slider? (Doesnt work for me. There is allways white background.)

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