Feature Request: Location Profiles Hooks: Which template is this page using?

Easy Property Listings WordPress Real Estate Plugin Forums Feature Requests Feature Request: Location Profiles Hooks: Which template is this page using?

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

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #8335
    Laura
    Spectator

    I’ve added breadcrumbs to every template but this one I can’t figure out what it’s using.

    http://raindancedev11.com/timeshare/diamond-resort-embassy-maui-kaanapali-vacation-club-timeshare-resales/

    I want to add
    <?php if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘<div id=”breadcrumbs”>’,'</div>’);
    } ?>
    As I’ve done on all the other pages. This is the only one I can’t find the spot for.

    Can you direct me please?
    Thanks

    #8343
    Merv Barrett
    Keymaster

    The template is coming from the epl-location-profiles extension. There aren’t any hooks for you to do that automatically.

    What you can do instead is add a html module above the content module and enable PHP for the HTML module add a hook there eg

    <?php do_action('my_breadcrumb_hook'); ?>

    #8398
    Laura
    Spectator

    But then that pushes the content down and it looks different than the other pages. When I can tuck it into the template, it all matches and it’s inside the blue border instead of pushing the content down and making a weird gap. It totally screws up the layout to do it that way for that one page.

    Also, I can’t even tell for sure which builder layout that page uses but it shares with others so then it messes the other ones up.

    Any way to get it in the template like the others? I’ve got ten versions working great and one not…I don’t want to wreck the ten to get that one looking the same, inside the blue border without pushing the content down…?

    #8399
    Laura
    Spectator

    Also, breadcrumbs don’t show up, it just makes a gap,
    If I do “remove div wrapper” = yes, then there is no gap but no breadcrumbs appear.

    #8400
    Laura
    Spectator

    See screenshots please.
    The gap where the arrow is…I don’t want. I want them inside the blue box like the others.

    Good one/no gap – code in template:
    http://raindancedev11.com/property/diamond-resort-embassy-maui-kaanapali-vacation-club-12051/

    Bad one/gap, html module added:
    http://raindancedev11.com/timeshare/diamond-resort-embassy-maui-kaanapali-vacation-club-timeshare-resales/

    I also want (on the bad one) for the blue box to be up against the top. You had me add padding so that this page would work at the top
    http://raindancedev11.com/feature/timeshare-hawaii-resale-internet-specials/
    But then it pushes down the blue box here too far. It should be flush to the top. I’ve been fighting with this for days.

    Thank you for your help.

    Attachments:
    You must be logged in to view attached files.
    #8412
    Laura
    Spectator

    In other words I want the thin blue line at the top to touch the nav bar like the other pages but the breadcrumbs to be just above the photo but below the thin blue line (like the other pages).
    http://raindancedev11.com/timeshare/diamond-resort-embassy-maui-kaanapali-vacation-club-timeshare-resales/

    I’ve been trying to get that to work with your html module suggestion but no luck. They don’t show up.

    Can you help? Thanks.

    #8426
    Merv Barrett
    Keymaster

    Its not possible without editing the location profile plugin directly which is not recommended.

    We are frantically working on a few bugs with the staff directory extension and advanced map. Once that is done can add the necessary hook to add the breadcrumb to the template but do not have the time to upgrade location profiles until the other two are fixed.

    Its definitely needed and will get to it after the other critical issues. Going to rename this topic to keep top of mind.

    #8461
    Laura
    Spectator
    This reply has been marked as private.
    #8467
    Laura
    Spectator
    This reply has been marked as private.
    #8487
    Merv Barrett
    Keymaster

    YES do it the wrong way and once we get to updating that (after the critical issues) you will be able to use a hook to add it to that file.

    The file you want to edit for the archive page to add the function is.

    plugins/epl-location-profiles/templates/post-types/ithemes/archive-location-profile.php && single-location-profile.php

    They handle templates outside the POST content which is where the breadcrumb function needs to go.

    I’m moving this topic to Feature Requests and changing the title so i get it done.

    #8488
    Merv Barrett
    Keymaster

    Topic moved from priority support to feature requests.

    #8530
    Laura
    Spectator

    Ok so I did it the “wrong” way, and now they show up perfectly where I need them.
    They still don’t show up though on these pages…which template should I add to the “wrong” way for these for now?

    http://raindancedev11.com/property/

    http://raindancedev11.com/building/oahu/

    http://raindancedev11.com/building/hilton-grand-vacation-club-at-kings-land-at-waikoloa-beach-resort/

    Thanks…

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Feature Requests’ is closed to new topics and replies.