John Allsopp
Forum Replies Created
-
AuthorPosts
-
@jroza1 If you would like me to commence on Enfold for you, i would be happy to oblige.
If you would like to go ahead, please post some contact details in a private reply so that i can get in touch with you.Regards
JohnHi everyone,
I am very pleased and honoured to have been asked to provide these compatibility packs, and eager to get started.
I am also hoping to start work on some child themes tailored specifically to WPGeoDirectory – but that will come a little later, once the compatibility code has been finished for the most requested themes.My top priority will be getting these compatibility codes out to you, so that you can get your projects off the ground. I will be starting the first one shortly…
Ok thanks Paolo.
Hi devs!
Is there any timescale you can give on this? I don’t know whether to continue waiting, or to just use the default cpt at the moment and change the labels etc
Thanks
If you are having to use !important, you are not being specific enough. To add specificity easily, try adding a body class and use that in your declarations.
The other way to do it would be to dequeue the plugin’s stylesheet and then enqueue it again earlier, or dequeue your child theme’s stylesheet and enqueue it again to be later than the plugin stylesheet.
I wrote a post on this a while back – https://wpgeodirectory.com/support/topic/override-wpgeo-styles/
I think Stiofan is going to be packaging these as plugins, but in the meantime if you want to add the code yourself, i normally add a new php file, then do an include from my functions.php – something like this:-
Create a folder in your child theme called includes
<?php // Stiofan's code here ?>
Save the code above as wpgeo-compat.php (inside the includes folder you just created)
Then in your functions.php file, add the following line
//* Include WPGEO compatibility functions include( get_stylesheet_directory() . '/includes/wpgeo-compat.php' );
Do you need it on your sub-sites?
I have it running on a multisite install but only active on the main domain – not caused me any problems so farJune 23, 2014 at 10:13 pm in reply to: Which file has geodir-wrapper and/or where are developer docs? #5784At the moment CTRL F is your best friend!
If you search for the action name, you can drill-down to see what it’s doing, then you can do a remove_action and add your own action to the hook in it’s place.
goedirectory_template_actions.php is worth studying.
To see which template files are loaded for various pages, take a look at geodirectory-functions/template_functions.php
nb. I should add that you won’t be changing any of the plugin files (as Guust said) – you can remove actions from the hooks and create your own actions in your theme’s functions.php file – or you can build templates in your theme…
June 22, 2014 at 7:06 pm in reply to: Using Wp-admin instead of ?geodir_signup=true&page1=sign_up #5583@nasc If it’s just a nice login you want for the moment, why not use https://wordpress.org/plugins/theme-my-login/
“It creates a page to use in place of wp-login.php, using a page template from your theme. Also includes a widget for sidebar login.”My first port of call would be to click save on one of the Geodirectory options pages, and re-save your permalinks in settings>permalinks (you don’t need to change them, just go in and click save).
Not saying it will help in your case, but it’s quick and easy, so there’s no reason not to try…I know when i updated, things were a little wonky – but going into the settings page and clicking save seemed to fix it – maybe worth a try before you dig any deeper?
Ok thanks Paolo – i’ll hold off for a while to see what Stiofan produces then.
As far as i know there are no restrictions to the number of sites you can use it on, but it may be best for @paolo to confirm that.
@swm3 & @paolo – just to avoid any confusion, i wasn’t talking about the permalinks.
What i meant is that on each of the 4 URLs in my example, the page title and H1 headline is “All Hotels”.
I am suggesting that the page title and H1 headline should pick up the location name, so for example, the Chicago page would have a title of “Hotels In Chicago” rather than “All Hotels”.@paolo – I am guessing this can be done quite easily now using hooks/filters, but do you think it is something that people would want in core?
The archive h1 titles (and meta titles) could do with being more descriptive – pulling the location name so:
wpgeo.directory/hotels/ – H1 = All Hotels
wpgeo.directory/hotels/united-states/ – H1 = Hotels in United States
wpgeo.directory/hotels/united-states/illinois/ – H1 = Hotels in Illinois
wpgeo.directory/hotels/united-states/illinois/chicago/ – H1 = Hotels in ChicagoMaybe it would be better to be done by people on a “case by case” basis, don’t know – just thinking out loud…
-
AuthorPosts