mrv
Forum Replies Created
-
AuthorPosts
-
All history has been cleared… geolocation and browser.
I’ve been checking things here and it looks like it is related to being logged in or not.
Logged in and clicking the near me button = no issues, it works for all devices.
NOT logged in and clicking the near me button = no issues on desktop pc, but for phone and tablet, the page keeps reloading.
I have confirmed this with another person, they are seeing the same reloading issue on their devices.
This reply has been marked as private.Oh that’s niccccce 🙂
Thank you!!!!!
Mike
I did the git zip download, uploaded and activated as new theme. Should that work?
Hi Stiofon,
Thanks for making this change! I did install the file mentioned just to take a quick peak at the changes, but it appears the accordion has not changed. So I’m not sure if I’m missing something.
Thanks,
MikeGiri,
I came up with this, seems to work and looks logical…
@media (min-width: 0px) and (max-width: 600px) {
.sd-detail-cta { display: none; } /* show it on small screens */
}@media (min-width: 601px) and (max-width: 2000px) {
.sd-detail-cta { display: block; } /* show it on large screens */
}@media (min-width: 0px) and (max-width: 601px) {
.sd-detail-cta.sd-detail-sidebar-cta { display: block; } /* show it on small screens */
}@media (min-width: 600px) and (max-width: 2000px) {
.sd-detail-cta.sd-detail-sidebar-cta { display: none; } /* show it on large screens */
}Thank you for the help… greatly appreciated!!
MikeHi Giri,
The hook you mention is what I was looking for in the first div… thank you! Placed “Get Directions” under the address, here is what I used…
function geodirectory_detail_page_google_map_link() {
global $post, $preview;if ( !$preview && !empty( $post->post_latitude ) && !empty( $post->post_longitude ) ) {
$maps_url = add_query_arg( array(
‘q’ => $post->post_latitude . ‘,’ . $post->post_longitude,
), ‘http://maps.google.com/’ );
?>
<p><i class=”fa fa-location-arrow “></i> : ” target=”_blank”><?php echo __( ‘Get Directions’, ‘geodirectory’ ); ?></p>
<?php
}
}
add_action( ‘sd_detail_before_cat_links’, ‘geodirectory_detail_page_google_map_link’);For div “div.sd-detail-cta”, I would like to move the “write a review, send to friend, favorite and social links” to the bottom of the detail sidebar just for mobile devices. The goal is to move the profile accordion feature up so it is under the categories and move the social linking stuff down to the bottom for mobile devices or whenever the accordion is active. I’m in the process of trying to understand the use of hooks so hopefully this makes sense.
Thanks!
MikeOk, I figured it out how it works. Thought the widgets would show on the avatar link page, but I was wrong, I see the widgets get applied to the links from the author page.
Thanks
Can I make my own author page and have the avatar link go to that page?
This is for supreme.
I just saw this video and noticed it wasn’t for supreme. So I am not sure of the options.
Thanks
Ok, thanks for confirming!
I’ve gone outside for custom work and it’s been very disappointing. Twice I have paid for customizing and both times they failed to complete the request. So yes I am a little sad to hear I have to go back to something that hasn’t worked. I’d rather pay you for the work that is getting done right! Greatly appreciate any help you do provide!
🙁
I can get the first shortcode to work in my_new_tab. Now how to get a different shortcode to work in my_new_tab2? I’m not sure of the add_action change needed. I am using gd_listings shortcode with different parameters for each tab.
The listings in my_new_tab need one more parameter… post_id. How to show only listings related to detail page that is open?
Can these newly created tabs be hidden until they have listings to show in them?
Thanks!!!
The code works… thank you!
How to add a shortcode to the tabs?
I set up a few scenarios and based on my questions above it looks like…
There can only be one cpt linked to the cpt_place at a time. If another cpt is linked to cpt_place, it will become the active link, disabling the prior one. If you go back to the original cpt and re-save it, it will then become the active link to cpt_place and thus disables the other. So basically there could be any number of cpt’s linked to the cpt_place, but the last one saved will be the lucky one!
There can be many levels of links. I created 5 cpt’s, each reflecting a level, and then linked 2 to 1, 3 to 2, 4 to 3 and 5 to 4. Each listing has a tab to the level it is linked to and works good!
Having more than one cpt to the cpt_place, or any other cpt, would be ideal and hoping you can tell me I just overlooked something 🙂
Thanks!
-
AuthorPosts