ViewedHow to add parameters in the function of Yuzo?

  • Author
    Posts
  • Vish Es
    Participant

    iLen
    tell me please, how to add parameters to this code?
    <?php if ( function_exists( “get_Yuzo_Views” ) ) { echo get_Yuzo_Views(
    $num_post, // number post to shoe
    $order_by // views,most_comment,etc..
    ); } ?>
    Can you give a sample code?

    I try like this, but nothing comes out
    $num_post = ‘6’;
    $order_by = ‘views’;

    #5899
    iLen
    Keymaster

    Hi, the function get_Yuzo_Views it serves only to show the number of visits of the current post, I do not think it makes sense to add any parameter.

    #5903
    Vish Es
    Participant

    Here you gave this code:

    <?php if ( function_exists( "get_Yuzo_Views" ) ) { echo get_Yuzo_Views(
    $num_post, // number post to shoe
    $order_by // views,most_comment,etc..
    ); } ?>

    but it is not complete and I can not make it myself working…

    #5906
    iLen
    Keymaster

    Hi, you want to create custom functions, but this is already being built in version 6.0 where you can create several settings and each one has an independent configuration to the other, this is to come

    #5918
    Vish Es
    Participant

    When will release version 6?

    #5929
    Gsmart Roma
    Participant

    Hello iLen,
    Is it possible to make thumbnails responsive? Width and height to be in procents, not in pixels

    #5930
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.