kjparish
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Events Calendar] Order the events display? Newest at the top.I’m looking for the exact same thing. I want a list of expired events, sorted by most recently expired to oldest (descending) order.
Any way we can place this into the shortcode? Or would we have to edit the plugin?
Forum: Plugins
In reply to: [Enable Media Replace] Not compatible with WordPress 3.5's new media manager@elizabeth Powell, worked for me too. Thanks!
Did not realize my code snippet above had been chopped off some time ago. Here it is again. Hope this helps.
// Set up initial query for post $args = array( 'post_type' => $post_type, 'tag' => $tag, 'category_name' => $category, 'posts_per_page' => $posts_per_page, 'order' => $order, 'orderby' => $orderby, ); if( get_query_var( 'paged' ) ) $my_page = get_query_var( 'paged' ); else { if( get_query_var( 'page' ) ) $my_page = get_query_var( 'page' ); else $my_page = 1; set_query_var( 'paged', $my_page ); $paged = $my_page; } // default loop here, if applicable, followed by wp_reset_query(); $args = array( // other query params here, 'paged' => $my_page );
So, it’s been a little while now since I set this up, but here’s what I did (which worked):
You need to open the display-posts-shortcode.php file in the plugin folder. Find the // Set up initial query for post // section. This is where you’ll be adding to the existing code and inserting the query that allows for pagination (this is a copy of what I created before the “// If Post IDs” section).
[Code moderated as per the Forum Rules. Please use the pastebin]
Next – you need to add pagenavi. I inserted it after the ‘endwhile;’ like so:
endwhile; wp_pagenavi( array( 'query' => $listing ) ); wp_reset_query();
I’m no expert at this stuff, but I was able to hack a bit to get this working. I hope this helps you.
OK, Ambienthack’s solution seemed to work for about a minute but now it’s back to the same problem for me. I am seeing duplicated WYSIWG editors on every post page (I did not add a second one, so this is some kind of phantom editor).
I’ve gotten this plugin to work with pagination using WP-Page Navi, but you need to feel comfortable tweaking the plugin itself. I installed WP Page Navi and dropped in much of the code from this blog post: and it works!
Great – thanks for the tip!
I posted this on another thread as well, but I also discovered that Headspace presents a conflict. I found no other conflicts with any other plugins. Everything cleared up as soon as I deactivated Headspace. I use these 2 plugins together a LOT so I guess I will hold off on updating older sites for a bit.
Just wanted to report that this thread helped me – I am using ACF 3.0.6 and WordPress 3.3 and was unable to add links or images in the content editor until I disabled Headspace. Now everything is working again, although these 2 plugins never conflicted before. Hopefully something can be worked out. If anyone is using a different SEO tool that doesn’t seem to be presenting conflicts, please let me know.
Thank you so much! That’s exactly what I needed. Hadn’t even realized I’d added an empty field.
I am getting the same message. Any fix for this?
Forum: Plugins
In reply to: [Easy Nivo Slider] WordPress 3.2 breaks sliderIt’s been a couple of months now, but I just did a fresh install of WP and the plugin, which was also broken. Dekoded’s solution just worked for me also. Thanks!
In the above example, the title displays as:
Girl in a Boys' Club: Tina Fey's "Bossypants"
in the feed.
Sorry – my example above didn’t render correctly. Here is another example where titles are displaying special characters incorrectly.
<span class="wpp-post-title">Girl in a Boys' Club: Tina Fey's "Bossypants"</span>
If anyone can help me with a fix for this, that would be really awesome.
I think I discovered a quick way to add category classes to events in the calendar, so that part seems to be cleared up. Still hoping for some confirmation about hooks/filters documentation once going pro.