Giri
Forum Replies Created
-
AuthorPosts
-
@van-dam I have fixed those translation strings. Thanks for reporting.
October 24, 2015 at 7:28 am in reply to: Places still showing up on Home page even though they are in trash #57919Ok, I’ll modify the code to check post status first before showing in YNRA widget.
Thanks for reportingHello @wakeatlas
I just had a look at your site. You have not activated your child theme. Can you activate and try again?
October 24, 2015 at 7:01 am in reply to: Disable users to upload photos on listings that dont own #57916Hi @wakeatlas
I have added those filters and actions in whoop 1.0.3. So you have to wait till whoop 1.0.3 get released.
“Add Photo” button now adhere with price package image limit. Fix will be available in whoop 1.0.3
I advise you to keep the 3rd image and hide the first and second images. This is because third image contains “See all images” link
If you go with my way use this code in your quick css.
@media only screen and (max-width: 700px) { .whoop-photo.whoop-photo-1, .whoop-photo.whoop-photo-2 { display:none !important; } }
If you want to go with your way then use the following code.
@media only screen and (max-width: 700px) { .whoop-photo.whoop-photo-2, .whoop-photo.whoop-photo-3 { display:none !important; } }
October 23, 2015 at 12:03 pm in reply to: Disable users to upload photos on listings that dont own #57833Hello @wakeatlas
I have added some filters and actions to make this task easier.
You can hide the old “Add Photo” button using this filter.
add_filter('whoop_big_header_show_add_photo_btn', '__return_false');
Then you can hook your new “Add Photo” button like @paolo mentioned using this hook.
function whoop_wakeatlas_add_photo() { if (!is_user_logged_in()) { $login_url = geodir_login_url(array('redirect_to'=>get_the_permalink())); } else { $login_url = false; } global $post,$current_user; get_currentuserinfo(); if ($post->post_author == $current_user->ID) {?> <a href="<?php if ($login_url) { echo $login_url.'?add_biz_photo=1'; } else { echo esc_url(add_query_arg(array("add_biz_photo" => '1'), get_permalink())); } ?>" class="whoop-btn whoop-btn-small"><i class="fa fa-camera"></i> <?php echo __('Add Photo', GEODIRECTORY_FRAMEWORK); ?></a> <?php } } add_action('whoop_big_header_buttons_before', 'whoop_wakeatlas_add_photo');
Please paste all my codes in child theme functions.php file
I have no idea which image you are talking about. If you are talking about those 3 images right next to map, then you may have to use css to hide the 2nd and 3rd image on mobile view.
@urbanfix, yes it will be available in 1.0.3. And yes only business owner can reply to reviews.
@wakeatlas Refer this answer
https://wpgeodirectory.com/support/topic/gd-page-details-widget-doesnt-show/#post-56845
But modify little bit.
Change this part of code
<?php get_sidebar('page-details'); ?> </div> </div> <?php get_footer(); ?>
to something like this
<?php if (bp_is_user_profile() && bp_current_action() == "public") { } else { get_sidebar('page-details'); } ?> </div> </div> <?php get_footer(); ?>
Let me know how that goes
October 23, 2015 at 6:50 am in reply to: Places still showing up on Home page even though they are in trash #57814@wakeatlas can you clarify few things?
1) Are those trashed posts only appear in “your next review widget” or everywhere?
2) If its only appearing in YNRA widget, only bookmarked and then deleted posts appear or all trashed posts?
If you answer those questions, I can debug it better.
Thanks
Not sure which menu you want to hide. You may have to use CSS to hide?
.your-menu-name {
display: none !important;
}.logged-in .your-menu-name {
display: block !important;
}I have fixed the bug. Fix will be available in next version. Thanks
Best of widget default title look like
Best of {Your site name} {location}
So keep the widget title field field blank if you want default title.
-
AuthorPosts