Support » Plugin: Custom Simple Rss » orderby=meta_value

  • Resolved stani66

    (@stani66)


    Hello danikoo!

    The csrp_meta_value works great. I would like to use it to generate the most viewed posts, but i would like to control the order (desc/asc). Is it possible to order them by Meta Value? In my case it is numeric views.

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author danikoo

    (@danikoo)

    hi
    try
    &csrp_orderby=meta_value_num&csrp_order=desc

    let me know if it worked for you

    stani66

    (@stani66)

    Hi, thank you very much for your reply.
    Unfortunately it does not work and i don’t know why.

    When i use for example:
    ?call_custom_simple_rss=1&csrp_posts_per_page=10&csrp_show_meta=1&csrp_meta_key=_thumbnail_id&csrp_orderby=meta_value_num&csrp_order=desc

    There are ten items listed but the order is not desc by meta_value.
    <![CDATA[ 4542 ]]>
    <![CDATA[ 4836 ]]>
    <![CDATA[ 4827 ]]>
    <![CDATA[ 4814 ]]>
    <![CDATA[ 4534 ]]>

    Do you maybe have an idea what the problem is?
    Thanks again for your help, i appreciate it

    Plugin Author danikoo

    (@danikoo)

    Hi
    Sorry what you ask for doesn’t seem to be possible at this stage.
    i will need to add some more functionality to the plugin.
    maybe in later versions

    Best regards
    Danikoo

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.