Viewing 30 results - 7,381 through 7,410 (of 7,494 total)
  • Author
    Search Results
  • #128625

    I’ve found: http://wpml.org/forums/topic/ajax-call-is-not-localized/ and probably this helps you. Open up functions-enfold.php and replace

    $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></li>';

    with

    $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?lang='.ICL_LANGUAGE_CODE.'&s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></li>';

    Then replace

    if(empty($_REQUEST['s'])) die();

    with

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

    #128752

    Hey Gstar72

    I answer this in your other topic where you asked as well: https://kriesi.at/support/topic/enfold-graphics-query

    Just to help keep things easier to search and for us to answer please don’t make a new topic if you’ve already asked the question in another topic.

    Regards,

    Devin

    #25993
    crashtestmummy
    Participant

    Hi there. Can someone please provide a fix or reason why the search box is showing up halfway down the page? It’s also appearing incomplete.

    http://www.crashtestmummy.com.au

    Thanks

    #128490

    I can not tell you how to integrate the login form itself – the code depends on your application. However the search form code can be found in functions-enfold.php

    /* AJAX SEARCH */
    if(!function_exists('avia_append_search_nav'))
    {
    //first append search item to main menu
    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );

    function avia_append_search_nav ( $items, $args )
    {
    if ($args->theme_location == 'avia')
    {
    global $avia_config;
    ob_start();
    get_search_form();
    $form = htmlspecialchars(ob_get_clean()) ;

    $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></li>';
    }
    return $items;
    }
    }

    The first code block:

    ob_start();
    get_search_form();
    $form = htmlspecialchars(ob_get_clean()) ;

    generates the form and stores it into the $form variable, the second code block

    $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></li>';

    adds the search icon ($avia_config) to the main menu and adds the $form variable to the tooltip content.

    #25907
    formateins
    Participant

    Hey Guys,

    please have a look at the ajax search (beside menu): http://goo.gl/RtefM

    If you switch the language to dutch or english, the result will always use the german strings (try to search for a page title). Did I miss something???

    a) I do use a proper configured WPML.

    b) I do use PO/MO-Files (WordPress itself, Dutch translation from another Enfold user)

    c) Tried to mess around with string translation and also checked with Codestyling Localisation.

    Any help is appreciated!

    1) You can reduce the sidebar margin with following css code:

    .inner_sidebar {
    margin-left: 50px;
    }

    Decrease the margin-left value. It’s not easily possible to change the outer margins or the margin between content area and sidebar because this will break the existing layouts and would require some major adjustments to the css grid.

    2) Open up wp-contentthemesenfoldincludesloop-index.php and search for

    $link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');

    You can replace “large” with any other thumbnail size (small, medium, portfolio, portfolio_small, entry_with_sidebar).

    #128128

    the following code is not in the header on my website, got it comparing my website to the enfold theme demo with firebug

    data-avia-search-tooltip=” <form action=”http://kriesi.at/themes/enfold/&#8221; id=”searchform” method=”get”> <div> <input type=”submit” value=”&#128269;” id=”searchsubmit” class=”button”/> <input type=”text” id=”s” name=”s” value=”” placeholder=’Search’ /> </div> </form>” style=”height: 88px; line-height: 88px;”>

    #114953

    I searched the forum and it seems like nobody posted a link to a French translation yet. You can use http://wordpress.org/extend/plugins/codestyling-localization/ to translate the theme and please post a link to your translation files – they will help other users too.

    #128156

    Hi,

    The topics are group together by theme. You can use the search box.

    Regards,

    Ismael

    #127113

    I did not test this code mod but try following – in functions-enfold.php delete:

    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );

    Then open up header.php and replace

    $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '');

    with

    ob_start();
    get_search_form();
    $form = htmlspecialchars(ob_get_clean()) ;

    $form = '<span id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></span>';

    $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => $form);

    Yes exactly :)

    Thanks for posting the secondary fix as well.

    Regards,

    Devin

    Exactly what I needed. Thank you both very much!

    FYI, for those looking to remove the search and buy more space on the navbar, I also moved the menu over to the right. Here is the stylesheet code:

    .main_menu{ right: -20px;}

    Hi,

    @formateins: Thanks man. :)

    @GLIMedia: You can do formateins solution. Add the code on your custom.css or Quick CSS.

    #menu-item-search {
    display: none;
    }

    Regards,

    Ismael

    #127621

    Try this:

    #menu-item-search {display:none;}

    #25626
    GLIMedia
    Participant

    I would like to remove the search icon on the menu to make more room for menu items. Can you tell me how to do that? I am using the Enfold Theme.

    #127153

    Hi Devin,

    thank you for the immediate answer!

    Having the searchbox on mobile devices seems indeed an essential feature.

    Proposal: The Enfold header settings allows customization of links to social media. It would be much more powerful to have *arbitrary* icon/link pairs instead…!

    BTW: Not only the searchbox but the whole sidebar disappears in the mobile view…

    Best regards,

    informium

    #127295

    Hi Ismael,

    Thank you for the link.

    1. As I understand it you are giving me two choices: YOUR method of editing custom.css and NICK’s more complex method. Correct?

    2. In YOUR method, I use a jpg or png icon and in NICKS’s method I use a glyph. Is this correct?

    3. Fontello does have an Apple icon. See here http://www.fontello.com/#search=apple

    4. On the link you posted it shows many directions. Yours, Nicks – do steps 1-12 then, only do steps 5,9,11, etc. It seems to me the directions evolved over time and were edited. I am confused.

    5. What is the easiest way to replace the “dribbble” glyph with this apple glyph? http://www.fontello.com/#search=apple

    Thank you for your time, Jasmer

    #25524
    progenki
    Participant

    Hello,

    Ever since I installed enfold the search bar on the site’s header does not appear.

    progenki.com

    Weirdly so, it appears on my offline site. I replaced the files with the offline site and I still am not getting a search bar.

    What am I missing?

    #114692

    Requested in another topic:

    A search field that appears in the header on mobile devices

    Regards,

    Devin

    #127152

    Hi informium,

    You could add in a field for it that will only appear on mobile devices. It would need to be added into the header.php in its own new div and then styled to fit into the mobile layout.

    I’ll add the idea as a feature request in the Enfold feature request thread as well.

    Regards,

    Devin

    FLSouthPaw
    Participant

    Problem uploading images…

    I am getting…

    An error occurred in the upload. Please try again later

    when trying to upload images…

    It is random what pictures give the error but all of them are always 300k or smaller pictures…

    Even with the error the picture is still uploaded but seems like it craps out generating the thumbnails… does only a few…

    I have tried disabling all plugins with Enfold theme enabled and still get errors…

    I can switch to twentytwelve theme leaving all plugins enabled and all pictures upload fine… though this theme does not create thumbnails like Enfold…

    I have researched the issue and seem to be a common problem for a lot of people with wordpress but has a billion different answers…

    If you have any ideas please advise… I will keep trying to figure it out too…

    #127151

    Sorry, that question refers to the theme Enfold and should have been posted there. Might be of relevance to other themes anyway.

    #122253

    Try following – open up enfold/js/avia.js and search for

    if(first_level_items > 8 && !bottom_menu)

    Replace “8” with a lower value (eg “5”) and the theme should switch to the mobile menu when the user resizes the screen to < 1000px.

    #126555

    No, unfortunately not without major modifications/customization. By default the isotope script supports one filter/sort level and we just use the default script functionality. If you want to implement several filter levels you need to rewrite the portfolio function in enfold/js/avia.js – search for

    $.fn.avia_iso_sort = function(options)

    and add your advanced filter logic/code to this function.

    #126364

    That is definitely outdated SEO practices but you can remove or modify the wrap on widgets in:

    enfoldframeworkphpclass-sidebar-generator.php:

    Line 164 and line 165. Any change in styling will need to be re-done though I don’t know if anything is directly tied to H3 or not.

    In addition to that location there are a number of others in the following files with the same structure:

    enfoldconfig-bbpressconfig.php
    enfoldincludesadminregister-widget-area.php
    enfoldincludeserror404.php
    enfoldincludesloop-search.php

    Regards,

    Devin

    #126365

    Hi,

    You are talking about in the backend or on the website?

    If you are talking about on the site, my suggestion is to install a plugin to enhance your search since there are a couple of high end and free search plugins.

    Here they are. All current and frequently updated.

    You can use this plugin to maximize the search power of your website: SearchWP

    Refer to this link in order to integrate the plugin on ajax search: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/

    Thanks,

    Nick

    #126380

    Open up enfold/js/shortcode.js and search for this code around line 205:


    //trigger displaying of thumbnails
    gallery.on('avia_start_animation', function()
    {
    images.each(function(i)
    {
    var image = $(this);
    setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
    });
    });

    change it to:


    //trigger displaying of thumbnails
    gallery.on('avia_start_animation', function()
    {
    images.each(function(i)
    {
    var image = $(this);
    setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
    });
    }).trigger('avia_start_animation');

    #123185

    If you just want to get rid of the title revert the changes I posted above (because this will remove everything) and open up functions-enfold.php. Search for:

    if(empty($title)) $class .= " empty_title ";

    and replace i with

    $title = '';
    if(empty($title)) $class .= " empty_title ";

    By going this way you’ll remove the title from all pages.

    #126048

    Thanks,

    I have installed woocommerce and activated and also set the plugin to use the shop page but when I click on the shop nav menu I get the following page error?

    Nothing Found

    Sorry, the post you are looking for is not available. Maybe you want to perform a search?

    Having never used woocommerce I don’t know where to go from here?

    #25243
    LAHWebDesigns
    Participant

    When I view my site on iPad and even resizing in a browser, the main menu slides under the logo and does not switch to the responsive layout like the demo for Enfold does.

    The demo seems to switch the navigation to the responsive button at about 1000px wide. And when I adjust the avia.js to 1000 (I’ve searched the posts here for a solution and tried changing the avia.js as suggested in one post) what I get is the responsive button and the menu!

    I have the latest update of Enfold, 1.7 and WP 3.5.2. Am I doing something wrong?

    http://www.ttg.travel/redesign/

Viewing 30 results - 7,381 through 7,410 (of 7,494 total)