Forum Replies Created
-
AuthorPosts
-
December 12, 2014 at 4:42 pm in reply to: Best caching, compression, minify Plugin for WordPress/Enfold? #367292This reply has been marked as private.December 11, 2014 at 11:51 am in reply to: Best caching, compression, minify Plugin for WordPress/Enfold? #366587
Hi,
I’m sorry, I can’t share the URL public.
But what are you looking for? Maybe I could answer your interest here, too? :)So .. right now I use
– Better WordPress Minify https://wordpress.org/plugins/bwp-minify/ (But there are still to many requests)
and
– W3 Total Cache https://wordpress.org/plugins/w3-total-cache/ (as it could handle password protection)
and
– EWWW Image Optimizer https://wordpress.org/plugins/ewww-image-optimizer/
no need for “WP Smush.it” as it uses the same things like EWWW, but as Service (which is slower, than the local actions) at least for me.It’s uncomfortable to maintain the “header file links” as they are spread all over the system.
Some are coming hardcoded form plugins, some are form the theme, some are configurable
and some are files simply redundant, as there is no checking or anything smart going in WP here.Are there any common/pro solution for that?
Greez Jens
December 10, 2014 at 2:44 pm in reply to: Best caching, compression, minify Plugin for WordPress/Enfold? #365962Some suggestion found here:
– https://kriesi.at/support/topic/tips-on-speeding-up-site-performance/#post-346077
.. more?Plugins:
– Better WordPress Minify https://wordpress.org/plugins/bwp-minify/
– WP Super Cache https://wordpress.org/plugins/wp-super-cache/
– W3 Total Cache https://wordpress.org/plugins/w3-total-cache/
– Quick Cache (Speed Without Compromise) https://wordpress.org/plugins/quick-cache/
– WP Fastest Cache https://wordpress.org/plugins/wp-fastest-cache/
– EWWW Image Optimizer https://wordpress.org/plugins/ewww-image-optimizer/
– WP Smush.it https://wordpress.org/plugins/wp-smushit/
.. which to use, why?But there are sill a lot of file request.
Merge would be helpful. But how?Dream :) .. Enfold would need a flag:
– Dev mode (all singe files, uncompressed)
– Production mode (one file, compressed)Greez Jens
- This reply was modified 9 years, 11 months ago by Jens. Reason: Corrected 2 links
I tried some Plugins:
Zen Menu Logic: https://wordpress.org/plugins/zen-menu-logic/
- Don’t seem to work at all
Page Specific Menu Items: https://wordpress.org/plugins/page-specific-menu-items/
- No Multi-Language support
- No #hash support
Menu Item Visibility Control: https://wordpress.org/plugins/menu-items-visibility-control/
- Not been tested with WP 4.01
- All you need to do, is to add “is_page(array( 123, ‘name’, …))” to a Menu entry @ Appearance > Menus > ..
- Works well, serves my needs.
Thread, could be closed.
- This reply was modified 9 years, 11 months ago by Jens.
November 16, 2014 at 10:51 pm in reply to: I seek for: Get Scroll-Pos, Set URL Hash (maybe feature request) #352188Hi,
thanks. I will find my way through.
Greez Jens
November 15, 2014 at 1:26 am in reply to: I seek for: Get Scroll-Pos, Set URL Hash (maybe feature request) #351641First of all, thanks for you quick answer. :)
But, is there no better way, than coping the whole file?
This is a bit radical and somehow not really helpful in
terms of Update-Compatibility. Don’t get me wrong,
please. Now there is not only 1 line that could fail.
now there would be a whole file that could get in-
compatible. :) I guess it’s easier to stick to that 1 line.I seek for a “external” JavaScript solution. There must
be a way to interact with the JS function object. To get
the value or to attach an event handler to it, to get the
changed value, if something changes .. or so.Who wrote those lines inside of “avia.js” ? :)
Greez Jens
Found it out by my self … add this to functions.php.
// Add class to Body via Filter function add_filter( 'body_class','add_body_classes' ); function add_body_classes( $classes ) { $classes[] = 'classNameXYZ'; return $classes; }
November 13, 2014 at 7:44 pm in reply to: I seek for: Get Scroll-Pos, Set URL Hash (maybe feature request) #350868But still, how to avoid the call inside of the avia.js file?
How can I call the thing from outside? Are there any get-/setter? Or is there
any other way to avoid that?November 13, 2014 at 7:39 pm in reply to: I seek for: Get Scroll-Pos, Set URL Hash (maybe feature request) #350865Found a simple solution :)
Placed the call into the activate function at line 224., activate: function (target) { var active , selector this.activeTarget = target setHash(this.activeTarget);
November 13, 2014 at 6:18 pm in reply to: I seek for: Get Scroll-Pos, Set URL Hash (maybe feature request) #350829Sadly it creates massiv performance issues under Safari.
Any suggestions?November 13, 2014 at 4:53 pm in reply to: I seek for: Get Scroll-Pos, Set URL Hash (maybe feature request) #350721Right now I changed the avia.js file, but this sucks for updates.
At line 205 I’ve added one line “setHash(this.activeTarget);”, process: function () { if(!this.offsets) return; var scrollTop = this.$scrollElement.scrollTop() + this.options.offset , scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight , maxScroll = scrollHeight - this.$scrollElement.height() , offsets = this.offsets , targets = this.targets , activeTarget = this.activeTarget , i setHash(this.activeTarget);
And than I’ve put the rest into a new JS file.
var currentHash = ""; var langObjs = jQuery("ul.avia_wpml_language_switch a"); function setHash(hashString) { if (hashString === undefined) return; if (hashString !== currentHash) { window.location.hash = hashString; setLangHash( hashString ); currentHash = hashString; history.pushState(null, null, hashString); } } function setLangHash(hashString) { langObjs.each(function() { var curObj = jQuery(this); var hrefStr = curObj.attr('href'); var hrefWithoutHash = (hrefStr.indexOf('#') < 0) ? hrefStr : hrefStr.substr(0, hrefStr.indexOf('#')); var newHref = hrefWithoutHash + hashString; curObj.attr('href', newHref); }); }
I works ok, code is bit dirty and quick done.
What would you suggest to avoid the call inside of avia.js?- This reply was modified 10 years ago by Jens.
So, tested a bit more.
- Chrome (latest): No Parallax, but the Video is centered. The Looping works.
- Safari (latest): No Parallax, but the Video is at the button. The Looping works not.
- Firefox (latest): No Parallax, but the Video is at the button. The Looping works not.
Your embed code is something like:
<video class="avia_video av-mediajs-loaded" id="player_74..." src="..../test.mp4"> <source src="..../test.mp4" type="video/mp4"> </video>
There I miss the “loop autoplay” statement in the <video> dom.
Seems to be wrong. If I add that manually via firebug, looping works.More like:
<video class="avia_video av-mediajs-loaded" id="player_74..." src="..../test.mp4" loop autoplay> <source src="..../test.mp4" type="video/mp4"> </video>
Right?
- This reply was modified 10 years, 2 months ago by Jens. Reason: cropped the path and id of the video embed code snipped
Hi,
1) “background-position”. Right now I always see only the lower part of the video.
But I would like to see the top part. I found out that in css at “#top #av_section_1 .av-section-video-bg video”
there is a value at about ~ Top:-400px this cases that.
But it depends on the viewport and so on. So this somehow isn’t the solution, I would guess.My setup:
- Latest WordPress and Theme version
- MP4 Video: This one: https://www.dropbox.com/s/4m9rupraft9s264/Test-Clip.mp4
- Section Minimum Height: 50% of browser hight
- Video Aspect Ratio: 4:3
- Background Repeat: No Repeat
- Loop is on: config-templatebuilder/avia-shortcodes/section.php > av_slideshow > ‘video_loop’ => true
My result:
- 50% cropped video
- I see the lower half of the video
- It doesn’t loop
- I don’t see any parallax behaviour
What I want :)
- 50% cropped video
- I see the upper half of the video (or the center)
- It does loop
- I see a parallax behaviour
2) Would be nice to see this as flag in the GUI where I could set the Aspect Ratio, too.
As this is not a global thing. One video needs a loop, the next doesn’t :)3) Same with Loop. Good to know I could change it there .. but a GUI would be nice.
4) Parallax. Where? I only see “Background Repeat” which comes close. But there are only the values:
- No Repeat
- Repeat
- Tile Horizontally
- Tile Vertically
- Stretch to fit
No Parallax. Or do I miss the point?
Thanks guys!
Greez Jens
- This reply was modified 10 years, 2 months ago by Jens.
September 23, 2014 at 10:20 am in reply to: Custom Google Maps settings and Child Theme – Possible? #323567Hi,
thanks for the reply.
So no into: “/wp-content/themes/enfold-child/framework/php/class-framework-widgets.php”
But into: “/wp-content/themes/enfold-child/functions.php”.Right?
Greez Jens
September 22, 2014 at 11:26 pm in reply to: Custom Google Maps settings and Child Theme – Possible? #323343No one?
Or is this simply impossible?October 10, 2013 at 10:06 pm in reply to: Switching between "Avia Layout Builder" and "Default Editor" fails #173835But why could I see a “Words” counter at the lower left?
And why douse the workaround, work?Where is the benefit, in not enable a “native” way? :)
Greez Jens
October 10, 2013 at 11:31 am in reply to: Switching between "Avia Layout Builder" and "Default Editor" fails #173536My aim is to have sections and other things inside of tabs.
Sadly the current “Avia Layout Builder” can’t do that,
but via [shortcodes] in the “Default Editor” it’s possible.
And the Enfold Templates works well with that nesting, too.
My Test: Tabs > 2 Columns (1 Text / 2 Bars) .. no issues so far.It would help if I could access all shortcodes within the RTE.
Is that somehow possible? There are only 3 available now.Greez Jens
October 6, 2013 at 3:05 pm in reply to: Add a "Anker Shortcode Template" To Avia Layout Builder #171183Perfekt! Thanks a lot.
That did the job.Why not add a GUI to the enfond module to “configure” those framework flags?
Anyway, have a awesome weekend (or better rest of the sunday).
Greez Jens
October 6, 2013 at 1:42 pm in reply to: Add a "Anker Shortcode Template" To Avia Layout Builder #171144Wow, thanks for your quick Feedback. :)
But this also adds additional hight to that Block.shortcodes.css (116): .avia-section { min-height: 100px; } layout.css (1009): .content, .sidebar { min-height: 1px; } grid.css (32): .container_wrap { border-top-width: 1px; } grid.css (39): .unit, .units { min-height: 1px; }
Strangely that creates 99px hight in total. I aim to have 0px :)
Now I could:
- A) Add all IDs to the CSS file and hardcode remove that space. But than it becomes a bit inflexible.
- B) Add the possibility to add a class to that section that “fixes” that css. But I don’t know how.
- C) Go for the solution above. And add a special Anker element for that. But There I have to much markup, too.
What would you suggest?
Greez Jens
- This reply was modified 11 years, 1 month ago by Jens.
-
AuthorPosts