Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Lightbox Image link in Ajax Portfolio #1257017

    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: 351

    
    case '#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, 1 month ago by basti2409.
    in reply to: Lightbox Image link in Ajax Portfolio #1256919

    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

    in reply to: Lightbox Image link in Ajax Portfolio #1256524

    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

    in reply to: Random image on Featured Image Slider #1255984

    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

    in reply to: Lightbox Image link in Ajax Portfolio #1255696
    This reply has been marked as private.
    in reply to: Lightbox Image link in Ajax Portfolio #1254786
    This reply has been marked as private.
    in reply to: Mark new posts in widgets #1229976

    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

    in reply to: WP Job Manager #1162532

    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,
    Bastian

    in reply to: WP Job Manager #1162526

    Hello 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

    in reply to: Google Translate prevent specific areas from translating #894719

    Hi 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, 11 months ago by basti2409.
    in reply to: Lightbox without Link being shown #550320

    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

    in reply to: Bottom Menu, move submenu and mega menu upwards #521696

    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.

    in reply to: Bottom Menu, move submenu and mega menu upwards #521684

    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,
    Bastian

    in reply to: Layer Slider sortcode is not working #181985

    Hello,
    great Theme, i’d like to put the same Request.

Viewing 14 posts - 1 through 14 (of 14 total)