GD Compatibility Pack for X released

This topic contains 97 replies, has 10 voices, and was last updated by  John Allsopp 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #10139

    leandrorosa
    Free User
    Post count: 168

    ok, got it john…

    is there any easy way to do it that you can think of?

    tks!!

    #10172

    John Allsopp
    Expired Member
    Post count: 399

    There are a few ways to do it, but they would all require quite a bit of modification.
    Thinking out loud, you could either write a query for the pages where you want the full width search, then remove the top area from those pages, and re-hook it somewhere else…
    …or…
    create a new widget area just for your search, and hook that in to the top of every page.

    You will need to take account of whether you will have anything else in the gd top widget areas for listing / detail/ author etc – in which case, option 2 would probably make more sense.

    #10241

    leandrorosa
    Free User
    Post count: 168

    thanks man!!

    I liked the widget area for the search on every page.

    is it easy for a dumb engineer that doesnt know how to code? lol

    #10294

    leandrorosa
    Free User
    Post count: 168

    hey man, since we’re talking about widgets, is there any possibilitty to change the widget spacing? like I show on the image the 4 curved lines.

    #11086

    leandrorosa
    Free User
    Post count: 168

    hey John,

    managed to change the spaces between widgets,

    the only problem i’m still finding is the search bar, the thing about the CPT selector, that I had to change the % but it is too small on mobile, it should be responsive for a better result

    any news on this matter?

    #11093

    John Allsopp
    Expired Member
    Post count: 399

    Hi,
    It looks like you added this somewhere as an inline style, so it is overriding the plugin’s style?

    
    
    .widget .geodir-search select {
        width: 20%;
    }
    #11098

    leandrorosa
    Free User
    Post count: 168

    I added this above code in X > Customizer > Custom CSS

    you some posts behind told me:

    Renew is overriding a style for the search which i need to include (thanks for spotting it)
    Try something like this as a start

    .widget .geodir-search select {
    width:26%;
    }

    and then you told me to add another code in plugin.css; and that after an update it would be all right.

    any way to show a % at the desktop and another % on mobile or a responsive search bar (better)?

    thanks!! =)

    #11100

    John Allsopp
    Expired Member
    Post count: 399

    I’m not sure if Paolo has had chance to upload the latest version yet – he’s been very busy.
    If you look in plugin.css for the advanced search bar, you will see the section with widths. Make sure it is the same as this >

    
    
    .widget .geodir-search select,
    .geodir-search input[type="text"] {
    	width: 28%;
    }
    
    .geodir-search input[type="submit"],
    .geodir-search input[type="button"] {
    	line-height: 19px;
    	margin-right: 0;
    	width: 11%;
    }
    

    Also, make sure you have this at the very bottom of plugin.css >

    
    
    /* Media Queries
    --------------------------------------------------- */
    @media only screen and (max-width:767px) {
    	
    	.widget .geodir-search select,
    	.geodir-search input[type="text"],
    	.geodir-search input[type="button"],
    	.geodir-search input[type="submit"] {
    		margin: 0 0 10px;
    		width: 100%;
    	}
    }
    #11101

    Paolo
    Site Admin
    Post count: 31206

    I’m about to…

    #11107

    leandrorosa
    Free User
    Post count: 168

    it changed nothing, because I think it is getting the % from the code

    .widget .geodir-search select {
    width:20%;
    }

    when I take it off the search bar goes back to 1 line CTP an other the search boxes

    #11111

    leandrorosa
    Free User
    Post count: 168

    After the update, some problems:

    – it is not respecting the width within the theme and
    – the search bar is strange again

    screen atached

    #11113

    leandrorosa
    Free User
    Post count: 168

    sorry, it is in fact giving me a fatal error and not activating the plugin:

    Fatal error: Cannot redeclare x_breadcrumbs() (previously declared in /home4/lele0901/public_html/vitrine.vc/wp-content/themes/x/framework/functions/global/breadcrumbs.php:21) in /home4/lele0901/public_html/vitrine.vc/wp-content/plugins/geodir_x_compatibility_1.0.1/geodir_x_compatibility.php on line 272

    is it because of the version? mine is 2.2.0

    #11146

    John Allsopp
    Expired Member
    Post count: 399

    Hi,
    I have removed the breadcrumb function so that the plugin can be activated.
    I removed your custom css that was overriding the search css – you will see it is now responsive.

    The usual order of things in WordPress is for plugins to load before themes – in your case, the theme appears to load before the plugin which is causing the fatal error. I will ask @stiofan if he has any ideas why.

    #11179

    leandrorosa
    Free User
    Post count: 168

    Thanks John, it seems fine now! it is responsive.

    I have no idea at all about why it might be loading before the plugin.

    #11430

    David Ramirez
    Free User
    Post count: 5

    I’m having experiencing the same problem. I get a fatal error when trying to activate the GeoDirectory – X Theme Compatibility plugin. I have the GeoDirectory Plugin along with the X Theme.

    Fatal error: Cannot redeclare x_breadcrumbs() (previously declared in /home/qwikeysc/public_html/wp-content/themes/x/framework/functions/global/breadcrumbs.php:21) in /home/qwikeysc/public_html/wp-content/plugins/geodirectory-x-theme-compatibility-pack/geodir_x_compatibility.php on line 267

    Please assist.

    Thanks in advance!

Viewing 15 posts - 31 through 45 (of 98 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount