Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter wintery01

    (@wintery01)

    Hello there,

    I am no longer able to login to the website that had this problem, since the client has taken over. So i cant say for sure. I did however implement the favicons manually. You can mark this issue closed for now.

    i’m sorry that it took me this long to reply. I wasnt having some real life issues sorted out, and your recent post just reminded me.

    Thanks again for the follow up, really appreciate ur effort for giving the support for your plugin. I’ll be using your plugin for future projects for sure 🙂

    Cheers

    Thread Starter wintery01

    (@wintery01)

    Hey sunny!

    Just wanted to tell you i appreciate the prompt reply!
    Looking forward for that feature for the next release.

    Cheers

    Thread Starter wintery01

    (@wintery01)

    Hey there, thanks for the reply, just a follow up,
    Since some people are total noobs (like me) here’s a bit of help for those installing the favicons in wrodpress manually.
    (I think phbernard should make a similar guide)

    If you are using a child theme, paste this in ur functions.php
    change function_name to whatever you want

    add_action(‘wp_head’, ‘function_name’);
    function function_name(){
    //Close PHP tags
    ?>
    ADD CODE HERE (the ones given on the result page of realfavicongenerator)
    <?php //Open PHP tags
    }

    Cheers! Hope this helps.

    Thread Starter wintery01

    (@wintery01)

    hey there, just wondering if there’s any luck to solving my problem?

    Thread Starter wintery01

    (@wintery01)

    The article seems great! Tho I do have a little concern about it.

    Does putting the code on the header.php make it still available when i update my theme or wordpress? If not, is there a code that i can insert into my child theme’s function.php?
    And this may sound stupid but I’m a total noob so i had to ask, is this the wordpress header.php file? And where can i find it?

    I’m a bit new to the add_action or add_filter code, and would appreciate some help.
    Let’s say the hook for the header is ‘_faviconheader’

    Thread Starter wintery01

    (@wintery01)

    No problem, really, i dont expect you to be on the forums 24/7, lol

    Thanks 🙂 i would be really glad to hear from you soon, those favicons look awesome.

    On another note, perhaps you can create a manual install guide for WordPress noobs like me?
    Just a suggestion.

    Thanks again! 🙂

    Thread Starter wintery01

    (@wintery01)

    i did some checking on the error logs, and found this

    PHP Fatal error: Cannot use object of type WP_Error as array
    PHP Warning: mkdir() [function.mkdir]: Permission denied in public_html/wp-content/plugins/favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.php on line 117,

    Thread Starter wintery01

    (@wintery01)

    additionally, when using the web developer mode, i found that the link resulted to a “the server responded with a status of 500 (Internal Server Error)”

    Thread Starter wintery01

    (@wintery01)

    found out what is causing it, it seems a dropdown box css style was causing incompatibilities with the whole theme. I simply added the css of that box into that specific template.

    Thread Starter wintery01

    (@wintery01)

    Hey acub, thanks a lot for the reply!

    I see, so i could just include these functions in my functions.php instead.

    I have actually succeeded in doing so through trial and error for the responsiveness part, thanks for the suggestion tho!

    I am actually using customizr theme, the website shown is actually not my website, its just an example page. My site still needs a lot of work, and its my first one ever!

    Thanks again for your help, sorry for bombarding you with my questions!

    Thread Starter wintery01

    (@wintery01)

    Hi acub thanks for the long explanation!

    I know this might be sidetracked, but could you perhaps give me an example on how to insert a placeholder for my map with jquery or php funtion? I would really appreciate that. My map is visible now, tho I have problems finding out how to make it automatically readjust its size for smaller screens.
    I’m always wondering if there is a more correct way of putting things in, because I’m more familliar to the html way of doing things.

    Any referrences to tutorials would be appreciated too! I’m excited to learn more.

    I’ll be sure to look into the jquery line, or maybe i should just take that line out? I’m learning about hooks to at the moment, and kind of confused which hooks do what in the template.

    Thanks for your help! 🙂

    Thread Starter wintery01

    (@wintery01)

    Thanks for all the effort to help guys, but i have succeeded in projecting the map out on my site.

    I simply forgot to add the div container for the map. rookie mistake it seems.

    Thanks for the help!

    Thread Starter wintery01

    (@wintery01)

    I created two WordPress page templates in the main theme directory. The first template is used for the page that is containing the map. It loads the javascript/css files that are required for jVectorMap (please add them into the js folder) and also reloads jQuery, so it’s NOT loaded with noConflict mode because otherwise the downloaded map data (in this example world_en) isn’t loaded correctly.

    apparently the author of the test page said something about the noconflict mode, is this what you mean? If not, please elaborate, as I’m still learning slowly, thanks!!

    UPDATE : I read up on your noconflict wrappers, and it seems that the author did use one of the noconflict wrapper examples as seen in the map_config.js i posted above.

    Thread Starter wintery01

    (@wintery01)

    In addition to that, I thought that this script, “map_config.js” was supposed to be the script that adds the map to the template? or am i wrong?

    If i am wrong, can you show me which fields i should change? Thanks!

    (function($) {
    
    	$(document).ready(function(){
    
    		$.ajaxSetup({cache:false});
    
    		var pageLoaderID = 42;
    
    		$('#map').vectorMap({
    
    			map: 'world_en',
    
    			onRegionClick: function(event, code) {
    
    				var post_id;
    
    				switch(code) {
    
    				case "DE":
    
    					post_id = 30;
    
    					break;
    
    				case "US":
    
    					post_id = 54;
    
    					break;
    
    				case "FR":
    
    					post_id = 36;
    
    					break;
    
    				case "ES":
    
    					post_id = 56;
    
    					break;
    
    				default:
    
    					post_id = false;
    
    					break;
    
    				}
    
    				console.log('Country code: ' + code + '   Post ID: ' + post_id);
    
    				if(post_id !== false) {
    
    					$("#mapData").html("Loading data...");
    
    					$("#mapData").load("http://tests.andremeyering.de/jvectormap/wp/?page_id=" + pageLoaderID, { id: post_id });
    
    				} else {
    
    					$("#mapData").html("<p><strong>No Country data avaiable!<br></strong>Avaiable countries: Germany, USA, France and Spain.</p>");
    
    				}
    
    				return false;
    
    			}
    
    		});
    
    	});
    
    })(jQuery);

    Thread Starter wintery01

    (@wintery01)

    Hey there, thanks a lot for your reply!
    As i have told you I am really new to all these web designing work, and am just trying my best to get things inside my blog in the way that it may look nice. Please do bear with me if I seem to make blatantly obvious and stupid mistakes.

    I must admit I just copied the codes given in the website example i included above. With a few tweaks here and there which seem logical for me.

    To answer your first question, since the code given by the example above, I thought that there may be problems with older versions of jquery, and hence proceeded to just leave the code be as it is.

    Second question, I don’t really understand what you mean, pardon me. Are you trying to say that the scripts should be registered inside the functions.php of my child theme instead? Because I’d just want this script to work for this specific page that I’m using this template on.

    Third question, could you guide me through on how to put that in? I am totally clueless.

    Thank you very much!

Viewing 15 replies - 1 through 15 (of 15 total)