mascatu
Forum Replies Created
-
It seems that is posible in v2.5.
Different people with different opinions…
Forum: Plugins
In reply to: [Menu Social Icons] CDN FallbackThank you Paul,
- I solved this by creating a simple plugin (under another username) so no matter how plugins that uses Font Awesome are active, FA is loaded only once.
- I’ve posted a question on WP stackexchange and the answer cleared me completely.
Best
Forum: Plugins
In reply to: [Use Google Libraries] QuestionHi @wellbeingtips,
I gave up the idea to sell it on Codecanyon so here it is as a free plugin. Enjoy it!
Thanks Jason!
Forum: Plugins
In reply to: [Debug Bar Query Count Alert] Plugin queriesThis is just great!
Thanks and have a nice day!Forum: Plugins
In reply to: [Use Google Libraries] QuestionThank you!
Have a nice day!Forum: Plugins
In reply to: [Scripts To Footer] How about Modernizr?Great little piece of code. Thanks for this and for your time!
Forum: Plugins
In reply to: [Scripts To Footer] How about Modernizr?Thanks @patrickkettner,
That cleared things up for me ??
I’ve noticed some WordPress themes enqueue modernizr with $deps set to true likearray( 'jquery' )...
that declare the jQuery must be loaded before modernizr and I was confused thinking that there is a jQuery dependency in this regard.My main concern now will be to find out if Modernizr is needed to check the properties in my theme or needed for styling in my 1000 lines of CSS code currently used in my theme:) Do you have any tips on this regard?
Best
Forum: Plugins
In reply to: [Scripts To Footer] How about Modernizr?Thanks Joshua and @patrickkettner for your answers.
However, not sure I understand correctly: can I place only modernizr in the header without jQuery before?
I mean the following scheme can be right?- Modernizr – to the head
- jQuery – to the bottom?
Thanks
Forum: Plugins
In reply to: [Menu Social Icons] CDN Fallbackwilling to pay for it ??
Forum: Plugins
In reply to: [Menu Social Icons] RTL issueThank you!
Now, everything looks great.Best
Forum: Fixing WordPress
In reply to: Default jQuery and jQuery.minThis is the code that I use now and works great:
add_action('wp_enqueue_scripts', 'tigu_frontend_scripts'); function tigu_frontend_scripts() { wp_register_script('jquerymin', 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js', 'jquery'); wp_register_script('likescript', get_template_directory_uri().'/js/likescript.js', 'jquery'); wp_register_script('easing', get_template_directory_uri().'/js/jquery.easing.min.js', 'jquery'); wp_register_script('lavalamp', get_template_directory_uri().'/js/jquery.lavalamp.min.js', 'jquery'); wp_register_script('jCarouselLite', get_template_directory_uri().'/js/jcarousellite_1.0.1.pack.js', 'jquery'); wp_register_script('ticker', get_template_directory_uri().'/js/jquery.ticker.js', 'jquery'); wp_register_script('tiptip', get_template_directory_uri().'/js/jquery.tipTip.minified.js', 'jquery'); wp_register_script('liscroller', get_template_directory_uri().'/js/jquery.li-scroller.1.0.js', 'jquery'); wp_register_script('scrollTop', get_template_directory_uri().'/js/scrolltopcontrol.js', 'jquery'); wp_register_script('superfish', get_template_directory_uri().'/js/superfish.js', 'jquery'); wp_register_script('supersubs', get_template_directory_uri().'/js/supersubs.js', 'jquery'); wp_register_script('nivo-slider', get_template_directory_uri().'/js/jquery.nivo.slider.pack.js', 'jquery'); wp_register_script('GrameleonTheme', get_template_directory_uri().'/js/scripts.js', 'jquery'); wp_enqueue_script('jquery'); wp_enqueue_script('jquerymin'); wp_enqueue_script('likescript'); wp_enqueue_script('easing'); wp_enqueue_script('lavalamp'); wp_enqueue_script('jCarouselLite'); wp_enqueue_script('ticker'); wp_enqueue_script('tiptip'); wp_enqueue_script('liscroller'); wp_enqueue_script('scrollTop'); wp_enqueue_script('superfish'); wp_enqueue_script('supersubs'); wp_enqueue_script("comment-reply"); wp_enqueue_script('nivo-slider'); wp_enqueue_script('GrameleonTheme'); wp_localize_script('GarmeleonTheme', 'GrameleonVars', array( 'templateurl' => get_template_directory_uri(), 'ajaxUrl' => admin_url('admin-ajax.php') ) ); }
So, if I remove the
wp_register_script('jquerymin', 'https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js', 'jquery');
assuming that the theme will work with the default WordPress jQuery, my theme break and all features(including my own scripts.js) which depends on jQuery, freezing and does not want to work.Thank you and I`am sorry for may first skin-deep post.
Yes, you’re right!
I used that code in css(transform: translate3d…) because in the previous version of firefox, using parameter background-attachment:fixed makes certain portions of the site to disappear on scrolling. Now, with the latest more flexible version of FF, that parameter is no longer necessary. And surely, I will use the latest version of the swfObject Reloaded whether I will use it directly included in my theme, or not.
BTW, what flashvars is, what is used for? My flash knowledges is limited..Thanks again!
Robert, was my mistake! After 2 terrible hours, I finally found the fix.
Believe it or not, all the problems came from style.css:
Removing transform: translate3d(0,0,0); code from the css file, fix the problem instantly!I apologize that I thought it was a problem with your plugin. Actually it works perfectly!
Best Regards and thank you for your time!
I forgot to mention that the both versions of plugin works in Internet Explorer, Opera, Chrome, etc …