Easy Property Listings WordPress Real Estate Plugin › Forums › Feature Requests › Feature Request: Location Profiles Hooks: Which template is this page using?
Tagged: hooks, location profiles
- This topic has 11 replies, 2 voices, and was last updated 9 years ago by Laura.
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
April 14, 2015 at 6:08 pm #8335LauraSpectator
I’ve added breadcrumbs to every template but this one I can’t figure out what it’s using.
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?
ThanksApril 14, 2015 at 7:28 pm #8343Merv BarrettKeymasterThe 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'); ?>
April 15, 2015 at 5:23 am #8398LauraSpectatorBut 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…?
April 15, 2015 at 5:24 am #8399LauraSpectatorAlso, 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.April 15, 2015 at 5:31 am #8400LauraSpectatorSee 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.April 15, 2015 at 6:41 am #8412LauraSpectatorIn 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.
April 15, 2015 at 12:03 pm #8426Merv BarrettKeymasterIts 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.
April 16, 2015 at 12:58 am #8461LauraSpectatorThis reply has been marked as private.April 16, 2015 at 6:42 am #8467LauraSpectatorThis reply has been marked as private.April 16, 2015 at 4:27 pm #8487Merv BarrettKeymasterYES 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.
April 16, 2015 at 4:28 pm #8488Merv BarrettKeymasterTopic moved from priority support to feature requests.
April 17, 2015 at 9:40 am #8530LauraSpectatorOk 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/
Thanks…
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
- The forum ‘Feature Requests’ is closed to new topics and replies.