Giri

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 2,661 total)
  • Author
    Posts
  • in reply to: new supreme directory pages #397407

    Giri
    Expired Member
    Post count: 3155

    By “Type” I was talking about the post types, Like Posts, Pages, gd_place etc.

    How about this?

    What are the pages you want to exclude that class?

    Ex: Add Listing, ….

    in reply to: new supreme directory pages #397403

    Giri
    Expired Member
    Post count: 3155

    List the type of pages, I’ll customize the code and give you.

    Thanks

    in reply to: how to edit the menu width size? #397250

    Giri
    Expired Member
    Post count: 3155
    
    
    .header .site-logo {
        float: none;
        margin: 0 auto;
    }
    in reply to: Unwantes backslashes in address #397242

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: Unwantes backslashes in address #397233

    Giri
    Expired Member
    Post count: 3155
    in reply to: new supreme directory pages #397231

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    Try this snippet in https://wordpress.org/plugins/code-snippets/

    
    
    
    function sd_custom_header_body_class($classes)
    {
    	if (!in_array("sd-homepage", $classes)) {
    		$classes[] = 'sd-homepage';	
    	}
    	return $classes;
    }
    add_filter('body_class', 'sd_custom_header_body_class');

    If your layout get messed up, please disable that snippet.

    Thanks

    in reply to: Supreme theme listing avatar #397228

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: Supreme theme listing avatar #396955

    Giri
    Expired Member
    Post count: 3155

    Ok I just modified the code.

    Please make these changes and you should be fine.

    File: /Users/giri/Sites/wordpress/wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php

    In line 821 you will see this line.
    https://github.com/mistergiri/supreme-directory/blob/master/inc/geodirectory-compatibility.php#L821

    
    
    
    $entry_author = '<img src="'.get_stylesheet_directory_uri() . "/images/gravatar2.png".'"  height="100" width="100">';

    Replace that line with these two lines.

    
    
    if (!defined('SD_DEFAULT_GRAVATAR_IMAGE')) define('SD_DEFAULT_GRAVATAR_IMAGE', get_stylesheet_directory_uri() . "/images/gravatar2.png");
    $entry_author = '<img src="'.SD_DEFAULT_GRAVATAR_IMAGE.'"  height="100" width="100">';

    Now all you have to do is that add this line in your wp-config.php file

    define('SD_DEFAULT_GRAVATAR_IMAGE', 'http://your image url here');

    Thanks

    in reply to: Supreme theme listing avatar #396953

    Giri
    Expired Member
    Post count: 3155

    Hi Joy,

    If you are talking about this image,

    /wp-content/themes/supreme-directory/images/gravatar2.png

    then your only option right now is to overwrite the image.

    I can add a filter in the next version to override that image via hooks.

    In the mean time please use overwrite option.

    Thanks

    in reply to: translating GD #396949

    Giri
    Expired Member
    Post count: 3155

    Your language file has strings like this in line 4151

    
    
    #: language.php:72
    msgid "Add Images : <small>(You can upload more than one images to create image gallery on detail page)</small>"
    msgstr "Añadir Imágenes: <small>(Puede subir más de imágenes para crear galería de imágenes en la página de detalle)</small>"

    But it doesn’t match the string here.

    https://github.com/mistergiri/geodirectory/blob/master/language.php#L72

    Notice the words “more than”

    Please use exact strings and it would work

    in reply to: Supreme Theme Default Picture for Tag Cloud #396947

    Giri
    Expired Member
    Post count: 3155

    I hope you are talking about featured image.

    If yes check this thread.

    https://wpgeodirectory.com/support/topic/change-herofeatured-image-on-supreme-author-page/

    in reply to: translating GD #396940

    Giri
    Expired Member
    Post count: 3155

    Please post you language file. i’ll check whether you are using the correct strings or not.

    Thanks

    in reply to: translating GD #396918

    Giri
    Expired Member
    Post count: 3155

    Hi Abel,

    Most likely you are not translating the string properly. Make sure to use html tags too.

    https://github.com/mistergiri/geodirectory/blob/master/language.php#L72

    in reply to: grid not displaying properly #396781

    Giri
    Expired Member
    Post count: 3155

    How about this code?

    
    
    .geodir_category_list_view li.gridview_onehalf {
        margin: 0 6px 0 0 !important;
        width: calc(50% - 12px) !important;
    }
    
    .geodir_category_list_view li.gridview_onethird {
        margin: 0 6px 0 0 !important;
        width: calc(33.3% - 12px) !important;
    }
    
    .geodir_category_list_view li.gridview_onefourth {
        margin: 0 5px 0 0 !important;
        width: calc(25% - 12px) !important;
    }
    
    .geodir_category_list_view li.gridview_onefifth {
        margin: 0 5px 0 0 !important;
        width: calc(20% - 12px) !important;
    }
    in reply to: grid not displaying properly #396776

    Giri
    Expired Member
    Post count: 3155

    Hi Grant,

    Maybe its because I have not added the important tag.

    Please try with this code.

    
    
    
    .geodir_category_list_view li.gridview_onehalf {
        margin: 0 20px 0 0 !important;
        width: calc(50% - 12px) !important;
    }
    
    .geodir_category_list_view li.gridview_onethird {
        margin: 0 15px 0 0 !important;
        width: calc(33.3% - 12px) !important;
    }
    
    .geodir_category_list_view li.gridview_onefourth {
        margin: 0 13px 0 0 !important;
        width: calc(25% - 12px) !important;
    }
    
    .geodir_category_list_view li.gridview_onefifth {
        margin: 0 12px 0 0 !important;
        width: calc(20% - 12px) !important;
    }
Viewing 15 posts - 46 through 60 (of 2,661 total)