Forum Replies Created

Viewing 30 posts - 8,221 through 8,250 (of 9,352 total)
  • Author
    Posts
  • in reply to: Advanced Layout Builder nicht mehr da #129731

    Gehe mal zu einer “Seiten” oder “Portfolio” Bearbeitungsseite und klicke auf “Einstellungen” in der rechten oberen Ecke. Stelle sicher, dass dort die Checkbox neben “Avia Layout Builder” makiert ist.

    Wenn dies nicht hilft versuche einmal alle Theme Dateien und WordPress Dateien nochmals mittels FTP hochzuladen – vielleicht ist eine Datei beschädigt.

    in reply to: Changing Permanent Link #129452

    Add following code to the bottom of functions.php:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if ( $args['title'] == 'Blog - Latest News' )
    {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    }

    return $args;
    }

    This will replace the “Blog – Latest News” with the page title.

    in reply to: Permalink Issue – Archive and Single Post Page #129267

    You can use following filter code to remove the permalink – insert it at the bottom of functions.php:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if ( is_single() )
    {
    $args['link'] = false;
    }

    return $args;
    }

    If you want to change the title text to the current post title use:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if ( is_single() && get_post_type() == 'post' )
    {
    $args['link'] = false;
    $args['title'] = get_the_title($id);
    }

    return $args;
    }

    in reply to: Galaxy Tab Browser crashes #129723

    Hey!

    I’m not familiar with Galaxy iTablet but maybe it’s a browser configuration issue or an extension triggers an error. Try another browser and deactivate all extensions of the browser to find the culprit.

    Best regards,

    Peter

    in reply to: Portfolio "Next" points to last instead of next #129000

    Afaik it’s not possible to change the order because we use the standard get_previous_post() and get_next_post() wp functions to output the next/previous posts and there’s no parameter to control the order. Even the “post order” plugin won’t work because WP uses a hardcoded sql query and not WP_Query. This probably will change with WP3.7 ( http://core.trac.wordpress.org/ticket/17807 )

    If you want to remove the next/previous links open up footer.php and delete

    echo avia_post_nav();

    in reply to: Enfold Woocommerce Cart Widget #129447

    Ich habe beim vorherigen Code nicht an das Sidebar widget gedacht sondern an das “Warenkorb” Icon oben rechts, welches den Warenkorbinhalt nach einem Klick anzeigt.

    Für das Sidebar Widget verwendet

    #top div .widget_shopping_cart .button {
    width: 100%;
    display: block;
    }

    #top div .widget_shopping_cart .button.checkout {
    margin-top: 10px;
    }

    in reply to: Fehler in der Beitragsübersicht #129577

    Hi!

    Hallo,

    WordPress sollte an dieser Stelle nur ein 36x36px Thumbnail anzeigen. Vielleicht existiert dieses Thumbnail noch nicht. Versuche die Thumbnails von den bestehenden Bildern mit: http://wordpress.org/plugins/regenerate-thumbnails/ zu generieren.

    Best regards,

    Peter

    in reply to: "images" folder in "enfold-child" folder #129479

    You don’t need to use the green “Upload” button but you can insert your image url(s) into the white text field on the left side of the upload button. If you insert the url directly into the text field you can use any url – even urls which point to external resources. You can also insert an url which points to your child theme directory – it would look like

    http://www.ygi.ch/wp-content/themes/enfold-child/images/image.jpg

    The upload button itself will use the standard wordpress media gallery which stores the images in the wp-content/uploads/ folder.

    Hi!

    It seems like there’s an unclosed “strong” element which affects the entire website. w3cvalidator says that after

    <strong>Επιτρέπονται τα φάρμακα κατά...

    a closing strong tag is missing…

    Best regards,

    Peter

    in reply to: Import Dummy Data Issue #129525

    Hey!

    Thank – I’ll ask Kriesi to update the documentation. The images on the demo website are stock images and we’re not allowed to distribute them with our theme files (eg as dummy content).

    Best regards,

    Peter

    Hey!

    You can suggest new features/tweaks here: https://kriesi.at/support/topic/enfold-feature-requests – if more users support it we’ll look look into it.

    Best regards,

    Peter

    in reply to: I made a custom nav bar. #129517

    The nav bar functions are called in header.php – search for

    $args = array('theme_location'=>'avia2', 'fallback_cb' => '', 'container'=>'', 'echo' =>false);
    $nav = wp_nav_menu($args);
    echo $nav;

    (small nav bar at the top) or

    echo "<div class='main_menu' data-selectname='".__('Select a page','avia_framework')."'>";
    $args = array('theme_location'=>'avia', 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu());
    wp_nav_menu($args);

    (main menu nav bar).

    in reply to: Images inside Tabs #129495

    1) Use the “Add Media” button to insert the images into the tab and make sure to select “Link to” -“None” before youinsert the image

    2) I didn’t try to stack these shortcodes yet – maybe it does not work. However a small workaround is required – go to a “Post” editor page and use the shortcode generator (magic wand icon) to generate the easy slider shortcodes. Then copy/paste this code into the tab content field. Afterwards save the tabs and check the result.

    1) I think the “Google Map” plugin you’re using breaks the javascript. It loads the google map js file from an insecure source

    <script type='text/javascript' src='http://maps.googleapis.com/maps/api/js?sensor=true&libraries=places&ver=3.5.2'></script>

    and the browser stops to process the javascript files.

    2) All other insecure resource are images – you can try to use: http://wordpress.org/plugins/wordpress-https/ which will replace the http:// with https:// for all media gallery items.

    in reply to: Ajax Suche wird auf der Home Seite nicht angezeigt #129611

    Hey!

    Hallo,

    möglicherweise ein Javascript Fehler. Bitte poste einmal einen Link zu deiner Website.

    Regards,

    Peter

    in reply to: Qoate Scroll Triggered Box #128503

    Hey!

    Probably a problem with the z-index. Try to insert following css code into the quick css field:

    #qoate_social_bookmark {
    z-index: 20;
    }

    Regards,

    Peter

    in reply to: White space disappears when I publish #129135

    Maybe GoDaddy does not allow you to increase the php memory limit by using the wp-config.php and you need to edit the php.ini directly or they (Godaddy hoster support team) must increase the memory for you. In the worst case your hosting plan simply doesn’t allow you to use more than 64mb and you need to upgrade your account.

    Open up wp-contentthemesenfoldincludesloop-index.php and remove

    if ( get_comments_number() != "0" || comments_open() ){

    echo "<span class='comment-container minor-meta'>";
    comments_popup_link( "0 ".__('Comments','avia_framework'),
    "1 ".__('Comment' ,'avia_framework'),
    "% ".__('Comments','avia_framework'),'comments-link',
    "".__('Comments Disabled','avia_framework'));
    echo "</span>";
    echo "<span class='text-sep'>/</span>";
    }

    and

    if(!empty($cats))
    {
    echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
    echo $cats;
    echo '</span><span class="text-sep">/</span>';
    }

    in reply to: Move Search Icon Next to Social Media Icons #127115

    Hey!

    No, the forum does not support mail notifications at the moment. This will hopefully change with the new kriesi.at website…

    Best regards,

    Peter

    Hi,

    you need to configure the theme options for each language – i.e. you can set a different logo, different colors, different copyright text, etc for each language. Just select the current language from the language dropdown in the admin panel; the theme name will change – eg to Enfold (DE) if you select German – then you can configure & save the options for the German website. Then select another language and configure the options for this language, etc.

    in reply to: Dropdown menu error #129481

    Hi!

    Please check your menu settings (Appearance > Menus) and make sure that you didn’t activate the “Mega Menu” feature for the “cozumlerimiz” menu item.

    Best regards,

    Peter

    in reply to: Enfold Woocommerce Cart Widget #129445

    Hi!

    I didn’t manage to align the text on one line but you can use following code

    #top .dropdown_widget .buttons .button {
    width: 100%;
    line-height: 20px;
    }

    to center align both buttons underneath each other…

    Best regards,

    Peter

    in reply to: Ajax Search – Translation handling probs… #128630

    Ok, the main problem is that the __() function won’t work with the ajax call because you first need to load all textdomains of the current language first. It’s very strange that WPML can’t use the right textdomains out of the box and it’s probably a wordpress/WPML limitation. Maybe we can’t fully resolve this issue because of the limitations but I’ll ask Kriesi to look into it. For now I can only offer a solution to translate the “Portfolio Items” caption and to translate the “View all results” text. First revert the changes I posted before, then you need to use following function to add the lang parameter to the search

    if(!function_exists('add_lang_avia_ajax_search'))
    {
    add_action('avia_frontend_search_form', 'add_lang_avia_ajax_search');
    function add_lang_avia_ajax_search()
    {
    if(defined('ICL_SITEPRESS_VERSION') && defined('ICL_LANGUAGE_CODE'))
    {
    echo '<input type="hidden" id="lang" name="lang" value="'.ICL_LANGUAGE_CODE.'" />';
    }
    }
    }

    Then you can use following code in avia_ajax_search() to load the right textdomain

    if(!empty($_REQUEST['lang']))
    {
    global $sitepress;
    $sitepress->switch_lang($_REQUEST['lang'], true);

    $lang = get_template_directory() . '/lang';
    $unload = unload_textdomain('avia_framework');
    $load = load_textdomain('avia_framework', $lang . '/'. get_locale() . '.mo');
    }

    and translate the “Portfolio Items” with

    if($post_type == 'portfolio')
    {
    $output .= "<h4>"._x($post_type_obj[$key]->labels->name, 'post type general name','avia_framework')."</h4>";
    }
    else
    {
    $output .= "<h4>".$post_type_obj[$key]->labels->name."</h4>";
    }

    in reply to: Menu Plugin Incompatibility? #128040

    Hi!

    Yes, the plugin won’t work with Enfold. Probably we’ll add a similar feature to Enfold in the future…

    Best regards,

    Peter

    in reply to: Global setting for Socket #128889

    thought so. I would recommend using the global setting should ignore the individual ones. Logical stuff…

    I”m sorry formateins but that’s wrong and your solution is not logical at all. If the “global settings” overwrite the individual post meta settings you can’t use the individual settings anymore because regardless of the configured post meta value the “global settings” will overwrite the individual settings.

    However normally the “Default Layout – set in Enfold > Layout & Options” option should always be selected as the default dropdown option and in your case the “Display the footer widgets & socket” value is selected which seems to be a leftover on your server (the first versions of Enfold used the global settings to select the right value in the metabox dropdown). Try to add following code to the end of functions.php to reset all values:

    add_action( 'admin_init', 'avia_remove_meta');
    function avia_remove_meta()
    {
    $post_types = array('post','page','portfolio');
    $count = 0;

    //iterate over each post type
    foreach($post_types as $type)
    {
    //get all posts of a certain type
    $the_query = new WP_Query( array('post_type' => $type, 'posts_per_page'=>-1) );

    //check if any post were retrieved
    if(!empty($the_query->posts))
    {
    //iterate over each post and check if the post has a gallery key
    foreach($the_query->posts as $entry)
    {
    //since there might be hundreds of posts make sure php doesnt time out
    @set_time_limit(45);
    $success = delete_post_meta($entry->ID, 'footer', true);
    }

    }
    }
    }

    in reply to: Javascript broken on POST EDIT page #115180

    Hey!

    I forwarded the login data to Kriesi.

    Best regards,

    Peter

    It seems like Enfold doesn’t apply the “Droid Sans” font to your headlines. Make sure that you set the “Droid Sans” font for your headlines

    Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace

    if($show_meta && !empty($excerpt))
    {
    $output .= "<div class='slide-meta'>";
    if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    {
    $link_add = $commentCount === "0" ? "#respond" : "#comments";
    $text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );

    $output .= "<div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div><div class='slide-meta-del'>/</div>";
    }
    $output .= "<div class='slide-meta-time'>" .get_the_time(get_option('date_format'), $the_id)."</div>";
    $output .= "</div>";
    }

    with

    if($show_meta && !empty($excerpt))
    {
    $output .= "<div class='slide-meta'>";
    $output .= "<div class='slide-meta-time'>" .get_the_time(get_option('date_format'), $the_id)."</div>";
    if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    {
    $link_add = $commentCount === "0" ? "#respond" : "#comments";
    $text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );

    $output .= "<div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div><div class='slide-meta-del'>|</div>";
    }
    $output .= "</div>";
    }

    in reply to: Trying to use a big logo #128954

    The image is distorted because the height is always 110px. Try to set it to “auto” with

    .bottom_nav_header.social_header #header_main .container{height:110px; line-height: 110px;}
    .logo img {
    width: 714px; height:auto;
    .logo img {
    max-width: 714px;max-height: auto;
    }.logo img {
    max-width: 714px !important;
    }

    @media only screen and (max-width: 767px) {
    .logo img {
    width: 268px !important;
    height: auto !important;
    }
    }

    in reply to: How to Remove White Space on Forms #129275

    Hey!

    Please try to insert following css code into the quick css field

    #pe-submit-area {
    height: 47px;
    }

    Best regards,

    Peter

Viewing 30 posts - 8,221 through 8,250 (of 9,352 total)