Forum Replies Created

Viewing 40 posts - 41 through 80 (of 80 total)
  • Author
  • in reply to: Wide seems boxed after upgrade from 3 to 4.0.1 #107707
     rikbutterflyskull
    Participant

    Yes, but not for the wide. I’ll wait an update and 1440px is ok.

    1) https://archived.seventhqueen.com/forums/topic/menu-css-overriding
    2) https://archived.seventhqueen.com/forums/topic/cart-dropdown-position

    These two problems are urgent

    in reply to: Wide seems boxed after upgrade from 3 to 4.0.1 #107695
     rikbutterflyskull
    Participant

    I want to know one thing. In Wide layout the max width is always 1440px?

    in reply to: Wide seems boxed after upgrade from 3 to 4.0.1 #107694
     rikbutterflyskull
    Participant

    Already done it yesterday. This method gives for me always the 1200px as max width

    in reply to: GeoDirectory search #107247
     rikbutterflyskull
    Participant

    Kleo supports the main GeoDirectory Core plugin, not the addons like Events/Custom Post Type or Advance Search. In the basic search shortcode there isn’t the cpt/events selector.

    You should customize the entire search bar with CSS ( new width % for media queries) if you activated CPT/Events addon.

    Try this in style.css

    COPY CODE
    @media (min-width: 1200px) {
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.search_text,
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.snear {
    	  width: 29%;
        }
        .geodir-search .search_by_post, 
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.geodir_submit_search {
    	  width: 20%;
        }
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search {
    	  padding: 10px;
        }
    }
    @media (min-width: 992px) and (max-width: 1199px) {
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.search_text,
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.snear {
    	  width: 28%;
        }
        .geodir-search .search_by_post, 
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.geodir_submit_search {
    	  width: 20%;
        }
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search {
    	  padding: 10px;
        }
    }
    @media (min-width: 768px) and (max-width: 991px) {
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.search_text,
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.snear {
    	  width: 27%;
        }
        .geodir-search .search_by_post, 
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.geodir_submit_search {
    	  width: 20%;
        }
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search {
    	  padding: 10px;
        }
    }
    @media (min-width: 320px) and (max-width: 767px) {
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.search_text,
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.snear {
    	  width: 100%;
    	  margin: 5px auto;
        }
        .geodir-search .search_by_post, 
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search input.geodir_submit_search {
    	  width: 100%;
    	  margin: 5px auto;
        }
        .geodir_advanced_search_widget .geodir-loc-bar .geodir-loc-bar-in .geodir-search {
    	  padding: 10px;
    	  margin: 5px auto !important;
        }
        .geodir_advanced_search_widget input, .geodir_advance_search_widget input {
    	  margin: 5px auto !important;
        }
    }
    in reply to: GeoDirectory search #107228
     rikbutterflyskull
    Participant

    What is or what you mean for “Search bar oversize” ?

    in reply to: Wide seems boxed after upgrade from 3 to 4.0.1 #107216
     rikbutterflyskull
    Participant

    Wide Layout issues for me too. I tested both version, 4.0 and 4.01. See the screenshots.

    in reply to: Woo Commerce shopping cart icon in main menu #106491
     rikbutterflyskull
    Participant

    For my site works, I do not know what might be in your case

    in reply to: Woo Commerce shopping cart icon in main menu #106483
     rikbutterflyskull
    Participant

    oh i had forgotten a piece of code, i’m really sorry 😀

    COPY CODE
    function cart_to_shop() {
        if ( is_woocommerce() || is_cart() || is_checkout() ) { } else {
    echo "<style  type=\"text/css\" media=\"screen\">.shop-drop {display:none!important;}</style>";
        }
    }
    add_action('wp_head', 'cart_to_shop');
    in reply to: Woo Commerce shopping cart icon in main menu #106451
     rikbutterflyskull
    Participant

    You should copy the right code, the second i posted…

    in reply to: Woo Commerce shopping cart icon in main menu #106417
     rikbutterflyskull
    Participant

    after

    <?php

    COPY CODE
    /**
     * @package WordPress
     * @subpackage Kleo
     * @author SeventhQueen <themesupport@seventhqueen.com>
     * @since Kleo 1.0
     */
    
    /**
     * Kleo Child Theme Functions
     * Add custom code below
    */ 
    in reply to: Woo Commerce shopping cart icon in main menu #106400
     rikbutterflyskull
    Participant
    in reply to: Woo Commerce shopping cart icon in main menu #106399
     rikbutterflyskull
    Participant

    I say to put it in functions.php

    in reply to: Woo Commerce shopping cart icon in main menu #106298
     rikbutterflyskull
    Participant

    Sorry this is correct:

    COPY CODE
    function cart_to_shop() {
        if ( is_woocommerce() || is_cart() || is_checkout() ) { } else {
    echo "<style  type=\"text/css\" media=\"screen\">.shop-drop {display:none!important;}</style>";
        }
    }
    in reply to: Woo Commerce shopping cart icon in main menu #106295
     rikbutterflyskull
    Participant

    Taken from this topic: https://archived.seventhqueen.com/forums/topic/hide-menu-on-all-pages/#post-96077

    Prerequisites: WooCommerce, wc pages, Theme Option > Woocommerce > Menu cart location* = Primary.

    add this to child functions.php

    COPY CODE
    function cart_to_shop() {
        if ( is_woocommerce() || is_cart() || is_checkout() ) { } else {
    echo "<style  type=\"text/css\" media=\"screen\">.shop-drop {display:none!important;}</style>}";
        }
    }

    is_woocommerce reference. For is_cart and is_checkout look at “includes/wc-conditional-functions.php” source.

    in reply to: Buddypress Sidebar #105268
     rikbutterflyskull
    Participant

    https://archived.seventhqueen.com/forums/topic/sidebar-for-buddypress-pages

    You can set a custom sidebar only for Groups and Activity page. Members/Profile page use the Main sidebar and you can’t change this by default settings.

    There are three possibilities:

    1) Look for a plugin to setup sidebars (and check which works with BuddyPress)
    2) Ask in the BuddyPress Support/Forums
    3) Write custom code

    in reply to: Default Featured Image Placeholder Issue #104505
     rikbutterflyskull
    Participant

    I fix that.

    kleo-framework/lib/function-core.php

    COPY CODE
    function kleo_get_post_thumbnail_url( $post_id = null ) {
    	$image_url = '';
    
        $thumb = get_post_thumbnail_id( $post_id );
        //all good. we have a featured image
        $featured_image_url = wp_get_attachment_url( $thumb );
        if ( $featured_image_url ) {
            $image_url = $featured_image_url;
        } elseif ( sq_option( 'blog_get_image', 1 ) == 1 ) {
            global $post;
            if (! is_object($post) && $post_id != NULL  ) {
                $post = setup_postdata( get_post($post_id) );
            }
            ob_start();
            ob_end_clean();
            if (isset($post->post_content)) {
                $output = preg_match_all('|<img.*?src=[\'"](.*?)[\'"].*?>|i', $post->post_content, $matches);
                $image_url = isset($matches[1][0]) ? $matches[1][0] : null;
            }
        }
    
        //Defines a default image  
        if ( empty( $image_url ) && get_post_type() == 'post' )  { //** NEW Filter the post_type to 'post'
            $image_url = sq_option_url('blog_default_image', '');  
        }
        return $image_url;
    }

    lib/theme-functions.php // function kleo_ajax_search() – Line 647

    Line 770-785

    COPY CODE
                        $format = get_post_format( $post->ID );
                        if ( $img_url = kleo_get_post_thumbnail_url( $post->ID ) ) {
                            $image = aq_resize( $img_url, 44, 44, true, true, true );
                            if( ! $image ) {
                                $image = $img_url;
                            }
                            $image = '<img src="'. $image .'" class="kleo-rounded">';
                        } else {
                            if ($format == 'video') {
                                $image = "<i class='icon icon-video'></i>";
                            } elseif ($format == 'image' || $format == 'gallery') {
                                $image = "<i class='icon icon-picture'></i>";
                            } else {
                                $image = "<i class='icon icon-link'></i>";
                            }
                        }

    becomes

    COPY CODE
                        $format = get_post_format( $post->ID );
                        if ( $img_url = kleo_get_post_thumbnail_url( $post->ID ) ) {
                                $image = aq_resize( $img_url, 44, 44, true, true, true );
                            // if( ! $image ) {
                                // $image = $img_url;
                            // }
                            $image = '<img src="'. $image .'" class="kleo-rounded">';
    
                        } else {
                            if ($format == 'video') {
                                $image = "<i class='icon icon-video'></i>";
                            } elseif ($format == 'image' || $format == 'gallery') {
                                $image = "<i class='icon icon-picture'></i>";
                            } else {
                            	if (get_post_type( $post->ID ) == 'post') { //** NEW - Post_type filter
                            		$image = '<img src="'. sq_option_url('blog_default_image', '') .'" class="kleo-rounded ajax_search_image">'; //** NEW - Providing default image url + .ajax_search_image css class
                                }
                                else {
                                	$image = "<i class='icon icon-link'></i>";
                                }
                            }
                        }

    Results on screenshots

    in reply to: update change log? #104335
     rikbutterflyskull
    Participant

    New Update changelog are inside the zip file

     rikbutterflyskull
    Participant

    Hi, while i was looking for a Stackexchange plugin i found this DW Question & Answer, similar to CM Aswer.

    For your second post, read this https://archived.seventhqueen.com/forums/topic/what-plugin-are-you-using-to-show-ticket-status

    Regards

    in reply to: I can’t translate “Clear selection” #104296
     rikbutterflyskull
    Participant

    Cause that string is named Clear.

    See yourself http://seventhqueen.com/themes/kleo/shop/ship-your-idea/

    in reply to: Default Featured Image Placeholder Issue #104115
     rikbutterflyskull
    Participant

    Hi, in function-core.php i replace in ‘function kleo_get_post_thumbnail_url( $post_id = null )’

    COPY CODE
    //Defines a default image
        if ( empty( $image_url ) )  {
            $image_url = sq_option_url('blog_default_image', '');
        }
    
        return $image_url;

    with

    COPY CODE
        //Defines a default image  
        if ( empty( $image_url ) && get_post_type() == 'post' )  {
            $image_url = sq_option_url('blog_default_image', '');  
        }
        elseif ( empty( $image_url ) and  get_post_type() == 'any' ) {
        	$image_url = '';
        }
        return $image_url;

    I don’t know if it’s the best solution, but is fully works only in Search Result page. In Search dropdown results the ‘sq_option_url(‘blog_default_image’, ”)’ isn’t showed (both posts and pages), but the Featured image in Post Setup is working, better than before. Now i have to test the Page Featured Image.

    I’ll check the Search Ajax Dropdown results later (theme-option.php). If needed, can i ask you some techical info though is not covered by Support Service?

    in reply to: GEO Directory Listing page / which template to customize? #104042
     rikbutterflyskull
    Participant

    @Andrei i’ve tried your css and not working. After a deep search i found many solutions, the one that works for me:

    COPY CODE
    :lang(it) .map_category>.toggle:before { content: 'Filtra le Categorie' !important; }
    :lang(en) .map_category>.toggle:before { content: 'Categories Filter' !important; }

    putting it in kleo-child/style.css

    in reply to: Default Featured Image Placeholder Issue #103415
     rikbutterflyskull
    Participant

    No it’s not a bug, but is nosense because i set a featured image in Blog Option for Blog Post.

    Thanks for your reply, i’ll check this code lines by myself for a solution.

    in reply to: Menu CSS overriding #103241
     rikbutterflyskull
    Participant

    Hi @Andrei, some news?

    in reply to: Geo Directory Location Manager – Search bar oversize #103240
     rikbutterflyskull
    Participant

    @chrisat i could help you, but you should buy the six months subscription from wpgeo, because i use all the premium addons to develope my project. The free geodirectory code is too limited to make some interesting things. And you must need to know some php/html/css programming to adjust some part

    in reply to: Geo Directory Location Manager – Search bar oversize #103117
     rikbutterflyskull
    Participant
    COPY CODE
    add_action('kleo_before_content','add_search_map');
    function add_search_map() {
        if (geodir_is_page('search') || is_post_type_archive() && in_array(get_post_type(), geodir_get_posttypes())) {
            echo do_shortcode('[gd_listing_map width=100% height=350 autozoom=true scrollwheel=false]');
        }
    }

    Next time use the search function included in this forum 🙂

    in reply to: Geo Directory Location Manager – Search bar oversize #103116
     rikbutterflyskull
    Participant

    I don’t use the GD search system, cause the ajax search included in Kleo is better.

    in reply to: Business Directory set up with PMP + BuddyPress #102668
     rikbutterflyskull
    Participant

    Two more important things:

    1) To see a PMPro level as role in Nav Menu Roles plugin you must install PMPro Roles (free addon in Membership > Addon page) that adds a WordPress Role for each Membership Level.

    2) GeoDirectory BuddyPress Integration is a premium addon, not free.

    in reply to: Business Directory set up with PMP + BuddyPress #102656
     rikbutterflyskull
    Participant

    Hi, i’ve got that addon and i have a similar setup.

    The GD BuddyPress Addon merges author listing info and dashboard with BuddyPress Profile, Registration and Login and creates three tabs: 1) “Place/PIN” tab for manage lisings, 2) Favorites PIN tab, 3) Reviews Tab.

    No “Add Listing” page in BuddyPress and no options to limit the listing number which users can publish, not for now. PMPro GD and are not natively integrated with each other.

    To give only to specific pmpro levels the ability to add places you have to set menu items visibility only to chosen level, using “Nav Menu Roles” plugin.

    You must also limit the page access (Page/Post Levels Restrict Box) to prevent the WordPress search indexing and google engine indexing. If you don’t this the “Add Listing” page will be accessible from search results.

    in reply to: Menu CSS overriding #102641
     rikbutterflyskull
    Participant

    http://www.riccardolisci.it/pa/wp-admin/

    user: seventhqueen / seventhqueen@seventhqueen.com
    pass: seventhqueen

    Example 1 – http://.riccardolisci.it/pa/ (REV SLIDER > Header Content Box)

    Example 2 – http://riccardolisci.it/pa/comune/ (Single Image VC Shortcode > Header Content Box)

    Example 3 – http://riccardolisci.it/pa/contatti/ (No code in Header Content Box)

     rikbutterflyskull
    Participant

    @Abe is the same as using the .po files?

    in reply to: Sidebar Widget Titles #102515
     rikbutterflyskull
    Participant

    Thanks

    in reply to: KLEO – Features Requests #102226
     rikbutterflyskull
    Participant

    Hi, i’m studying Kleo for three months and now i want to share some my ideas with you. Sorry if i repeat something, i haven’t read the entire forum yet. I not consider functions that are available by plugins.

    0) I change the admin bar “Theme Option” in “KLEO” to use less space.

    1) Color Management + dynamics.css for buttons is not so clear. Adding a section in Theme Options > Styling options > Buttons will be a useful thing.

    2) Theme Options > Fonts needs a section for Navigation/Menu to set a different nav font-family, weight and move the “Main Menu Font size” in this area.

    3) Geodirectory Templates in according with the main Kleo style, in particular for sidebars, detail tabs.

    4) Theme Options > Membership. Possibility to rearrange the Membership Setting list showed in membership page tables, to move down the inactive features.

    5) Theme Options > bbPress. Different layout for forum index and topics, as BuddyPress options page.

    6) A new section in this forum to share snippets, functions for kleo and supported plugin. Search quickly some integration could be interesting. Please activate the time limited reply editing.

    Thanks for your brilliant work with Kleo.

    in reply to: Social Share & GeoDirectory issue #102143
     rikbutterflyskull
    Participant

    Oh many thanks

    in reply to: Code to hide blog posts from buddypress activity stream #102108
     rikbutterflyskull
    Participant

    BuddyPress has “Site Tracking” toggle to turn on/off blog posts/comments activity record. Why not use that?

    in reply to: Menu CSS overriding #101195
     rikbutterflyskull
    Participant

    Also in the sidebar of GD Details page, with Menu and some other elements

    in reply to: Tranlation contribution for KLEO #100947
     rikbutterflyskull
    Participant

    Not complete Italian translation, mostly the frontend strings

    Kleo it_IT

    in reply to: Geo Directory Location Manager – Search bar oversize #100935
     rikbutterflyskull
    Participant

    Add to functions.php for GD Listing pages full-map:

    COPY CODE
    add_action('kleo_before_content','add_map');
    function add_map() {
        if (is_post_type_archive() && in_array(get_post_type(), geodir_get_posttypes())) {
            echo do_shortcode('[gd_listing_map width=100% height=350 scrollwheel=false]');
        }
    }

    Customize your map with GD Shortcodes

    in reply to: Geodirectory listing page fullwidth map #100701
     rikbutterflyskull
    Participant

    Hi, i had the same problem today. Solved by the first function

    COPY CODE
    add_action('kleo_before_content','add_map');
    function add_map() {
        if (is_post_type_archive() && in_array(get_post_type(), geodir_get_posttypes())) {
            echo do_shortcode('[gd_listing_map width=100% height=350 scrollwheel=false]');
        }
    }

    replacing the shortcode [gd_homepage_map] only for homepage with [gd_listing_map] for listing page, in according with Geodirectory shortcodes

    in reply to: Accessibility Practices #100379
     rikbutterflyskull
    Participant

    No, not for now. im only thinking to create an educational/public websites and in Italy a .gov site must be accessible from Screen Reader, only-keyboard input/navigation, etc.

    Thanks for your time

    in reply to: Divide Theme Functions #89157
     rikbutterflyskull
    Participant

    Thanks

Viewing 40 posts - 41 through 80 (of 80 total)

Log in with your credentials

Forgot your details?