Forum Replies Created

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • Hey Kriesi Team,
    i get the same Error Notification: “Default Lightbox must be activated for this feature to work” after the cookie update from yesterday.
    Hope, you fix it…
    Greetings
    Andreas

    Please close this topic Rikard. Thx.

    Hey Mike,
    great. Everything works fine now!
    Best regards,
    Andreas

    Hey Elliott,
    thanks for checking. I can not finde a solution.
    If I use the shortcodes outside a fullwith-element – everything works fine. But the layout is suboptimal in this way.
    So, thanks again.
    For me, you can close this topic.
    Greetings
    Andreas

    This reply has been marked as private.

    Hey Rikard,
    me again with a part of the Output (this time for page: http://www.anbosa.de/pflegefachkraft-email/).
    Obviously shortcode will output at a fifferent location than plain text. If you please have a look on the code below, I think this is not a problem of the plugin-code, but of the theme-code.
    I’ve marked the two points where the shortcode and the text are output (OUTPUT SHORTCODE and OUTPUT TEXT).

    
    <div class='stretch_full container_wrap alternate_color light_bg_color title_container'>
        <div class='container'>
        <h1 class='main-title entry-title'>
            <a href='http://www.anbosa.localhost/pflegefachkraft-email/' rel='bookmark' title='Permanenter Link zu: Pflegefachkraft – E-Mail'  itemprop="headline" >Pflegefachkraft – E-Mail</a>
        </h1>
        <div class="breadcrumb breadcrumbs avia-breadcrumbs">
            <div class="breadcrumb-trail" xmlns:v="http://rdf.data-vocabulary.org/#">
            <span class="trail-before">
                <span class="breadcrumb-title">Sie befinden sich hier:</span>
            </span>
            <a href="http://www.anbosa.localhost" title="anbosa" rel="home" class="trail-begin">Startseite</a>
            <span class="sep">/</span>
            <span class="trail-end">Pflegefachkraft – E-Mail</span>
            </div>
        </div>
        </div>
    </div>
    OUTPUT SHORTCODE
    <div id='pfk-section' class='avia-section main_color avia-section-small avia-no-border-styling avia-bg-style-scroll avia-builder-el-0  el_before_av_section  avia-builder-el-first container_wrap sidebar_right'   >
        <div class='container' >
        <main  role="main" itemprop="mainContentOfPage" class='template-page content  av-content-small alpha units'>
            <div class='post-entry post-entry-type-page post-entry-4495'>
            <div class='entry-content-wrapper clearfix'>
                <div class="flex_column av_one_third first avia-builder-el-1  el_before_av_one_third  avia-builder-el-first ">
                <section class="av_textblock_section" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" >
                    <div class='avia_textblock '   itemprop="text" >
                    <h3>E-Mail</h3>
                    </div>
                </section>
                </div>
                <div class="flex_column av_one_third avia-builder-el-3  el_after_av_one_third  el_before_av_one_third ">
                <section class="av_textblock_section" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" >
                    <div class='avia_textblock '   itemprop="text" >
                    <div class='avia-button-wrap avia-button-center avia-builder-el-5  avia-builder-el-no-sibling '>
                        <a href='http://www.anbosa.localhost/pflegefachkraft-persoenlicher-bereich/' class='avia-button  avia-icon_select-no avia-color-custom avia-size-large avia-position-center ' style='background-color:#ffffff; border-color:#ffffff; color:#FF5D4C; ' >
                        <span class='avia_iconbox_title' >Zurück</span>
                        </a>
                    </div>
                    </div>
                </section>
                </div>
                <div class="flex_column av_one_third avia-builder-el-6  el_after_av_one_third  avia-builder-el-last ">
                <section class="av_textblock_section" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" >
                    <div class='avia_textblock '   itemprop="text" >
                    <p style="text-align: right;">Edouard Simon</p>
                    </div>
                </section>
                </div>
            </div>
            </div>
        </main><!-- close content main element -->
        </div>
    </div>
    <div id='av_section_2' class='avia-section main_color avia-section-default avia-no-shadow avia-bg-style-scroll avia-builder-el-8  el_after_av_section  el_before_av_section container_wrap sidebar_right'   >
        <div class='container' >
        <div class='template-page content  av-content-small alpha units'>
            <div class='post-entry post-entry-type-page post-entry-4495'>
            <div class='entry-content-wrapper clearfix'>
                <section class="av_textblock_section" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" >
                <div class='avia_textblock '   itemprop="text" >
                   <p>OUTPUT TEXT</p>
                </div>
                </section> 
    

    Hello Rikard,
    I have disabled all the plugins and cleaned the cache in the browser and the caching plugin too. That I had already done before to find the reason for the conflict. Unfortunately without success. What is your price to fix it for me? ;-)
    Greetings Andreas

    This reply has been marked as private.
    This reply has been marked as private.

    Hio Andy,
    thank you for your answer. I have installed this plugin. It does exactly what I want. It’s not the best solution, but it is a solution…
    So this topic is finished.
    Thanks again for the help here in the forum and
    Regards
    Andreas

    Hi Elliott – me again ;-)
    Now, I did a totally new installation of wrdpress and enold-theme. Therefore I used the files I bought from you. After this I installed a child theme, downloaded from your site. Then, I constructed two new menus: 1. Main-Menu-logged-out and 2. Main-Menu-logged-in. In the functions.php of the child theme I wrote this correct function:

    function my_wp_nav_menu_args( $args = '' ) {
     if( is_user_logged_in() && $args['theme_location'] == 'avia' ) {
      $args['menu'] = 'Main-Menu-logged-in';
    } else {
      $args['menu'] = 'Main-Menu-logged-out';
     }
     return $args;
     }
    add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' ); 

    After checking the function I allready have the same problems. The Main-Menu-logged-in is displayed at all menu-positions (also in Top-Menu – avia2).
    Unfortunately this is annoying for me, because I need a menu-change strictly.
    I hope that yyou or your colleagues can help me fixing this problem.
    Thanks a lot
    Greetings
    Andreas

    Hi Elliott,
    I followed your advice. Also in the parent theme, the error occurs. Even if I have all the plugins deactivated.I have no idea unfortunately. Should I reinstall enfold / wordpress? I have an alternative option to fix it?
    Thank you.
    Greetings
    Andreas

    Hey Elliott,
    and thanks for your help!
    in the meantime I have the Main Menu (Main Menu-logged-in) deleted because the menu-chance did not work. I have it rebuilt now. After login, the “Main Menu-logged-in” is displayed correctly. Instead of the other menus (top menu, etc.) always the Main Menu-logged-out is displayed. Unfortunately, this is wrong. Do you have another idea?
    Very many thanks and best regards
    Andreas

    This reply has been marked as private.
    in reply to: Login / Logout Button in Main-Menu – styling #351211

    I found solution:
    this is the right code. Any additional style-declarations are not necessary.

    function add_login_logout_link($items, $args)
    {
    if(is_user_logged_in() && $args->theme_location == 'avia')
    {
    $newitems = $items;
    $newitems .= '<li class="av-menu-button av-menu-button-colored avia-menu-text"><a class="avia-menu-text" title="'.__('Logout','avia_framework').'" href="'. wp_logout_url(get_permalink()) .'"><span class="avia-menu-text">'.__('Logout','avia_framework').'</span></a></li>';
    }
    else if($args->theme_location == 'avia')
    {
    $newitems = $items;
    $newitems .= '<li class="av-menu-button av-menu-button-colored avia-menu-text"><a class="avia-menu-text" title="'.__('Login','avia_framework').'" href="'. wp_login_url(get_permalink()) .'"><span class="avia-menu-text">'.__('Login','avia_framework').'</span></a></li>';
    
    }else{
    $newitems .= $items;
    }
    return $newitems;
    }
    add_filter('wp_nav_menu_items', 'add_login_logout_link', 5, 2);
    

    Andreas

    in reply to: Login / Logout Button in Main-Menu – styling #351007

    Hi Elliott,
    Thanks for your reply. I had already tried this, but without success. The CSS classes are declared, but the result is different to the button styled with “Button-Style (Colored)” in avia builder.

    my functions.php looks like this:

    ...
    $newitems .= '<li class="av-menu-button av-menu-button-colored"><a class ="avia-menu-text" title="'.__('Logout','avia_framework').'" href="'. wp_logout_url(get_permalink()) .'">'.__('Logout','avia_framework').'</a></li>';
    ...

    my style.css:

    ...
    .av-menu-button-colored {
        background-color: #ff5d4c;
        border: medium none;
        color: #fff;
        border-radius: 3px;
    }
    
    .av-menu-button-colored:hover {
        opacity: 0.9;
        transition: all 0.2s linear 0s;
    }
    
    .av-menu-button-colored:hover a {
        color: #fff !important;
    }
    
    .av-menu-button-colored > a .avia-menu-text {
        border-color: -moz-use-text-color;
        border-radius: 3px;
        border-style: none none solid;
        border-width: medium medium 1px;
        padding: 11px 10px 10px;
    }
    ...

    You have any idea?
    Greetings
    Andreas

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