[Resolved] WordPress Page Template 2018-02-28T07:21:33+00:00

Build with IDX Broker Forums General Discussion WordPress Page Template

  • Author
    Posts
  • Ryan Litts
    Participant
    Post count: 5

    I know that by default the IDX plugin grabs the single.php for IDX pages. Does anyone know how to add a template page just for the IDX page. I have tried adding a custom post type template page but that doesn’t work. Just wondering what others do.

    0 ratings, 0 votes0 ratings, 0 votes (0 rating, 0 votes, rated)
    You need to be a registered member to rate this post.
    Loading...
  • Dave Bonds
    Keymaster
    Post count: 4

    The plugin actually doesn’t use any WordPress template for the IDX Page post type. Those are essentially just redirects to the IDX page in Middleware which uses your wrapper – and the wrapper post type. So if you want to create a custom template for the IDX pages, customize the wrapper. i.e. create a single-idx-wrapper.php file and place in your theme.

    0 ratings, 0 votes0 ratings, 0 votes (0 rating, 0 votes, rated)
    You need to be a registered member to rate this post.
    Loading...
  • Ryan Litts
    Participant
    Post count: 5

    Thanks Dave. I had just figured that out after looking at the div class in the inspector. I don’t know why I didn’t think of that sooner. Much appreciated
    .

    0 ratings, 0 votes0 ratings, 0 votes (0 rating, 0 votes, rated)
    You need to be a registered member to rate this post.
    Loading...

You must be logged in to reply to this topic.