John Allsopp
Forum Replies Created
-
AuthorPosts
-
Right, i fixed it by making the plugin’s function pluggable too. It will be in the next release.
If you can’t wait, you will need to change these things in geodir_x_compatibility.phpfunction x_breadcrumbs() {
becomes
if ( ! function_exists( 'x_breadcrumbs' ) ) : function x_breadcrumbs() {
and at the very end, add this line
endif;
Ok, so it seems that if the plugin is deactivated and then reactivated (either manually or through updating) while the X theme is active, then you get the fatal error.
A stop-gap solution to get you up and running would be to switch themes, then activate the plugin, then switch back to X theme.
I know this is not ideal, but for those that just want to get everything activated so they can start designing or adding content, it will at least get you going.
I will get together with the team to try and thrash out a proper solution…
@migs – so you updated the plugin and now you can’t activate it?
…also the Avada plugin doesn’t add these page to the title bar. I will look at updating that situation too 🙂
Hi,
Could you please try adding this to the top of your geodir_x_compatibility.php file and let me know how it goes (or supply ftp details in a private reply and i will do it for you)// Load breadcrumb function early add_action( 'init', 'x_breadcrumbs' );
Place it just before the line that says “// BECAUSE THIS PLUGIN IS CALLED BEFORE GD WE MUST CALL THIS PLUGIN ONCE GD LOADS”
You are right – these seem to be missing from the core file. I am guessing this is an oversight, and not missing by design, so i will notify Stiofan to get this fixed in core.
There was a bug in the core GD plugin which caused the category title to appear outside the breadcrumb structure – that has been resolved and will be in the next core update.
Your issue however is trying to use the Genesis breadcrumb. The plugin was designed to replace the Genesis breadcrumb, so you should leave it deactivated.
The plugin hooks the breadcrumb after the header. If you want it somewhere else you can unhook it and re-hook it somewhere else using your child theme’s functions.php file. For example:
remove_action( 'genesis_after_header', 'geodir_replace_breadcrumb', 20 ); add_action( 'genesis_before_header', 'geodir_replace_breadcrumb', 20 );
The new version of the plugin (out any day now) gives a bit more flexibility since i have added some more Genesis hooks in the structure.
August 7, 2014 at 8:11 pm in reply to: Using Genesis – category tag in div with breadcrumbs, I'm stuck! #11352Have you made any modifications to the plugin at all?
Just a FYI > Version 1.0.3 of the Genesis plugin allows for 3 column layouts, but is not as flexible as i would like it to be – so i am currently working on a major overhaul for version 1.0.4.
The new version will allow full-width content top and bottom, with 3 columns between. The time to get excited is…..now!🙂
August 7, 2014 at 9:39 am in reply to: Using Genesis – category tag in div with breadcrumbs, I'm stuck! #11280It looks as though you are using the GD left sidebar. It wasn’t designed to do this. The plugin is designed to add the Genesis Secondary sidebar – try adding your widgets to that instead (disable GD left sidebar)
dl.geodir-tab-head { display: table; width: 100%; } dl.geodir-tab-head dd { display:table-cell; float: none; }
That gets the desired effect in my testing. Not tested on mobile…
August 6, 2014 at 9:00 pm in reply to: Using Genesis – category tag in div with breadcrumbs, I'm stuck! #11217It looks the same to me…
The good news is that the next version of GeoDirectory has this sorted, so you’ll be ok soon.
Also, the newest version of Genesis plugin (1.0.3) has support for themes using a 3 column layout 🙂ps. I’m thinking of making a version of 1140, but a little wider (similar styling)
Just having a quick look, it seems you have activated the left sidebar but your widths are too big –
You have Left:30% Main:63% Right:30% – you will need to reduce the sizes to make them add up to 94% or lessHi,
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.
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%; } }
-
AuthorPosts