casualx
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: “Edit pages” not working / intermittentHaving a similar problem. The edit pages screen just does not load at all.
Forum: Plugins
In reply to: Custom Loop PaginationFound the solution here:
http://wordpress.org/support/topic/154300?replies=11$total = "your custom query goes here, but without LIMIT and OFFSET, so the total number of posts that match the query can be counted"; $totalposts = $wpdb->get_results($total, OBJECT); $ppp = intval(get_query_var('posts_per_page')); $wp_query->found_posts = count($totalposts); $wp_query->max_num_pages = ceil($wp_query->found_posts / $ppp); $on_page = intval(get_query_var('paged')); if($on_page == 0){ $on_page = 1; } $offset = ($on_page-1) * $ppp; $wp_query->request = "your query again, but with the LIMIT and OFFSET as follows: LIMIT $ppp OFFSET $offset"; $pageposts = $wpdb->get_results($wp_query->request, OBJECT);Forum: Plugins
In reply to: [Plugin: GD Star Rating] Change Formatting of Ratings?Hey, thanks for the quick reply.
I added the following line to my style.css:
.ratingblock {display:inline; background-color:blue; }
However, all it does is turn the rating block blue, and *does not* remove the line break between the ratings and the previous line (and it’s not the fault of the preceding code– I’ve checked with plain text).
I am at wits end, and would really appreciate your help with this. I would even suggest that you make displaying ratings inline a built-in feature of GD Star Rating. It is common for bloggers to want to display ratings inline next to a bit of text, like a title or a header or so forth.