Forum Replies Created

Viewing 12 replies - 46 through 57 (of 57 total)
  • Hi there,

    We’re running version 2.0.9.7 and have set the radio and checkboxes skin to none as well, but are still getting reports that filtering isn’t working in IE9. Any ideas why this could still be happening?

    https://tridien.com/dmehme/products/

    Thread Starter Hudson Phillips

    (@harbormark)

    This would affect the sidebar widget?

    Thread Starter Hudson Phillips

    (@harbormark)

    Figured this out.

    Noticed that as well; the last instagram posts are a few months old on my end

    Yeah, something is definitely wrong.

    Thread Starter Hudson Phillips

    (@harbormark)

    Works like a charm! Thanks!!!

    Thread Starter Hudson Phillips

    (@harbormark)

    I really need to get better with PHP. Thanks for all your help so far. I tried the code above, modified the meta_key value, but the results weren’t sorted.

    I was able to get it to work through a bit of a hack though, here’s how it looks, and here’s what I did:

    <?php
    	$args = array(
    		'posts_per_page' => -1,
    		'order' => 'ASC',
    		'orderby' => 'title',
    		'post_type' => 'store'
    		);
    		query_posts($args); if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post(); ?>
        <?php $value = get_post_meta($post->ID, 'store_meta_phone', true); ?>
    		 <?php if($value != '') : ?>
             <p class="directory premium">
    		  <a href="<?php echo get_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
             <?php endif; ?>
       <?php endwhile; ?>
    <?php endif; wp_reset_query(); ?>
    
    <?php
    	$args2 = array(
    		'posts_per_page' => -1,
    		'order' => 'ASC',
    		'orderby' => 'title',
    		'post_type' => 'store'
    		);
    		query_posts($args2); if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post(); ?>
        <?php $value2 = get_post_meta($post->ID, 'store_meta_phone', true); ?>
        	<?php if(empty($value2)) : ?>
    		 <p class="directory">
    		  <a href="<?php echo get_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
              <?php endif; ?>
       <?php endwhile; ?>
      <?php else : ?>
    		<h3 class="post-title">No Stores Found</h3>
    		<p>We're sorry, but there are no stores currently available for display. Please return soon.</p>
    		<p>
    		  <a href="<?php echo get_option('home'); ?>">Return to the homepage</a>
    		</p>
    		<p>&nbsp;</p>
    		<p>&nbsp;</p>
    		<p>&nbsp;</p>
    <?php endif; wp_reset_query(); ?>

    Basically I’m displaying some stores as preferred if there is a phone number stored, and the rest after if no phone number is present by running two queries. Is this a bad practice?

    Thread Starter Hudson Phillips

    (@harbormark)

    Wow, this is way above my head. Let me try to make it simpler,

    How can I query for all posts in a post type where a field is not null? I’m using this at the moement:

    <?php
    	$args = array(
    		'posts_per_page' => -1,
    		'order' => 'ASC',
    		'orderby' => 'title',
    		'post_type' => 'store'
    		);
    		query_posts($args); if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post(); ?>
    		 <p class="directory">
    		  <a href="<?php echo get_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
       <?php endwhile; ?>
      <?php else : ?>
    		<h3 class="post-title">No Stores Found</h3>
    		<p>We're sorry, but there are no stores currently available for display. Please return soon.</p>
    		<p>
    		  <a href="<?php echo get_option('home'); ?>">Return to the homepage</a></p>
    <?php endif; wp_reset_query(); ?>

    I think if I can see how to return posts where the field is null (and when it is not null as well), I should be fine.

    Thanks

    Thread Starter Hudson Phillips

    (@harbormark)

    Thanks, will review and follow up.

    Yeah, it’s probably not a good idea to have tags and categories named the same. If you do, you may want to review the difference and purpose of tags vs categories.

    Here’s my suggestion, disable any plugins you have that enable caching. Also, go to your Permalinks page, and click save (this will help flush the settings after renaming categories and tags).

    Also, double check that the year and date is correct in Settings > General.

    It’s hard to figure out what’s happening without actually seeing how the admin is set up. Here are a few questions, which may seem rather silly:

    1. Do you have Administrator access? If so, is the data set correctly in Settings > General?
    2. What was the last date you posted something? Did you assign it a category
    3. Have you tried disabling plugins to see if it affects how the blog works?

    I hope this helps point you in the right direction.

    Forum: Fixing WordPress
    In reply to: Author name

    Try this:

    .content-bar .post .post_meta .posted_by {
        display:  none !important;
Viewing 12 replies - 46 through 57 (of 57 total)