urbanfix
Forum Replies Created
-
AuthorPosts
-
Sorry to jump in but i think the suggestion in point 4
URL/places/me
To have a structure like that would be great, as users could go to a url like url/food_and_drink/me and it would show all food and drink listings sorted by distance.
Would this ever be achievable?
Thanks,
–UFThanks for clarifying this,
@Silks is right, if they could be recurring too that would be good!
Thanks
UF@paolo top work,
worked perfectly as it was thanks a bunch!!
–UFAny update on what i need to remove from the above code to make it just display the profile?
I keep getting errors when i try!
Thanks,
UFI wondered why this was suddenly fixed!!
I thought a reimport of events had done it!
Thanks @giri for taking the time out of your holiday!
Hope you had a great time,
Thanks,
UFI have checked the link on multiple browsers and cleared my cache but I still cant see the thumbnails?!
Please advise,
Thankyou,
UFThis reply has been marked as private.No worries @giri! Thanks for all the support!
I’ve done something wrong as now my home page is plain white.The PHP looked like this:
<div class="whoop-event-photo-inner"> <?php if ($preview) { $image_url_string = $post->post_images; if (!empty($image_url_string)) { $image_urls = explode(',', $image_url_string); $image_url = $image_urls[0]; ?> <img width="200" src="<?php echo $image_url; ?>" class="attachment-250x200 wp-post-image" alt=""> <?php } } else { if (has_post_thumbnail()) { echo get_the_post_thumbnail( $post->ID, array( 250, 200) ); } } ?> </div> </div> <h1 class="entry-title geodir-big-header-title fn whoop-title"> <?php echo esc_attr(stripslashes($post->post_title)); ?>
I changed it to:
<div class="whoop-event-photo-inner"> <?php if ($preview) { $image_url_string = $post->post_images; if (!empty($image_url_string)) { $image_urls = explode(',', $image_url_string); $image_url = $image_urls[0]; ?> <img width="200" src="<?php echo $image_url; ?>" class="attachment-250x200 wp-post-image" alt=""> <?php } } else { if (has_post_thumbnail()) { echo get_the_post_thumbnail( $post->ID, array( 250, 200) ); } if ($fimage = geodir_get_featured_image($post->ID, '', true, $post->featured_image)) { ?> <img width="200" src="<?php echo $fimage->src; ?>" class="attachment-250x200 wp-post-image" alt=""> <?php } </div> </div> <h1 class="entry-title geodir-big-header-title fn whoop-title"> <?php echo esc_attr(stripslashes($post->post_title)); ?>
I know i’ve missed something stupid here, where did i go wrong?
Please advise!
Thanks, UFThis reply has been marked as private.This reply has been marked as private.Thankyou, UF
I have updated to the latest version of whoop and the issue is back,
If you could fix it and then tell me what to do after each update i could do it myself,
Thanks, UFThis has resolved the issue,
thanks UFOkay, it looks like this
<?php error_reporting(E_ERROR); add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
Is that correct?
Thanks,
UFI have this codein my functions php
<?php // hide PHP warnings/errors/notices //error_reporting(0); add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
Is that the same thing or should i try what you suggested?
Thanks, UF -
AuthorPosts