4,565 reputation
1623
bio website markratledge.com
location Missoula, MT
age
visits member for 2 years, 9 months
seen 8 hours ago
stats profile views 273

My WordPress consulting site: markratledge.com


Nov
1
comment WooCommerce with thousands of products - site is very slow - optimize db queries?
Forget trying to cache. If you have root at that VPS, check your my.cnf file and run mysqltuner.pl to tune MySQL.
Nov
1
comment Build a content and excerpt grid loop with paging and options for # of posts
Well, I get a parse error on the line ` $current_in_total = "post-number-" $current_in_total .= get_query_var( 'paged' ) * get_query_var( 'posts_per_page' ) - $wp_query->current_post; $current_in_total .= "-of-total";` And this also adds the odd-even classes to the full posts, which causes them to be displayed in columns instead of full width. And also, where does the paging call <?php twentyeleven_content_nav( 'nav-below' ); ?> ` go?
Oct
30
revised Metabox does not show in custom post type
title cleanup
Oct
29
answered WooCommerce with thousands of products - site is very slow - optimize db queries?
Oct
29
revised Build a content and excerpt grid loop with paging and options for # of posts
deleted 83 characters in body; edited title
Oct
29
comment Build a content and excerpt grid loop with paging and options for # of posts
The code snip above that alternates classes is from a different theme, not sure where. I did think of moving my whole theme (which is based on twentyeleven, but is not a parent/child) into Genesis for ease of use and to use that grid loop of billericksons's, but everything else is finished except for this main loop I want.
Oct
29
comment Build a content and excerpt grid loop with paging and options for # of posts
Thanks, let me look at this. You use post classes like this example billerickson.net/a-better-and-easier-grid-loop except you're incorporating excerpts and content to handle text, unlike images as billerickson's example.
Oct
29
revised Build a content and excerpt grid loop with paging and options for # of posts
details
Oct
29
comment Build a content and excerpt grid loop with paging and options for # of posts
You're right; last I had heard (not recently) there was a difference in opinion between the thme developer and WP, but I see this: mashable.com/2010/07/22/thesis-relents
Oct
29
accepted How do I rewrite this loop as a new WP_Query style-loop?
Oct
29
comment How do I rewrite this loop as a new WP_Query style-loop?
Chip, Really appreciate the help; I'm over my head with this loop stuff. Here's a new question: wordpress.stackexchange.com/questions/70792/… Thanks
Oct
29
asked Build a content and excerpt grid loop with paging and options for # of posts
Oct
29
comment How do I rewrite this loop as a new WP_Query style-loop?
Thanks, it looked like it was working, but the lack of the alternating class would be a problem. Actually, I've kind of given up on this, as what I am really working on and need to figure out is a loop like this: a certain number of full posts and then a certain number of excerpts with the odd/even layout for a grid, and which will also support pagination. And the second to ~ pages will be all excerpts in a grid. Just like the Thesis theme does, but I can't figure out how to extract that loop from that theme; and it's proprietary, too.
Oct
28
comment How do I rewrite this loop as a new WP_Query style-loop?
Actually, this doesn't work. ALl the divs have the class .post and don't alternate with the class .uneven. It appears that the loop works from the browser, but the source shows that the classes don't alternate.
Oct
28
comment How do I rewrite this loop as a new WP_Query style-loop?
Ah, that works great. I should have seen that. Thanks!
Oct
28
revised How do I rewrite this loop as a new WP_Query style-loop?
added 527 characters in body; edited title
Oct
28
asked How do I rewrite this loop as a new WP_Query style-loop?
Oct
27
answered What does this error mean? WordPress database error: [MySQL server has gone away]
Oct
27
revised What does this error mean? WordPress database error: [MySQL server has gone away]
typos
Oct
26
comment Display trackbacks separately from comments in twentyeleven
But this kills all comments. While keeping the normal comments display, how do I display pings in other areas of a template file all by themselves?