Whats the shortcode for this?

  • Aleksandr
    Aleksandr
    Newbie 32 points
    August 10, 2015 at 6:43 pm

    Looking for a shortcode to display FEATURED listings, please advise.

    -Sasha


  • Josh
    Super Guru 13,875 points
    August 10, 2015 at 6:57 pm

    Hello Aleksandr,
    Try this
    [code title=””]
    [LISTINGS query=”meta_key=featured&meta_value=yes”]
    [/code]

    This reply was awarded the best answer by the topic poster.
  • Aleksandr
    Aleksandr
    Newbie 32 points
    August 10, 2015 at 7:00 pm

    Sweet thank you 🙂

    -Sasha

  • Jeff
    Jeff
    Newbie 3 points
    August 10, 2015 at 7:05 pm

    🙂


  • Josh
    Super Guru 13,875 points
    August 10, 2015 at 7:07 pm

    You’re welcome 🙂

  • Aleksandr
    Aleksandr
    Newbie 32 points
    August 10, 2015 at 7:18 pm

    Hey josh, what about pagination? is there a way I can add that in to the same page?

    -Sasha


  • Josh
    Super Guru 13,875 points
    August 10, 2015 at 7:22 pm

    There is no option to do this currently

  • Aleksandr
    Aleksandr
    Newbie 32 points
    August 10, 2015 at 7:31 pm

    can you give me the php code for pagination then, please?

    -Sasha

  • zarko
    zarko
    Senior Member 360 points
    August 10, 2015 at 11:07 pm

    @Aleksandr
    to have pagination here it would require modification of [LISTINGS], this function would need to be rewritten. You can post it here as feature request https://ideas.premiumpress.com and Mark will consider it for some of the next updates

  • Clive
    Clive
    Super Guru 1,818 points
    August 10, 2015 at 11:13 pm

    As Josh says, there is NO option to do this currently.

  • Aaron
    Aaron
    Super Guru 920 points
    August 10, 2015 at 11:59 pm

    Are you using a childtheme? A simple template could do this as Its a simple wordpress query after all.

  • Aleksandr
    Aleksandr
    Newbie 32 points
    August 17, 2015 at 4:27 pm

    ok so this no longer works 🙁

    [LISTINGS query=”meta_key=featured&meta_value=yes”]

    anyone know why?

    -Sasha

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes