john_harrison
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: paginate_linksGot my answer…
If anyone was wondering, just use this:
<?php global $paginated_query; global $wp_query; if ( !$paginated_query ): $paginated_query = $wp_query; endif; if ( $paginated_query->max_num_pages > 1 ) : ?>
Forum: Plugins
In reply to: [Co-Authors Plus] Authors disappear when post savedIgnore me, I’m an idiot… just re-installed it and it works great!
Thanks so much for this superb plugin guys!
Forum: Plugins
In reply to: [Co-Authors Plus] Authors disappear when post savedI should add that when the post is saved, as above, the correct authors show on the live page, but the authors are removed from the WordPress dashboard, and if the post is saved again, it reverts back to one author.
Forum: Plugins
In reply to: Plugins to share posts (Twitter, FB, etc), but using custom textShould I post this under a specific plugin?
Don’t get me wrong Ajay, it’s still brilliant. It’s working perfectly without using the tags anyway, it’s just that my boss asked me…
Appreciate the effort and thanks again,
John
Forum: Fixing WordPress
In reply to: Add Categories ID and/or Class to wp_list_categoriesThanks, this is great!
Forum: Fixing WordPress
In reply to: Add Categories ID and/or Class to wp_list_categoriesAlso, for the category of each post, how would I assign a class to the category?
<span class="post-category"><a href="https://localhost/wordpress/category/blog/" title="View all posts in Blog" rel="category tag">Blog</a></span>
I would want to apply the name of the category as a class to the hyperlink tag. So the above should look like this:
<span class="post-category"><a href="https://localhost/wordpress/category/blog/" class="blog-category" title="View all posts in Blog" rel="category tag">Blog</a></span>
Thanks,
John
Forum: Fixing WordPress
In reply to: Add Categories ID and/or Class to wp_list_categoriesIs there any way I can make the classes more meaningful?
cat-item-7 is a bit …. ya know ??
Forum: Fixing WordPress
In reply to: Add Categories ID and/or Class to wp_list_categoriesThanks for the quick reply|
John