Display a listing using shortcode

  • Frank
    Frank
    Newbie 14 points
    September 5, 2015 at 3:42 pm

    Hi,

    Is it possible to display a single listing with a shortcode?

    For example,

    [LISTING show=”10″]

    which would display a single listing?

  • Michael
    Michael
    Elite Member 427 points
    September 5, 2015 at 5:34 pm

    I believe so

  • Michael
    Michael
    Elite Member 427 points
    September 6, 2015 at 10:09 pm

    U need to find the documentation of n the shortcodes and how to use LISTING.

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    September 7, 2015 at 2:32 am

    [LISTING show=1] <-- shows one listing [LISTING show=1 query=""] <-- fill in the query to get the listings you want

  • Frank
    Frank
    Newbie 14 points
    September 7, 2015 at 6:38 pm

    Is there anyway I can display a listing specifically from the ID of the listing?

    For example, [LISTING show=1 query=”ID29″] something like that?

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
  • Frank
    Frank
    Newbie 14 points
    September 8, 2015 at 6:58 pm

    Ok, with info from the link I have tried this but it still hasn’t worked.

    [LISTING show=1 query=’p=55′]
    [LISTING show=1 query=”p=55″]

    I have tried both above and many other combinations.
    (55 is my listing ID)


  • Josh
    Super Guru 13,875 points
    September 8, 2015 at 7:17 pm

    @Frank Try this
    [code title=””]
    [LISTINGS show=1 query=’p=55′]
    [/code]

    This reply was awarded the best answer by the topic poster.
  • Frank
    Frank
    Newbie 14 points
    September 8, 2015 at 8:35 pm

    Thanks a lot @Josh

    it works great!


  • Josh
    Super Guru 13,875 points
    September 10, 2015 at 2:01 pm

    You’re welcome.Glad I could help 🙂

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes