Giri
Forum Replies Created
-
AuthorPosts
-
Have you checked the Appearance > Menus > UsersWP section ?
It contains all userswp related links. You just have to click that and add it in the menu.
Hey chris,
I just noticed this thread.
Could you try our latest version from here? Let me know if you still face the problem.
wordpress.org/plugins/userswp/
You are welcome 🙂
You are welcome.
July 27, 2017 at 5:32 pm in reply to: Show listings in BuddyPress dashboard only if there is a listing #388705Hi Alex, we fetch only the post types. We are not doing any count check. If you want to implement that then it requires custom coding.
This is the function that fetches your enabled post types.
get_option( 'geodir_buddypress_link_listing' )
You can use the filters found inside get_option function to modify the returned values. But you need to hire a developer for that. Sorry about that.
Thanks
Hi Kevin,
I have not tested this code. Change the keys and test it.
add_action('geodir_before_description_on_listing_detail', 'gd_profile_custom_content'); function gd_profile_custom_content() { global $post; ?> <div class="gd_profile_custom_content_wrapper"> <div class="column1"> <div> <?php echo geodir_get_post_meta( $post->ID, 'custom_field_key_goes_here', true ); ?> </div> <div> <?php echo geodir_get_post_meta( $post->ID, 'custom_field_key_goes_here', true ); ?> </div> </div> <div class="column2"> <<div> <?php echo geodir_get_post_meta( $post->ID, 'custom_field_key_goes_here', true ); ?> </div> <div> <?php echo geodir_get_post_meta( $post->ID, 'custom_field_key_goes_here', true ); ?> </div> <div> <?php echo geodir_get_post_meta( $post->ID, 'custom_field_key_goes_here', true ); ?> </div> </div> </div> <?php }
Hi Jay,
You seem like you are undoing the changes we did in the last thread. If I recall that correctly, I never modified any code or asked you to modify any code in the supreme file. We did everything in the code snippets.
So you should get back old layout when you deactivate tat snippet.
Did you modify anything else without our knowledge?
Please go through this doc.
https://wpgeodirectory.com/docs/geodirectory-lists-overview/
Lists can be accessed via
yourdomain.com/lists
Added via
yourdomain.com/add-list/
You need create custom links in the menu.
This reply has been marked as private.This reply has been marked as private.Hi Tim, I guess I understand your problem
In your old thread you mentioned like this.
I’d like the 2nd link to be conditionally visible like the default in the event that the listing doesn’t have an email assigned to it.
Thats why i given this code.
global $post; if (!isset($post->geodir_email) || empty($post->geodir_email)) { ?> <a href="javascript:void(1);" class="b_send_inquiry2" onclick="jQuery( '.b_send_inquiry' ).click();">Send Enquiry</a> <?php }
Which means that link would display only when the Email field not filled. If you want to do the exact opposite (when email filled)
you need to replace this line
if (!isset($post->geodir_email) || empty($post->geodir_email)) {
with
if (isset($post->geodir_email) && !empty($post->geodir_email)) {
Hope that helps.
July 25, 2017 at 1:46 pm in reply to: Supreme Directory Adding Sidebar to single and archive pages #388429Hey there,
Instead of modifying the original archive.php file, you can clone that file and name it like this archive-{post_type}.php and then add your modifications there.
Replace {post_type} with your post type. Ex: gd_place
This way only that post type will be affected by your changes.
Hope that helps.
Thanks
No worries. You are welcome.
Hi you cannot use Autoptimize with GD booster.
If you need Autoptimize then use it with WP Super Cache.
Thanks
-
AuthorPosts