purpleedge
Forum Replies Created
-
AuthorPosts
-
Seems to be, works OK in 2012 theme.
Any luck with your code?
July 16, 2014 at 3:24 am in reply to: Custom Post Type droplist display on Add Listing when last in sidebar #8589Ignore this, just tried it in 2012 and it seems to work properly. I’ll wait for the new Enfold mods and check again after that.
I know what you mean, I don’t like the way the droplist works either and I might get some fresh ways to do it by looking at what you are doing.
For instance, the droplist doesn’t expand in a sidebar if it is the last item in the sidebar, see attached, I’ll post it as a bug…
Just tested this line here and it seems to do what you want?
if(is_array($geodir_allow_posttype) && in_array($key, $geodir_allow_posttype) && count($geodir_allow_posttype) > 0 && ($key<>’gd_event’) ) {
Try adding this extra line to your code, where shown, below the foreach( line, and see what $key values you get listed, you should have one for “gd_event” …
foreach($post_types as $key => $postobj){
echo($key . ‘<br />’);
I’ve got the opposite problem 🙂
I can’t get Events to show up in the Add Listing options!
What do I have to do to get them to be available, then I’ll be able to have a closer look at the problem!
OK, found it under Navigation. (Include rather than Exclude this time ??)
It’s untidy at best.
Try changing this line to exclude events…
if(is_array($geodir_allow_posttype) && in_array($key, $geodir_allow_posttype) && count($geodir_allow_posttype) > 1 && ($key<>’gd_event’) ){
It does look good Julian, the slider makes a big impression – did you create that yourself?
Can you tell us what auto-locate plugin you used, and why you didn’t use the GD one?
Thanks Vikas, that’s what I was hoping for 😉
Thanks Vikas, I’m thinking of front-end users where this will be too hard.
It’s OK I figured it out!
Create a plugin, add the function to the plugin and make sure it loads first…
http://wordpress.org/support/topic/how-to-change-plugins-load-order
I’ve used theme-my-login before and found it useful, and it seems to work fine with GD.
The default setting for TML is to NOT login a new registration, it sends the email and the new user has to login with the supplied password. Which is the minimum that I want.
It also has a setting for User Moderation with various options, including User Activation email with a link.
http://www.jfarthing.com/development/theme-my-login/user-moderation/
@paolo, I’m just testing “theme my login” with GD and it appears to do everything you want to do with user admin in GD.
http://www.jfarthing.com/development/theme-my-login/
Suggest you have a look at it because it could save you a lot of work?
I notice on localhost (Windows machine) that clicking on the “Plugins” link from admin seems to take a long time to load after all the GD plugins have been installed?
I just got this error…
Fatal error: Maximum execution time of 30 seconds exceeded in C:xampphtdocsgdtestsitewp-includesclass-http.php on line 1438
I had task manager running at the time and didn’t notice any serious peaks in cpu or memory usage.
Thanks Vikas, that fixed it!
-
AuthorPosts