Forum Replies Created
-
AuthorPosts
-
Dear Victoria,
i solved it, portfolio.js now proofs if ” content_retrieved[is_open] ” is undefined before doing “content_retrieved[is_open].attr({‘style’:””}).removeClass(‘open_slide’);”
Here is the code in case another one needs a Image link in an ajaxportfolio, with closing functionality from here: https://kriesi.at/support/topic/close-ajax/
The modification starts on line: 351case '#close': animating = true; target_wrap.slideUp( options.timing, options.easing, function() { container.find('.active_portfolio_item').removeClass('active_portfolio_item'); if (typeof content_retrieved[is_open] !== 'undefined') { content_retrieved[is_open].attr({'style':""}).removeClass('open_slide'); } target_wrap.removeClass('open_container'); animating = is_open = index_open = false; methods.remove_video(); the_body.trigger('av_resize_finished'); }); break;
Have a good weekend and thank you for the hint with the javascript error wich initially pointed me to the solution,
Bastian
- This reply was modified 4 years ago by basti2409.
Dear Victoria,
thanks, I’ve knocked it down to a snippet from Vinay for the functions.php from here: https://kriesi.at/support/topic/close-ajax/ its the last snippet in the thread.
I used that to close the Ajax Portfolio on “click anywhere”. This logically conflicts with a Image link inside the Ajax Portfolio… when the Image link is clicket the event for closing gets fired by js and after that “content_retrieved[is_open]” on line 351 in portfolio.js is undefined.
I can do some development tomorrow. If i can slove it I’ll let you know.
Best regards,
Bastian
Hi Victoria,
thanks for the js hint, i’ll check that and let you know… unfortunately the client has some other old Applications running on the Server that require the php version.
Have a good evening
Dear tonyska, dear kiresi Team,
I know the topic is old, but maybe some Users need the feature still. I did it the following way:
in wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\slideshow_feature_image
edit slideshow_feature_image.php on line 1051 and change: $orderby = ‘date’; to $orderby = ‘rand’;
@all Have a nice week
This reply has been marked as private.This reply has been marked as private.Hello Josue,
great work… is there any chance to get this working only in the latest news widget but not in the Post loop?
Regards,
Bastian
Hello again,
i found the solution in the documentation:
For those who need ALB on wp-job-manager single listings, heres the code that goes into functions.php at the end:
function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'job_listing'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); function avf_metabox_layout_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'job_listing'; return $supported_post_types; } add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);
The cutom post type name is “job_listing”
This only works for the classic wordpress editor, not the block editor, i suggest to use classic editor plugin by wordpress contributors.
Have a nice Day,
BastianHello Kriesi Team,
is there any chance i get the avia page builder activated for job entries, i know php, html and css so any solution (even technical ist apreciated), or in general is there a psooibility to activate the avia page builder for custom post types?
By the way you do a great job!
regards
Bastian
January 8, 2018 at 3:05 pm in reply to: Google Translate prevent specific areas from translating #894719Hi Jordan,
Happy new year, i’m sorry to bring this old thread up, but is there any possibility to use the notranslate class for specific main menu items?
Best regards,
Bastían Gasteiger
//edit: solved, i added the class in the design–>menu in the backend
- This reply was modified 6 years, 10 months ago by basti2409.
Hello Rikard,
thank you for your fast reply. In the private area is what i tried to explain:
Is it possible to use Lightbox effect without a link being shown at the bottom of the Browser?
Thanks in Advance,
Bastian
Hi again,
after thinking a bit longer about it i solved it for normal sub-menus:
In the layout.css at line 383: .av-main-nav ul
i added/modified:
position: absolute;
bottom: 65px; (may vary)can also be done via quick css
This may be helpful for everyone that needs a bottom menu with working submenus.
Hi,
thanks for your fast reply, the site is local at the moment, not online.
Its just about placing the sub and mega menu above the main menu. I can send you a screenshot if you provide me an e-mail adress..
Thanks in advance,
BastianHello,
great Theme, i’d like to put the same Request. -
AuthorPosts