eggroup
Forum Replies Created
-
Forum: Plugins
In reply to: [Search Everything] [Plugin: Search Everything] Is there a Changelog?+1
Daniele sum it up pretty well.
I want just going to post about the categories issue but I guess it’s exactly the same as you describe it. Here is what I have :
Let’s say I have two Categories : Internet Marketing , Affiliates and I have a post called CPA which is added to both categories.
If I searched for :
– Internet Marketing : I get all the posts under this catrgory
– Affiliates Internet Marketing : I get nothing
– CPA Affiliates : I get nothing
– CPA Internet Marketing : I get nothing
– CPA : I get the postSummary: If I searched for categories (one or two words) I find all posts under them but if I searched for anything combined with category name I get nothing which means Categories are not included in the search even if I set their settings to “Yes”
OK, thank you. I added a 301 redirect to my .htaccess file and it’s working like I want it now. I just wanted to make sure so I don’t mess things up.
Here is the 301 redirect non-www to www incase somebody needed.
RewriteCond %{HTTP_HOST} ^mywebsite.com RewriteRule (.*) http://www.mywebsite.com/$1 [R=301,L]PS: I placed it after “# END WordPress” in my .htaccess file.
Thanks again for your help.
Forum: Fixing WordPress
In reply to: Adding Pagination to a Custom Select QueryThanks for the tip. The current code I pasted above did make the pagination work just fine. I just needed to edit wp_pagenavi() as I posted above.
You’re right. I don’t need ‘order’ => ‘desc’. I removed it and everything is still working just fine.
Thanks again! 🙂
Forum: Fixing WordPress
In reply to: Adding Pagination to a Custom Select QueryThank you so much. You just helped me to solve a problem I’ve been trying to solve for over two days now. Your code did put me on the right path but there is a couple of problems I faced but I managed to solve them and get the code work probably. my meta_key was a numeric value and therefore the posts weren’t sorted right and also I didn’t get a pagination even after I used your code. Here is the whole code after I edited. Thanks!
First :
<?php $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; $args = array( 'posts_per_page' => 20, 'orderby' => meta_value_num, 'meta_key' => 'top', 'order' => 'desc', 'paged' => $paged ); $my_query = new WP_Query( $args ); ?> <?php if (have_posts()) : ?> <?php while ( $my_query->have_posts() ) : $my_query->the_post(); ?>Then replace
echo "<div id=\"pagenavi\">"; wp_pagenavi(); echo"</div>";
Withecho "<div id=\"pagenavi\">"; wp_pagenavi( array( 'query' => $my_query ) ); echo"</div>"; wp_reset_postdata();This will sort all your posts desc by custom field called “top” and you will 20 posts per page.
I can’t thank you enough for putting an end for my problem and believe me while I’m searching I came across tens of posts regarding this problem which was always missing something or a bit different than what I need.
Finally, Thank you! 🙂
Forum: Fixing WordPress
In reply to: Adding Pagination to a Custom Select QueryThat’s sounds good and interesting. Sorry I’m not so experienced in WP & PHP. Should I replace my whole code with your query or what should I do?
I really appreciate your help. Thank you!
Forum: Hacks
In reply to: Using category name with next_posts_linkThank you so much!
It’s work. 🙂
Forum: Fixing WordPress
In reply to: Category Title Customization .. What am I doing wrong?@alchymyth & zoonini
Never mind, thanks for trying to help me. My code if perfectly fine but it doesn’t work because I use ‘All In One SEO’ which is already re-writing the titles and blocking any Customization trials.
Thanks again for your help.
Forum: Fixing WordPress
In reply to: Category Title Customization .. What am I doing wrong?@zoonini I would use in_category(‘Sports’) if I’m trying to custom the title of any “post” in the Sports directory but is_category(‘Sports’) means I’m targeting the Category page itself which is what I’m trying to do.
Thank you.
danzigism, here is the solution. Sorry I didn’t post back when I got it but there are many threads regarding this problem.
eqhes, You Rock!!
It’s working now .. Finally! 🙂
Thank you so much.
It does make sense. This bug has been around for a while now. No word from developers yet. I posted about it like 2 months ago and I just pumped my thread again.
Any update on this? I don’t see the developers post around here for a while now. Does anyone know a good alternative?
Forum: Plugins
In reply to: [Plugin: WP-PageNavi] Follow, noindex implementationThank you so much, scribu.
It’s working like a charm. Out of all SEO plugins I used, none of them actually took care of the category/page/2 etc.. problem.
Thanks again.