Request : Options to Featured boxes

  • Author
    Posts
  • #106760
    KB71
    Power User

    Would be good to have the option to choose if one wants to show the latest, random or most popular posts when using the featured boxes.

    Website: places2explore.net

    #106913
    Zed
    Cryout Creations Team

    We did consider such an option when we created the landing page’s functionality, but decided not to include it because we didn’t have many possible configuration values for it.
    WordPress doesn’t have a popularity attribute – what criteria would be this based on? most views? (WordPress itself doesn’t log views), most comments? (comments are a separate post type).
    We did, however, include a anima_boxes_query_args filter that can be used to directly customize the WP Query as needed. Below are the existing parameters that are passed along to the query:

    	$args = apply_filters( 'anima_boxes_query_args', array(
    		'showposts' => $options['anima_lpboxcount' . $sid],
    		'cat' => cryout_localize_cat( $cat ),
    		'ignore_sticky_posts' => 1,
    		'lang' => cryout_localize_code()
    	), $options['anima_lpboxcat' . $sid], $sid );
    
            $custom_query->query( $args );

    $sid is the section’s number (1, 2 or 3 for boxes).


    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
    #106928
    KB71
    Power User

    Thank you for your reply.
    Guess it is just what i was used to with Joomla 🙂
    Have found alternative ways of showing those options, also shouldn’t really add any more to the landing page, have enough there now.

Viewing 3 posts - 1 through 3 (of 3 total)

You need to log in to reply to this topic.