adr10
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Fixing WordPress
In reply to: plugin or string to make ads moveI tried adding the comma but nothing happened. I’m not having any problems, I bought the theme, it’s not from chance
Forum: Fixing WordPress
In reply to: plugin or string to make ads moveI tried to put only that nothing changes, could you see if it is correct?
<!-- NORMAL PROFILES start --> <div class="bodybox bodybox-homepage"> <h3 class="l"><?php printf(esc_html__('Newly Added %s','wp'),ucwords($taxonomy_profile_name_plural)); ?></h3> <div class="clear"></div> <?php $args = array( 'post_type' => $taxonomy_profile_url, 'meta_query' => array( array('key' => 'premium', 'value' => '0', 'compare' => '=', 'type' => 'NUMERIC') ), 'posts_per_page' => get_option("frontpageshownormalcols") * 5 'orderby' => 'rand', ); $normal_profiles = new WP_Query( $args ); $i = "1"; if ($normal_profiles->have_posts()) : while ( $normal_profiles->have_posts() ) : $normal_profiles->the_post(); include (get_template_directory() . '/loop-show-profile.php'); endwhile; else: printf(esc_html__('No %s here yet','wp'),$taxonomy_profile_name_plural); endif; wp_reset_postdata(); ?> <div class="clear"></div> < <!-- NORMAL PROFILES end --> <?php } // if $frontpageshownormal = 1 ?> <?php if (get_option("frontpageshowrev") == 1) { ?> <?php $args = array( 'post_type' => 'review', 'posts_per_page' => get_option("frontpageshowrevitems"), 'orderby' => 'rand', ); $reviews_query = new WP_Query( $args ); if ( $reviews_query->have_posts() ) : ?>- This reply was modified 5 years, 11 months ago by Yui. Reason: please use CODE button for proper formatting
Viewing 2 replies - 1 through 2 (of 2 total)