Support » Plugin: Threads » Reverse order / background / divider

Viewing 7 replies - 1 through 7 (of 7 total)
  • I believe if you modify this in threads.php

    if ($term) {
    		$query = new WP_Query(array(
    			'posts_per_page' => -1,
    			'taxonomy' => 'threads',
    			'term' => $term->slug,
    			'order' => 'ASC',
    		));
    		return $query->posts;

    to change ASC to DESC that should work.

    So it should be;

    if ($term) {
    		$query = new WP_Query(array(
    			'posts_per_page' => -1,
    			'taxonomy' => 'threads',
    			'term' => $term->slug,
    			'order' => 'DESC',
    		));
    		return $query->posts;
    Plugin Contributor Alex King

    (@alexkingorg)

    All of the image URLs are filtered, and the CSS has an override filter – you have full control to swap out images or change the CSS as desired using the WordPress plugin API:

    http://codex.wordpress.org/Plugin_API

    @saffleur – Thank you!

    I will use that, just wanted to see if an option is available in a setting or something not to alter the php and loose customization on updates.

    @alex King – some users use plugins because they are not learning css, filters and API.

    I was expecting more like “we will see about that in the development of the plugin” or “we will change some css to fit any colors in the future” not something that sounds like “whatever do what you want if you know how to do it”.

    Unprofessional.

    Plus, if you check the link you will see that the shortcode creates so bigger spaces between items compared with original thread file and cannot be use at the end of an article or something as it will take so much space and does not look good.

    Maybe some “we will learn from the user reports”?

    Alex, don’t mind Denis. You made it clear in your post about the support this would get, and your answer was empowering. One hopes that an open project will get folks involved that want to add features, so here’s to more folks discussing features they would like, and less calling you unprofessional. ^_^

    Plugin Contributor Alex King

    (@alexkingorg)

    Changing ASC to DESC in the query is not sufficient – you’ll also have to rewrite the display logic to calculate the offsets in the opposite order.

    If anybody has code changes needed for new to old sorting please share. Any chance you might make it an option in a future version of threads Alex?

    @boborg – As you can see they do not take improvment requests so good luck 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Reverse order / background / divider’ is closed to new replies.