Title: boon_'s Replies | WordPress.org

---

# boon_

  [  ](https://wordpress.org/support/users/boon_/)

 *   [Profile](https://wordpress.org/support/users/boon_/)
 *   [Topics Started](https://wordpress.org/support/users/boon_/topics/)
 *   [Replies Created](https://wordpress.org/support/users/boon_/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/boon_/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/boon_/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/boon_/engagements/)
 *   [Favorites](https://wordpress.org/support/users/boon_/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog URL and .htaccess](https://wordpress.org/support/topic/blog-url-and-htaccess/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years ago](https://wordpress.org/support/topic/blog-url-and-htaccess/#post-1118435)
 * Hmmm it doesn’t seem to be able to update the .htaccess remotely, even though
   it is set to 777.
 * I’ve tried t31os’s suggestion of editing the RewriteRule but it still does the
   same `/about/blog/` thing.
 * Even after resetting permalinks it still says I need the .htacess I listed in
   my first post.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress permalink headache](https://wordpress.org/support/topic/wordpress-permalink-headache/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years ago](https://wordpress.org/support/topic/wordpress-permalink-headache/#post-1117284)
 * Hmmm, have found this post: [http://www.weberz.com/blog/2009/06/wordpress-cms-blog](http://www.weberz.com/blog/2009/06/wordpress-cms-blog)
   which explains why.
 * Think I’ll have to go with the archives not consistent with the other permalinks
   as opposed to starting every post permalink with a number.
 * Here [http://codex.wordpress.org/Using_Permalinks#Structure_Tags](http://codex.wordpress.org/Using_Permalinks#Structure_Tags)
   it also says you should not start your permalinks with category, post name or
   tag.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: cformsII – contact form] Country drop down list](https://wordpress.org/support/topic/plugin-cformsii-contact-form-country-drop-down-list/)
 *  [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years ago](https://wordpress.org/support/topic/plugin-cformsii-contact-form-country-drop-down-list/#post-932807)
 * Just to say: you absolute legend!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Home page pagination](https://wordpress.org/support/topic/home-page-pagination/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/home-page-pagination/#post-1087483)
 * Surely not if I wanted the permalinks to remain consistent?
 * If I do as you say then a blog post ends up at `/general/post-title` when in 
   reality it should fall at `/about/news/general/post-title` as the blog is inside
   the about section.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Left Join Users and Usermeta](https://wordpress.org/support/topic/left-join-users-and-usermeta/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/left-join-users-and-usermeta/#post-1018224)
 * I am using the [cimy user extra fields plugin](http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/)
   and I have set up a field called ACCOUNT_STATUS with a drop down box of “Visible”
   or “Invisible” for user profile status. I am only trying to list users who have
   the preference “Visible”.
 * I’ve just realised I can accomplish what I’ve been trying using this
 *     ```
       <?php
       $order = 'user_nicename';
       $users = $wpdb->get_results("SELECT * FROM $wpdb->users ORDER BY $order");
       foreach($users as $user) :
       ?>
       	<?php if (get_cimyFieldValue($user->ID,'ACCOUNT_STATUS')=='Visible'): ?>
       	<tr>
       		<td><?php echo $user->user_login; ?></td>
       		<td><?php echo get_cimyFieldValue($user->ID,'ACCOUNT_AFFILIATION'); ?></td>
       		<td><?php echo $user->user_email; ?></td>
       	</tr>
       	<?php endif ;?>
       <?php endforeach; ?>
       ```
   
 * But the query here is still pulling out ALL users, then checking them. I was 
   trying to streamline it with a combined query so that it doesn’t pull out needless
   entries. So that if there are say 1000 users, load time isn’t compromised.
 * Thanks a lot
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get_the_tags if more than 0 (any)](https://wordpress.org/support/topic/get_the_tags-if-more-than-0-any/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/get_the_tags-if-more-than-0-any/#post-1000109)
 * Edit: fixed it now with this
 *     ```
       <?php $testtags = get_the_tags($post->ID); if ($testtags): ?>
       Content
       <?php endif; ?>
       ```
   
 * Whoops!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [If no written excerpt](https://wordpress.org/support/topic/if-no-written-excerpt/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/if-no-written-excerpt/#post-998620)
 * Thanks, seems to have done the trick.
 * Used
 *     ```
       <?php if ($post->post_excerpt!==''): ?>
       <?php the_excerpt(); ?>
       <?php endif; ?>
       ```
   
 * I love this community 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get_the_tags and links](https://wordpress.org/support/topic/get_the_tags-and-links/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/get_the_tags-and-links/#post-998619)
 * Edit – fixed it with this 🙂
 * `echo '<li><a href="http://www.mysite.co.uk/tag/'.$tag->slug.'" rel="tag">'.$
   tag->name.'</a></li>';`
 * to make..
 *     ```
       <?php
          global $post;
          foreach(get_the_tags($post->ID) as $tag) {
       	  echo '<li><a href="http://www.mysite.co.uk/tag/'.$tag->slug.'" rel="tag">'.$tag->name.'</a></li>';
          }
       ?>
       ```
   
 * Didn’t try the other
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post_content with formatting](https://wordpress.org/support/topic/post_content-with-formatting/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/post_content-with-formatting/#post-990548)
 * Found it..
 * <?php echo apply_filters(‘the_content’, $post->post_content); ?>
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page Query AND Post Query on the same page](https://wordpress.org/support/topic/page-query-and-post-query-on-the-same-page/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/page-query-and-post-query-on-the-same-page/#post-990544)
 * That helped me – never tried that and will use it in future. Thanks 🙂
 * It still doesn’t work calling page data with any sort of query/loop however.
 * The only way I can get it work by using no loop at all just putting the page 
   content onto the page directly using <?php echo $post->post_title; ?> etc.
 * This is problematic for <?php echo $post->post_content; ?> as it strips the WYSIWYG
   paragraph tags but I guess it’ll have to do for now unless anyone has a better
   solution?
 * Can you pull <?php echo $post->post_content; ?> whilst retaining the paragraph
   tags?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [The Loop in page.php and other templates](https://wordpress.org/support/topic/the-loop-in-pagephp-and-other-templates-1/)
 *  Thread Starter [boon_](https://wordpress.org/support/users/boon_/)
 * (@boon_)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/the-loop-in-pagephp-and-other-templates-1/#post-986730)
 * Okay, thanks. Query posts is the answer.
 * What about the second part? When using the page template not page.php it’s recognising
   the page as home so is putting my “is_home” content in 🙁
 * This is also stopping my NavXT breadcrumb from functioning correctly.

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