SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot gregorious's Avatar
    Join Date
    Aug 2006
    Location
    Honolulu, HI
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    execute short IDX code

    Building a wordpress real estate website and using the idxpress plugin. I want the IDX shortcode below to auto execute on the index.php in the main content area.

    Right now the code just displays as text. That same line of code executes and displays Property Listings on the Agent pages; they have the Text Editor Toolbar and IDX buttons for encoding this code snippet. But the index.php is not an editable Page in the PAGE menu.

    Code:
    [idx-listings city="Laguna Beach" propertytypes="1030" orderby="DateAdded" orderdir="DESC" count="12" showlargerphotos="true"]
    how do I execute this short IDX code?

    greg
    G. Armento - Design, Multimedia, Illustration, Photography
    -------------------------------------------------------
    www.communications-by-design.com

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    The do_shortcode() function is what you would want to use.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •