Kor

Forum Replies Created

Viewing 15 posts - 14,896 through 14,910 (of 15,414 total)
  • Author
    Posts
  • in reply to: Oops no data found #233416

    Kor
    Moderator
    Post count: 16516

    Hi Peter,

    Do you think you can share temp admin access to your site so we can take a better look? Also, do you mind listing down the steps in order to recreate the issue? You can post the details here using the private reply option below.

    Thanks!

    in reply to: Sticky header #233406

    Kor
    Moderator
    Post count: 16516

    Hi Christian,

    I’d like you to try using the custom CSS below and see if it’s what you’re looking for?

    
    
    header#site-header{
        position: fixed;
        background: #fff;    
    }
    
    .site-header a, .site-header a:visited {
        color: #000;
    }
    in reply to: CPT Categories Widget Font Size #233383

    Kor
    Moderator
    Post count: 16516

    Hi giovanni,

    Are you referring to the categories on this page? http://mainstrock.com/business/ . If you are, use the custom CSS code below. If not, could you probably provide me a screenshot of the exact location?

    
    
    .gd-cptcat-li h3 {
        font-size: 14px;
    }

    Thanks!

    in reply to: Rating off image #233314

    Kor
    Moderator
    Post count: 16516

    Hi Richard,

    You just need to insert a transparent icon for the “Rating off Image”. I’ve attached a transparent icon for your convenience.

    in reply to: Ads management intergration #233197

    Kor
    Moderator
    Post count: 16516

    Hi Macmizer,

    I’d like you to know that we already have that as a feature request, though. If you have a minute, feel free to vote for it on the link below. https://wpgeodirectory.com/requests/

    Thanks!

    in reply to: Show certain parts of Listing depending on user role #233113

    Kor
    Moderator
    Post count: 16516

    Hi Macmizer,

    Thanks for your reply. I’ve just discussed this matter with our developer and here’s the code you can use. Apply this code to your functions.php file and it will be shown on the “Add Listing” form under price package section. Please make sure the userrole1 & userrole2 capability is set for user. Use a child theme if you want to keep the changes. Well, let us know how it goes.

    
    
    function geodirectory_before_detail_fields() {
        if ( is_admin() ) {
            return;
        }
        
        if ( current_user_can( 'userrole1' ) ) { 
            ?>
            <div class="geodir_form_row clearfix" id="geodir_userrole1_row">
                <label>User Role 1</label>
                <p></p>
            </div>
            <?php
        }
        
        if ( current_user_can( 'userrole2' ) ) {
            ?>
            <div class="geodir_form_row clearfix" id="geodir_userrole2_row">
                <label>User Role 2</label>
                <p></p>
            </div>
            <?php
        }
    }
    add_action( 'geodir_before_detail_fields' , 'geodirectory_before_detail_fields', 3 ); 
    in reply to: Supreme Directory map display #233106

    Kor
    Moderator
    Post count: 16516

    Hi melvin,

    I’m having issues accessing your Website and it is displaying “This site can’t be reached”. Could you please check with your hosting provider?

    Thanks!

    in reply to: "Get Directions" button to Open Google Maps Link #233095

    Kor
    Moderator
    Post count: 16516

    Hi Lee,

    I’ve just spoken with our developer and it’s definitely possible to achieve what you needed there. Could you please insert the function below into the functions.php file? When you’re done, you should be able to see a link “Get Directions on Google Maps” in the details page (Map Tab) and will open a direction in Google Maps when you click on it. Well, give it a try and let us know how it goes.

    
    
    function geodirectory_detail_page_google_map_link( $options, $canvas ) {
        global $post;
        
        if ( $canvas == 'detail_page_map_canvas' && !empty( $post->post_latitude ) && !empty( $post->post_longitude ) ) {
            ?>
            <p><a href="http://maps.google.com/?q=<?php echo $post->post_latitude . ',' . $post->post_longitude ;?>" target="_blank"><?php echo __( 'Get Directions on Google Maps', 'geodirectory' ); ?></a></p>
            <?php
        }
    }
    add_action( 'geodir_map_after_render', 'geodirectory_detail_page_google_map_link', 10, 2 );
    in reply to: Show certain parts of Listing depending on user role #233055

    Kor
    Moderator
    Post count: 16516

    Hi Macmizer,

    This requires custom customization to the theme files which falls outside the scope of what we offer for support. I did a quick Google search and I found out that you’ll need to use “user role editor” plugin to make user roles with the different levels you want, for example, level_0 and level_1 , then use the code below to display the contents according to the levels. Well, I hope this helps.

    
    
    <?php
    if(current_user_can('level_0')) : ?>
    <div class="messages">
    level 0 content
    </div>
    <?php endif; ?>
    
    <?php
    if(current_user_can('level_1')) : ?>
    <div class="messages">
    level 0 content
    </div>
    <?php endif; ?>
    in reply to: Seen by non-logged in users #233047

    Kor
    Moderator
    Post count: 16516

    Hi Richard,

    Here’s a technique you can use to achieve that. https://developer.wordpress.org/reference/functions/is_user_logged_in/#user-contributed-notes . The code will check if the current user is logged in and displays a Welcome note. You can change the note to an image. Let us know how it goes.

    Thanks!


    Kor
    Moderator
    Post count: 16516

    Hi Utsav,

    Glad that you sorted it out yourself. Well, enjoy gd and let us know if you need anything further.

    in reply to: Publish Button position #232435

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Could you try using the custom CSS code below and see if it’s what you’re looking for?

    
    
    input.geodir_button.cancle_button,
    input.geodir_button.goback_button{
        float:left;
        margin-right:10px;
    }
    
    input.geodir_button.geodir_publish_button {
        position:absolute;
    }

    Thanks!


    Kor
    Moderator
    Post count: 16516

    Hi Utsav Sarkar,

    Could you please share WP Temp admin login and we’ll try to upload it for you?

    Thanks!


    Kor
    Moderator
    Post count: 16516

    Hi Utsav Sarkar,

    You can hide that area using the custom CSS code below, then display a widget on the Details Top Section. Insert the custom CSS into GD > Design > Style > Custom Style CSS .Let us know if it’s what you’re looking for.

    
    
    .featured-area {
        display: none;
    }

    Thanks!

    in reply to: OpenStreet Maps Zoom and Marker Cluster #231681

    Kor
    Moderator
    Post count: 16516

    Hi there,

    I’ve just checked your Website and it looks like you’ve already shifted to Google Maps. Do you mind listing down the steps in order to recreate the issue? Also, it would be better if you could send us a link to an example where this issue can be viewed on the frontend of your site and we’ll try and help you with this.

    Thanks!

Viewing 15 posts - 14,896 through 14,910 (of 15,414 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount