Ayman Aboulnasr
Forum Replies Created
-
After a bit of hunting around for a solution, here’s what I’ve found and worked like a charm!
//for a given post type, return all taxonomies attached to it $post_type = 'staff_members'; $tax = 'departments'; $tax_terms = get_terms($tax); if ($tax_terms) { foreach ($tax_terms as $tax_term) { $args=array( 'post_type' => $post_type, "$tax" => $tax_term->slug, 'post_status' => 'publish', 'posts_per_page' => -1, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { echo '<h3>'.$tax_term->name.'</h3>'; while ($my_query->have_posts()) : $my_query->the_post(); ?> <a href="<?php the_permalink();?>"><?php the_title();?></a> <?php endwhile; } wp_reset_query(); } } ?>I hope this will help everybody that faces the same situation I had.
Forum: Fixing WordPress
In reply to: Keep getting "Nothing Found for" for any admin pages!Oh God!
Now I can’t even log in using the incognito mood in Chrome. This is insane!Forum: Fixing WordPress
In reply to: Keep getting "Nothing Found for" for any admin pages!If i turn off permalinks and renamed the .htaccess file, will that affect accessing the existing pages?
In other words, a blog post with the following name:
If i change/turn off permalinks and then rename the .htaccess file, will this post still be accessible?
Forum: Fixing WordPress
In reply to: Keep getting "Nothing Found for" for any admin pages!well, just now, through Chrome Incognito’s mood I managed to login fine to the admin area! the normal chrome would not let me!
This is really awkward!
Other browsers also wouldn’t display the website correctly or they would return the “Nothing Found for…” message!
Forum: Fixing WordPress
In reply to: Keep getting "Nothing Found for" for any admin pages!I wish I can determine a pattern for the error but I don’t seem to find an obvious one.
The funny thing is, I don’t see the website correctly, but everybody else can, including me sometimes, but for almost 4 hours now I can’t even see beyound the homepage which doesn’t load the css, js, nor the images.
My host responded by saying that they can not see anything wrong with the website. I used a website called http://loads.in and it views alright without any problems!
I changed computers with different IP from a different ISP and the problem still exists!
I’ll try to look at the error log file and see if anything is coming up in there.
I’ve been using Super Cashe whithout any problems at all for the last 4 months by the way.
Could it be anything related to WordPress what so ever?
Forum: Fixing WordPress
In reply to: Keep getting "Nothing Found for" for any admin pages!well, in that case, What do I need to do exactly?
Is there anything in particular I should be asking my hosting company which is “JustHost” by the way?