Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter [email protected]

    (@johnshofstalledn-systemscom)

    <?php
    $args = array ( 'post-type' => 'any' , 'date_query' => array( 'after' => '1 day ago' , 'before' => 'today' ) , );
    $the_query = new WP_Query( $args );
    
    // The Loop
    if ( $the_query->have_posts() ) :
    while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
      <div class="pastWeek" style="width:100%"><h2><a href="<?php the_permalink(); ?>" title="<?php printf(esc_attr('Permalink to %s'), the_title_attribute('echo=0')); ?>" rel="bookmark"><?php the_title(); ?></a></h2></div>
    <?php endwhile;
    endif;
    
    // Reset Post Data
    wp_reset_postdata();
    ?>

    seems to be working better, but still not pulling all the posts from that day.

    Thread Starter [email protected]

    (@johnshofstalledn-systemscom)

    I also can’t change the font of the headings. I tried adding a class to my css to override it but that didn’t work, then I tried editing the rich-review.css and adding a rule but that didn’t work either. I also tried !important, but nothing I’ve done will change the font of the headings. It makes it look out of place. I assume this is just something I’m doing wrong but it can’t hurt to bring others attention to it.

    Thread Starter [email protected]

    (@johnshofstalledn-systemscom)

    Found the div class that has the stars in it and set it to display none and that worked for now. I would still like to be able to use the stars as that is a great idea for the review form.

    Thread Starter [email protected]

    (@johnshofstalledn-systemscom)

    So that only worked to get the form to submit. Whenever the reviews display on the webpage it shows up the B&W stars but defaults to just 1, which looks bad when the review text says 5 stars. Any help would be appreciated.

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