Forum Replies Created

Viewing 30 posts - 1 through 30 (of 48 total)
  • Author
    Posts
  • in reply to: Adding Phone Number text and button to Main Header #292935

    Hi Yigit,

    Thanks. I was able to undo the change no problem and although I’m clueless when it comes to PHP you only have to give me the code and I know where to put it, I just don’t know the exact code.

    Regards,

    Matt

    in reply to: Adding Phone Number text and button to Main Header #292411

    Hi guys,

    This doesn’t seem to work with the latest version of Enfold (v2.9) – I get a white screen of death.

    Also, what would the code be if I wanted to add it to a child theme’s functions.php rather than Enfolds functions.php please? (I’m a php newbie sorry!)

    Thanks,

    Matt

    in reply to: Directions on google maps #292360

    For anyone else looking to do the same, don’t contact a developer. I just installed this free plugin: Mappress. No conflicts found so far and runs alongside the Enfold built in Google map element with no apparent errors.

    The free version of this plugin did everything I needed but you could also try the pro version of WP GoogleMaps. I very nearly bought it (only $19.99 for a 3 site license) and I’ve seen others on here who have used it OK with Enfold.

    in reply to: Google Maps API multiple times on the page #252104

    Hi Peter,

    That is great news. Yet again you guys deliver. So do I need to wait for 2.6.4 or will it work for 2.6.3, which was an update today, so I’m not sure whether it was before or after your post!

    Huge thanks again.

    Matt

    in reply to: Google Maps API multiple times on the page #251567

    Hi guys,

    Maybe you can help me now I’ve worked out where the other instances of maps.google.com, that affect the WP Store Locator plugin, are located:

    file affected: wp-content/themes/enfold/framework/php/class-framework-widgets.php
    function I commented out (line 1133 onwards):

    function helper_print_google_maps_scripts()
            {
                $prefix  = is_ssl() ? "https" : "http";
                wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?sensor=false', array('jquery'), '3', true);
                wp_enqueue_script( 'avia-google-maps-api' );
    
                $is_widget_edit_page = in_array(basename($_SERVER['PHP_SELF']), array('widgets.php'));
                if($is_widget_edit_page)
                {
    	            wp_register_script( 'avia-google-maps-widget', AVIA_JS_URL.'conditional_load/avia_google_maps_widget.js', array( 'jquery','media-upload','media-views' ), '1.0.0', true);
    	            wp_enqueue_script( 'avia-google-maps-widget' );
    
    	            $args = array(
    	                'toomanyrequests'	=> __("Too many requests at once, please refresh the page to complete geocoding",'avia_framework'),
    	                'latitude'			=> __("Latitude and longitude for",'avia_framework'),
    	                'notfound'			=> __("couldn't be found by Google, please add them manually",'avia_framework'),
    	                'insertaddress' 	=> __("Please insert a valid address in the fields above",'avia_framework')
    	            );
    
    	            wp_localize_script( 'avia-google-maps-api', 'AviaMapTranslation', $args );
                }
            }

    File affected: wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps.php
    Function I commented out (line: 31 onwards):

    function extra_assets()
    			{
    				if(is_admin())
    				{
    					$prefix  = is_ssl() ? "https" : "http";
                		wp_register_script( 'avia-google-maps-api', $prefix.'://maps.google.com/maps/api/js?sensor=false', array('jquery'), '3', true);
    					wp_enqueue_script(  'avia-google-maps-api' );
    					
    					$args = array(
    		                'toomanyrequests'	=> __("Too many requests at once, please wait a few seconds before requesting coordinates again",'avia_framework'),
    		                'notfound'			=> __("Address couldn't be found by Google, please add it manually",'avia_framework'),
    		                'insertaddress' 	=> __("Please insert a valid address in the fields above",'avia_framework')
    		            );
    	
    		            wp_localize_script( 'avia-google-maps-api', 'avia_gmaps_L10n', $args );
    					
    				}
    			}

    After commented out these 2 functions the WP Store Locator plugin now works as it should, but obviously this is a temp fix as I will need to repeat the process after every update. Therefore, now you can see which functions are affected, would it be possible to provide me with some code I can add to my child theme’s functions.php? I know it’s a big ask (or not – not sure how easy it is for you guys!), but this would be a massive help if it’s not too much trouble for one of you php gurus?

    Many thanks

    Matt

    in reply to: Google Maps API multiple times on the page #251481

    Hi Peter,

    Unfortunately, that doesn’t work either. The google maps api warning is still there (I’d emptied all caches). Looks like the plugin author is not going to get back to me either. Any other ideas?

    Many thanks,

    Matt

    in reply to: Google Maps API multiple times on the page #251140

    Hi Ismael,

    Thanks and I appreciate you can’t support 3rd party plugins, so I am grateful. However, I’ve just tested a clean install of Enfold with just this WP Store Locator plugin installed and I am still getting the Google Maps API warning. I’ve changed themes to twentyfourteen and it works fine with that, so it must be Enfold is using the Google Maps API somewhere, even though I haven’t put any google maps on the test site (clean install)??

    I’ve set-up a temporary test site with only Enfold and WP Store Locator installed and have given a login to the plugin author, so hopefully he’ll try and find a fix – I reminded him how popular Enfold was and that it would be beneficial to have his theme working with such a top seller, so hopefully he’ll help!

    However, if you did want to just test it yourself with Enfold and WP Store Locator, please feel free and let me know if you work anything out! Or if you can point out where the other instance of Google Maps API is being included?

    Many thanks,

    Matt

    • This reply was modified 5 months, 1 week ago by  meanster99.
    in reply to: Mobile Menu options #238519

    @040hosting – no worries, I wasn’t have a dig at you or anyone else, just wanted to bring the topic back to my original question. Feel free to carry on with the WPML stuff now though…hope you get it sorted.

    in reply to: Mobile Menu options #238467

    Hi Devin,

    I was hoping that your tagging of Kriesi would provide a definitive answer. If I’ve deleted my previously downloaded theme files, where will I find a copy of version 2.5.4 please?

    Thanks,

    Matt

    in reply to: Mobile Menu options #238461

    Hi guys,

    I feel my OP has been hijacked a bit and is now about the WPML problem. All I want to know is can the old dropdown mobile menu be put back in? If I have to roll-back a version how do I do that please? I’d rather not have to roll-back though!

    Many thanks,

    Matt

    in reply to: Header issues after updating to version 2.6 #235015

    If you have a custom header.php in a child theme folder, you will need to remove it and add your customisations to a copy of the new header.php as it has changed considerably between the versions. That’s what caused all of my header display problems.

    in reply to: Header issues after update to v2.6 #235005

    OK, I’ve figured it out and it’s probably what is causing others issues. I am using a child theme and have made a few customisations to the header.php. I had to delete my current header.php (from my child theme) and add my customisations to the new header.php file that I copied into my child theme folder.

    in reply to: Slide out menu icon #228967

    OK, I can get the CALL US to work OK now with the following CSS:

    #advanced_menu_toggle {line-height:14px;}
    #advanced_menu_toggle:after { content: ‘CALL US’; font-size: 14px;}
    #advanced_menu_toggle:before { display: none; }

    But I would still prefer a phone icon please, if you can help?

    Thanks,

    Matt

    • This reply was modified 6 months, 3 weeks ago by  meanster99.
    in reply to: Displaying HTML code snippets #220395

    Hi Devin,

    Thanks for the tip – I tried gist but they closed my account because they said I was spamming! I only created about 5 gists for image links to my site. I reckon I could carry on as an anonymous user and be OK, but my client wasn’t that happy with the size of the embedded gist box and the ” hosted with ❤ by GitHub” on the bottom (as the code is essentially only 1 or 2 lines long, there is almost more reference to github than the code itself!).

    I’ve since discovered CodePen, which is much the same as gist, although I’m still not happy with all the extraneous links on the code box itself.

    I think I will just stick with using <pre> tags and I’ll create a text file with all the links on for quick reference, then if I need to edit the page again (and WP screws up my code) I’ll have a quicker way of redoing it. Not convenient but makes for cleaner code boxes, which is important for my client’s site.

    Thanks,

    Matt

    • This reply was modified 7 months, 2 weeks ago by  meanster99.

    Hi Yigit,

    Yes I’ve sort of figured it out thanks. It looks OK on my iphone now but it may appear quite a bit off centre on smaller tablets or very large phones (as the ‘left’ property is still set to 10%). It’s not perfect but at least it looks better than it did. Thanks for all your help.

    Cheers,

    Matt

    Thanks Yigit, it’s not exactly what I need but I will have a play with it and see if I can get it the way I want it. Ideally the lightbox would be big enough to properly contain all the form fields, the submit button and the forgot password link in smartphone portrait mode, because currently the lightbox is very small on smartphone portrait view and doesn’t show all of the content properly. I messed around with the percentages but then it breaks the lightbox apart between smartphone and tablet viewport sizes.

    Cheers,

    Matt

    This reply has been marked as private.
    This reply has been marked as private.
    in reply to: Ajax portfolio preview – blank spaces stripped #196959

    Thanks Ismael, already using the latest update. It must be a either something local to me or the very specific circumstances I am using for the portfolio preview (which may be difficult to replicate, and so prove). As it’s just my problem I will have to put the &nbsp; before and after punctuation marks. Thanks anyway…

    in reply to: Questions about portfolio setup #140511

    Another way to remove the Kriesi link in the footer is to add [nolink] to the box under Enfold>>Footer>>Copyright. That way it doesn’t matter if you update the theme and are not using a child theme.

    You can add it after any customised text you also want to display in the footer.

    e.g. Copyright © 2013 Your Website. All Rights Reserved. [nolink]

    in reply to: site performance help #140621

    Go to GTMetrix.com and run your URL through it. Then Install the free wordpress plugin ‘W3 Total cache’ and set it up as explained here: http://gtmetrix.com/wordpress-optimization-guide.html (you can also optimise your images with ‘WP Smush’ as explained in this link)

    Then retest your site at GTMetrix and see the improvement!

    in reply to: Missing Socket since 2.1 upgrade #140184

    It looks like a z-index issue to me – the socket div is rendering in html, it’s just not visible. When I set the z-index to 999 in firebug it appears OK. That may help…

    in reply to: Datepicker styling #130333

    OK, ignore me please. I am running W3 Total Cache and I had to clear all caches before the datepicker would display as intended. So I realise I don’t even need to add any CSS to make it look right now – it’s perfect and I can even see that the today button works now that the correct CSS is being applied!!

    Sorry to waste your time again…

    in reply to: Mobile menu not show as an icon #130418

    You need to change the setting under Enfold Theme Options>>Header>>Responsive Header Main Menu from dropdown menu to slide out menu. That’s it…

    in reply to: Entypo icon in Google Chrome #125478

    Hi Devin,

    I’m using the email icon in the same field, with no problem, and the phone icon displays correctly when using Firefox, IE10 & Opera but doesn’t work for Chrome (or PC Safari – but does on iPhone!). Strange.

    I’ve just checked a few other icons and some work and some don’t. I will try your solution but may just have to accept I can’t have it exactly how I want it!

    Thanks,

    Matt

    in reply to: maintenance mode #126187

    But I don’t know how you make the enfold ‘maintenance mode’ page the page that displays, which I think is what you’re really asking. Maybe someone knows of another maintenance mode plugin that allows you to set the page that is displayed?

    in reply to: maintenance mode #126186

    You need to install a maintenance plugin like this one: http://wordpress.org/plugins/wp-maintenance-mode/ and then activate the plugin and go to it’s settings to turn it on.

    in reply to: Undoing Quick CSS #125549

    Anything you add to the quick CSS stays in the quick CSS box, under Enfold (or Theme Options)>>Styling. If you added something to the quick CSS it won’t have overwritten the theme CSS, it only supercedes it. So if you definitely have no styling in the quick CSS box and you HAVEN’T changed the actual CSS files themselves (using a text editor, or web design package or your cpanel file manager etc), then everything should be as it was originally.

    If you really do have a blank quick CSS but your logo is still messed up, first ensure you’ve reloaded the page (ctrl + F5) and/or cleared the browser cache. If it still isn’t correct, and you haven’t made any other changes to the CSS files themselves, you could just reupload the theme CSS folder to your wordpress installation using FTP.

    in reply to: Entypo icon in Google Chrome #125476

    Hi Devin,

    Unfortunately, the site is local so I can’t provide a link. Could you please just insert the entypo code – &#128222; – into the header tel/short info box just to see if it then displays in Chrome for you? If it works for you then I know it’s something specific to my setup and I can try and troubleshoot it.

    Thanks,

    Matt

    in reply to: Entypo icon in Google Chrome #125474

    Hi Peter,

    That’s even more of a mystery now then! I am using the entypo phone icon in the telephone/info box in the header and also in a text widget in the footer. Can you please try these scenarios and see if it still works fine for you?

    Thanks,

    Matt

Viewing 30 posts - 1 through 30 (of 48 total)