Viewing 30 results - 4,711 through 4,740 (of 7,495 total)
  • Author
    Search Results
  • Hi mediendesignerin!

    Please use different tickets for different questions/issues.

    1.) Go to Enfold->Header->Extra Elements and switch off the option in “Append search icon to main menu”
    2.) Not sure what you mean. Can you provide us a precise link where we can see this issue?
    3.) Check out this: http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/

    Best regards,
    Andy

    #612086

    Just noting that I have been trying to work with Responsive Flipbook WordPress Plugin on an Enfold site, and it is NOT going well. Import of pre-defined designs does not work at all, the plugin often hangs, and I am getting a lot of 503 errors. I did turn off all plugins, contact siteground my host to increase PHP memory, and contacted the plugin’s authors, all to no avail. For anyone else who searched flipbooks in the support area, I’d suggest you save your money. I wish I could find a flipbooks-style setup for the LayerSlider somewhere; looks like I have to set one up myself.

    mediendesignerin
    Participant

    Hello Kriesi, I have a few questions about the theme enfold with the following link:

    http://test.kleintierpraxis-senger.de/

    the website should still go online this week, so it would be really great if you can answer me as soon as possible. I send you greetings from Munich Germany and thank you in advance :-)

    1. how do I get the magnifying glass “search” away from on the header? I want it all away have from the menu.

    2. Layer slider: where exactly do I adjust the distance of left to the browser window?
    the slider is responsive to the left end flush with the content / stop and not entirely abut the edge of the browser.

    3. how do I put it in, that is not running the MENU in the logo when pushing together of the browser window? in responsive.

    4. if I use a submenu such as in services (Leistungen), I can sort it only after alphabet. But I want to sort individual. How can I customize? I would then like to show right in the SIDEBAR.

    5. when i in the accordion use an image and to the right have a list, the list Runs into the picture. Here, of course, should be a distance to the right. How and where can I change this?

    Freundliche Grüße
    Ulrike Hostehradsky

    +++++++++++++++++++++++

    MTC | Haus 1 | Raum 109
    Ingolstädter Straße 45
    80807 München

    T 089.35 75 78 45
    F 089.35 75 78 46

    +++++++++++++++++++++++

    newuser1
    Participant

    Enfold and your team have been awesome! After searching, I couldn’t find out how to do the two things below correctly because I think there might already be some custom CSS in our site relating to how we previously had the logo that may be affecting it. I am a beginner so not familiar with code, etc.

    1. How do we make the exact same transparent logo that is showing on the Desktop version of our site on home, about us, what we do, news,contact pages show on the Mobile version of our site?
    (Mobile version now shows the wrong logo that is the main logo uploaded, not the transparent logo uploaded in the transparent logo theme section. It used to show correctly with transparent logo on both mobile and desktop. When we updated the main theme logo to our standard logo {so we could use that logo on our posts pages} and added the transparent logo to the transparent logo theme section it then stopped showing correctly on mobile.)

    2. Is there an easy way to make the Menu header text show in teal#007272 ONLY ON POSTS PAGES so it can be seen?
    (The menu header text looks great in white on all other pages like home, about us,what we do, news, contact us, etc. but when you click on an actual post page it can’t be seen because everything is white. We wouldn’t want to change the header background color because it looks good, just the Menu text color only on posts pages if possible)

    If it is easier for you to modify the custom CSS or quickly make the changes than explain how to do it, please feel free to do so. Thank you for your help!

    #611750
    L+T
    Participant

    Hi there,

    I am sorry, my search didn’t really help to solve my problem. Isn’t it possible to open a video (e.g. from YouTube) in a Lightbox from a button? I tried all kinds of tips I found here in the support forum but none of them seems to work for a button.

    I am using the latest versions of Enfold and WP. I

    Do you have any idea how to realize this? Thanks a lot!!

    #611730

    Hi
    Thank you for quick response
    Yes, I am looking for the way to reach the same search box in Enfold and Woocomerce booking plugin
    It is possibile or should I find developer for that?
    Thank you a lot
    Krzysztof

    #611701

    In reply to: Custom Header Design

    Hi Bahar!

    We are working on your ticket please wait while we update the results here soon.

    Please select Logo Center menu below from Header > Menu and logo Position

    Then from Header > Extra Elements > check the search icon.

    Add the below css in Enfold > General Styling > Quick CSS
    feel free to adjust margin right to match the logo width or slightly more

    /*Split menu*/
    .av-logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .av-main-nav li:nth-child(3) {
        margin-right:350px;
    }

    Cheers!
    Vinay

    • This reply was modified 9 years, 11 months ago by Vinay.
    #611181

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .widget input#s {
        background: white !important;
    }
    .widget #searchsubmit {
        color: red;
    }

    Cheers!
    Yigit

    #611096
    RTLindsay
    Participant

    Hello,

    We have been using the Enfold contact form element on our site for a while now, but would like to post a number of values (Villa name, arrival date and departure date) from our search results page through to the form so that the user arrives at the form with the fields pre-populated if they have already done an availability search for a particular villa that they want to reserve.

    Is there any way that we can post data to the page containing the form element to achieve this?

    Ideally we don’t want to alter the underlying theme code in a way that is likely to break future theme updates.

    Thanks in advance for your input.

    #610955

    In reply to: some questions

    Hi BetuwePC!

    Thank you for using Enfold and we are very sorry for the delay.

    1.) Please add this in the Quick CSS field:

    #header_meta .container {
        min-height: 50px;
    }

    2,.) Disable the search icon then add this in the functions.php file:

    add_filter( 'avia_meta_header', 'avia_append_search_nav_mod');
    
    function avia_append_search_nav_mod()
    {
        ob_start();
        get_search_form();
        $form =  htmlspecialchars(ob_get_clean()) ;
    
        $items = '<div id="menu-item-search" class="menu-item-search-mod menu-item menu-item-search-dropdown">
            <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
               </div>';
    
        echo $items;
    }

    3.) I’m sorry but you can’t remove the portfolio slug in the url. However, you can change it in the Settings > Permalinks >
    Portfolio Items Base field.

    4.) Add this in the Quick CSS field:

    body .column-top-margin {
        margin-top: 20px;
    }

    5.) Use the button element of the advance layout builder.

    6.) I’m sorry but this will require modification on the theme. Please contact codeable: http://kriesi.at/contact/customization

    If possible, please open a single thread or post for each inquiry. You will usually get a faster response that way.

    Best regards,
    Ismael

    alex1970ns
    Participant

    Hi,
    I am not very skilled with web development, so I imported demo data of Enfold one page restaurant theme, and recreated the site with my photos, my menu, contact details, forms.

    The problem: when I am updating #menu part, when I press update,
    SOMETIMES part of the page falls off, sometimes not.
    When it falls off, I go back to ok revision with full page, and update page back to normal, then add 2 more lines of menu, then update, then it is ok, then add 2 more lines, and it is ok, …..it happens without any rules.
    I was wandering if it has something to do with autosave functions of WordPress, and searched on the internet, solutions for this problem, added this line to config.php: define( ‘AUTOSAVE_INTERVAL’, 300 );
    BUT it did not help, same is happening again and again.
    I noticed that even when I get back the whole page, first part of the menu does NOT have bold catalogue items, and items ARE bold, EXACTLY at the place, where page is falling off.
    I looked into settings of color section, and in catalogue item settings, and they are the same as in parts of the page, which is not falling off.

    Thx in advance.
    Best regards,
    Alex

    #610809

    @moderngravity and @DavyE

    Hey guys,

    I know I’m a bit late to the party with replying but I stumbled across your thread while looking for something else.

    Enfold is a wonderful and beautifully written theme with amazingly clean code. I’ve also spent ages barking up this SEO tree and wasted hours browsing this forum trying to fix things I thought needed fixing, in hope that once my little website was complete it would rank one with Google when people searched for it.

    Now I am no coder or SEO guru but one thing I have noticed (other than moderators here being very short when it comes to SEO questions) is forget SEO . Forget worrying about having Htags correctly arranged as sites such as OnPage.Org tell you. Don’t worry about validator.w3.org telling you your site is missing [/p] here and there or have other errors.

    Focus on content people want to read, focus on social signals to and from your site, worry about your click through rate and how much time people spend on your site. Most importantly worry about user experience and data highlighting.

    Now you most likely think I’m talking a load of crap about now but here in The Netherlands (home to Yoast) there are two very popular and loved by Google websites.

    emerce.nl and The Next Web (Google Partner).

    Emerce have on their front page 2,326 words within H1 tags and 197 within H2 tags. Their site structure and naming of pages goes against anything you read or is suggested by Yoast yet this page ranks extremely highly in every aspect with Google. If you run their website through the
    validator.w3.org make sure you’ve a cup of tea ready to read the results!

    As I said, I’m no expert but when I start looking at companies who are getting things right with Google its seems it’s because their doing a lot of things wrong. Let’s face it, if your worrying about SEO it’s because your worrying about ranking in search engines and as Google is the only real search engine to worry about, unless you live outside of Europe and the US. Just my 2 cents but focus on your User Experience results from these “testing sites”

    #610662
    NickyCheese
    Participant

    Hey guys,

    I’ve searched the forums but haven’t found what I’m looking for. Basically my photographer client wants the image slider/carousel functionality that you find on Squarespace (i.e. http://www.bilimama.com/). That means same height for all photos with variable width in a slider that hints at the image before and after. It’s important for the client that she can include both portrait and traditional sized photos in a slider, no crop.I greatly dislike and I love Enfold, so I’m just trying to figure out how to replicate this with Enfold.

    Thanks!
    Nicky

    #610099

    In reply to: Mobile search bar

    Thanks a lot, Ismael, the mobile search is working fine.
    The best solution would be to add an ENFOLD-theme-option for a mobile serach ;)
    Best regards
    Bernd

    #609197

    Hey!

    You’re very welcome :) Glad they helped you with a solution.

    Polylang works well with the Enfold theme and definitely share any other plugins that work when you go through your search https://kriesi.at/support/topic/recommended-plugins/.

    Cheers!
    Jordan

    #609127
    Nicoletta_DUS
    Participant

    Searching for really good plugins for photographer. Especially those galleries that consider portrait and landscape formats. In most galleries you need to have same formats otherwise it dies look bad. Which one do you recommend as complement for the enfold theme?

    Best regards.

    #608684

    Hey!

    We use the previous code and it works fine. https://kriesi.at/support/topic/enfold-sub-menu-and-moving-search-to-top-bar/#post-607610

    Please copy the code directly from this forum, not from your email. Check if there are any function with the same name.

    Best regards,
    Ismael

    #608656

    In reply to: Mobile search bar

    Hey profil77!

    Thank you for using Enfold.

    The icon jumps on mouse hover. It’s because of the following code:

    .html_header_top.html_bottom_nav_header #top .main_menu ul:first-child>li:hover {
        z-index: 1000;
        position: relative;
    }

    In order to fix it, add this code:

    .html_header_top.html_bottom_nav_header #top .main_menu ul:first-child>#menu-item-search:hover {
        position: absolute;
    }

    Regards,
    Ismael

    I wasn’t able to wait for a response so I found an alternate solution. I will no longer use the Enfold dropcaps shortcode because:

    – It does not degrade gracefully (both code and first letter of the paragraph are stripped when displayed in shortcode excerpts, search and archive pages).
    – It’s extra work to insert this in every post.

    Instead I’m moving to a CSS snipet to create an automatic dropcap on every post.

    – This degrades gracefully in all excerpts (only the HTML/CSS formatting is stripped, not the letter).
    – Less work/automatic.

    The only Cons I can see are:
    – If have a post or two where I need the first letter to NOT be auto-dropcapped.
    – I now have to go and remove all dropcap shortcodes from my existing posts. :/

    I thought I’d share this for anyone else who runs into this issue. Consider not using the dropcaps shortcode if you want the first letter of your post or page to not be stripped in excerpts (which are often used on Archive and Search Results pages); or if you use Enfold shortcodes that display excerpts. You might instead consider using a CSS trick to apply dropcaps site-wide and avoid this issue (adjusting the CSS below to target elements appropriately for your desired result):

    /*-- auto-dropcap the first paragraph element of entry-content in standard editor --*/
    .entry-content > p:nth-of-type(1):first-letter {
    display: block;
    float: left;
    font-size: 38px;
    line-height: 32px;
    margin: 4px 8px 0 0;
    }

    Example

    Jojo_W
    Participant

    Hello.
    I have a 3 column footer.
    First column: Enfold Child Facebook Likebox
    Second Column: Search box
    Third: Text

    The boxes for the Facebook Like Box and the Search box do not resize correctly when the screen size changes.
    Same issue on Safari, Chrome and Firefox. http://yennycocqsculpture.com/

    Please advise.
    Thank you!

    #607610
    pixelist
    Participant

    Hi Guys

    I’m trying to move the search form to the top bar (where the telephone number currently sits on the right.

    I’ve tried this from other posts

    add_filter( 'avia_meta_header', 'avia_append_search_nav_mod');
    
    function avia_append_search_nav_mod()
    {
        ob_start();
        get_search_form();
        $form =  htmlspecialchars(ob_get_clean()) ;
    
        $items = '<div id="menu-item-search" class="menu-item-search-mod menu-item menu-item-search-dropdown">
            <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
               </div>';
    
        echo $items;
    }

    it produces a white-out page ?

    Has this solution been updated? is there an alternative?

    Also I need to target the sub menu so that the blue background (of the sub menu) is .8 transparent. I have used advanced styling for the colour and hover state (but it won’t accept rgba) and css for the current page state.

    Cheers

    Steve

    Hi Jurgen!

    You can use either SearchWP or Relevanssi plugins to have more advanced search on your site.

    Then please add following code to Quick CSS in Enfold theme options under General Styling tab

    .search .sidebar { display: none !important; }
    .search .content { width: 100% !important; border: none !important; }

    Regards,
    Yigit

    • This reply was modified 9 years, 11 months ago by Yigit.
    cryscryb
    Participant

    I’ve been using the Advanced Except plugin to make the enfold dropcaps shortcode work in search results and archive page excepts (WordPress filters-off/strips shortcodes in excerpts). So far it works great, but I’ve now run into a situation where I need dropcaps to appear in the Magazine element excerpts. Is there a functions.php way to enable the Enfold dropcaps globally (prevent shortcode stripping in other shortcode excerpts)? If not, can you advise how to fix this in magazine element excerpts? It would be greatly appreciated! :)

    Many thanks in advance!

    example

    • This topic was modified 9 years, 11 months ago by cryscryb.
    #607099

    Topic: Social Icons in Widget

    in forum Enfold
    justinmichau
    Participant

    Hello. Looking to place my social icons in a sidebar widget. I’ve searched and found this thread (https://kriesi.at/support/topic/enfold-social-media-icons-in-widget/) which is how i got the ball rolling. I’ve tried multiple things but can still only show the first icon. Any help is appreciated. Site is: http://www.inglenookblog.com

    tcoach84
    Participant

    Hey Guys

    I hope you can help me, i have searched the internet all over. I have made a woocommerce setup in the enfold theme.
    I have made some variations with shoe size. But when i mark one of the shoes i get this message: Sorry, this product is not available. Please choose another combination.

    What to do? Please help.

    #606762

    Hello Yigit,
    thank you for answering quick. Though I speak English rather well, I just don’t know vocabulary like “Changelog” – not even the German equivalent if there is any. I would never have searched for this word to find the documentation of the update ;-)
    —–
    Concerning issue 2, I am not sure wether I understood properly:
    I thought I have first to update the Enfold theme, and then to update the Enfold Cild theme.

    Last time I did that all the modifications were gone.
    This is what I want to avoid.
    Now:
    I downloaded everything, even the MYSQL-file, via FTP to my own computer.
    BUT I do not know which files I have to upload again to save my modifications (I only modified things under “options”).
    These are probably the “modified files” you are writing of.
    If yes, where do I find those?

    And maybe there is a more elegant way to do all this?

    Regards, Kornelia

    cjbuilt
    Participant

    I have purchased the Advanced Taxonomy Terms Order plugin as has been advised in these forums so that I can manually change the display order of the categories in a portfolio grid. I have searched the forum and not found an answer.

    Here is the problem that I am running into: When I switch the Auto-Sort ON, it sorts my portfolio categories perfectly, but it breaks all of my Latest News widgets and Blog Posts content elements. If I switch it OFF, then the manual sorting does not take effect.

    In the documentation for the plugin I find these instructions:

    To retrieve the terms per customized sorting, you must use the term_order on the orderby parameter:

    gv = array(
                    'orderby'       =>  'term_order',
                    'hide_empty'    => false
                    );
    get_terms('category', $argv);

    So far I have been unsuccessful in implementing this. I tried using the information found here: http://kriesi.at/documentation/enfold/change-the-sort-order-of-portfolio-elements/ by substituting ‘term_order’ in the code, but that changes the order that the individual items appear, not the order of the portfolio categories.

    Please help me figure out how to get this working.

    • This topic was modified 9 years, 11 months ago by cjbuilt.
    #606164

    Hey bitojoe!

    You can use either SearchWP or Relevanssi plugins to have more advanced search on your site.

    Best regards,
    Yigit

    #606157
    bitojoe
    Participant

    Is it possible to customized the enfold search bar to search a custom tag or taxonomy instead of searching through everything on the site? If so, how?

    Thanks!

    Hello!

    Thank you for your quick response. I add

    Here is my functions.php in enfold-child, but nothing has changed in Featured Image section, still missing the checkbox. Maybe I did something wrong?

    <?php
    
    /*
    * Add your own functions here. You can also copy some of the theme functions into this file. 
    * WordPress will use those functions instead of the original functions then.
    */
    add_filter( 'admin_post_thumbnail_html', 'mmx_cpt_featured_image_meta');
    function mmx_cpt_featured_image_meta( $content ) {
    	global $post, $post_type;
    	if( $post_type == "Projects" ) {
    		$text = __( "Don't display image on single post", 'avia_framework' );
    		$id = '_avia_hide_featured_image';
    		$value = esc_attr( get_post_meta( $post->ID, $id, true ) );
    		$selected = !empty($value) ? "checked='checked'" : "";
    		$label = '</div><div class="av-meta-extra-inside"><label for="' . $id . '" class="selectit"><input '.$selected.' name="' . $id . '" type="checkbox" id="' . $id . '" value="1" > ' . $text .'</label>';
    		return $content .= $label;
    	}
    	return $content;
    }

    And here is the functions.php from enfold-folder. I already did some configuration here and they appear in wp-admin. Should I add your code here or what should I do?

    <?php
    function howdy_message($translated_text, $text, $domain) {
        $new_message = str_replace('Howdy', 'Welcome', $text);
        return $new_message;
    }
    
    add_filter('gettext', 'howdy_message', 10, 3);
    
    add_action('init', 'my_custom_init');
    	function my_custom_init() {
    	add_post_type_support( 'news', 'publicize' );
    }
    
    global $avia_config;
    
    /*
     * if you run a child theme and dont want to load the default functions.php file
     * set the global var below in you childthemes function.php to true:
     *
     * example: global $avia_config; $avia_config['use_child_theme_functions_only'] = true;
     * The default functions.php file will then no longer be loaded. You need to make sure then
     * to include framework and functions that you want to use by yourself. 
     *
     * This is only recommended for advanced users
     */
    
    if(isset($avia_config['use_child_theme_functions_only'])) return;
    
    /*
     * create a global var which stores the ids of all posts which are displayed on the current page. It will help us to filter duplicate posts
     */
    $avia_config['posts_on_current_page'] = array();
    
    /*
     * wpml multi site config file
     * needs to be loaded before the framework
     */
    
    require_once( 'config-wpml/config.php' );
    
    /*
     * These are the available color sets in your backend.
     * If more sets are added users will be able to create additional color schemes for certain areas
     *
     * The array key has to be the class name, the value is only used as tab heading on the styling page
     */
    
    $avia_config['color_sets'] = array(
        'header_color'      => 'Logo Area',
        'main_color'        => 'Main Content',
        'alternate_color'   => 'Alternate Content',
        'footer_color'      => 'Footer',
        'socket_color'      => 'Socket'
     );
     
     
    
    /*
     * add support for responsive mega menus
     */
     
    add_theme_support('avia_mega_menu');
    
    /*
     * deactivates the default mega menu and allows us to pass individual menu walkers when calling a menu
     */
     
    add_filter('avia_mega_menu_walker', '__return_false');
    
    /*
     * adds support for the new avia sidebar manager
     */
     
    add_theme_support('avia_sidebar_manager');
    
    /*
     * Filters for post formats etc
     */
    //add_theme_support('avia_queryfilter');
    
    /*
     * Register theme text domain
     */
    if(!function_exists('avia_lang_setup'))
    {
    	add_action('after_setup_theme', 'avia_lang_setup');
    	
    	function avia_lang_setup()
    	{
    		$lang = apply_filters('ava_theme_textdomain_path', get_template_directory()  . '/lang');
    		load_theme_textdomain('avia_framework', $lang);
    	}
    	
    	avia_lang_setup();
    }
    
    ##################################################################
    # AVIA FRAMEWORK by Kriesi
    
    # this include calls a file that automatically includes all
    # the files within the folder framework and therefore makes
    # all functions and classes available for later use
    
    require_once( 'framework/avia_framework.php' );
    
    ##################################################################
    
    /*
     * Register additional image thumbnail sizes
     * Those thumbnails are generated on image upload!
     *
     * If the size of an array was changed after an image was uploaded you either need to re-upload the image
     * or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
     */
    
    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
    
    $avia_config['selectableImgSize'] = array(
    	'square' 				=> __('Square','avia_framework'),
    	'featured'  			=> __('Featured Thin','avia_framework'),
    	'featured_large'  		=> __('Featured Large','avia_framework'),
    	'portfolio' 			=> __('Portfolio','avia_framework'),
    	'gallery' 				=> __('Gallery','avia_framework'),
    	'entry_with_sidebar' 	=> __('Entry with Sidebar','avia_framework'),
    	'entry_without_sidebar'	=> __('Entry without Sidebar','avia_framework'),
    	'extra_large' 			=> __('Fullscreen Sections/Sliders','avia_framework'),
    	
    );
    
    avia_backend_add_thumbnail_size($avia_config);
    
    if ( ! isset( $content_width ) ) $content_width = $avia_config['imgSize']['featured']['width'];
    
    /*
     * register the layout classes
     *
     */
    
    $avia_config['layout']['fullsize'] 		= array('content' => 'av-content-full alpha', 'sidebar' => 'hidden', 	  	  'meta' => '','entry' => '');
    $avia_config['layout']['sidebar_left'] 	= array('content' => 'av-content-small', 	  'sidebar' => 'alpha' ,'meta' => 'alpha', 'entry' => '');
    $avia_config['layout']['sidebar_right'] = array('content' => 'av-content-small alpha','sidebar' => 'alpha', 'meta' => 'alpha', 'entry' => 'alpha');
    
    /*
     * These are some of the font icons used in the theme, defined by the entypo icon font. the font files are included by the new aviaBuilder
     * common icons are stored here for easy retrieval
     */
     
     $avia_config['font_icons'] = apply_filters('avf_default_icons', array(
     
        //post formats +  types
        'standard' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue836'),
        'link'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue822'),
        'image'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80f'),
        'audio'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue801'),
        'quote'   		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue833'),
        'gallery'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80e'),
        'video'   		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80d'),
        'portfolio'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue849'),
        'product'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
        				
        //social		
        'behance' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue915'),
    	'dribbble' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fe'),
    	'facebook' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f3'),
    	'flickr' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8ed'),
    	'gplus' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f6'),
    	'linkedin' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fc'),
    	'instagram' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue909'),
    	'pinterest' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f8'),
    	'skype' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue90d'),
    	'tumblr' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fa'),
    	'twitter' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f1'),
    	'vimeo' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8ef'),
    	'rss' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue853'),  
    	'youtube'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue921'),  
    	'xing'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue923'),  
    	'soundcloud'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue913'),  
    	'five_100_px'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue91d'),  
    	'vk'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue926'),  
    	'reddit'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue927'),  
    	'digg'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue928'),  
    	'delicious'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue929'),  
    	'mail' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue805'),
    					
    	//woocomemrce    
    	'cart' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
    	'details'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue84b'),
    
    	//bbpress    
    	'supersticky'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue808'),
    	'sticky'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue809'),
    	'one_voice'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue83b'),
    	'multi_voice'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue83c'),
    	'closed'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue824'),
    	'sticky_closed' => array( 'font' =>'entypo-fontello', 'icon' => 'ue808\ue824'),
    	'supersticky_closed' => array( 'font' =>'entypo-fontello', 'icon' => 'ue809\ue824'),
    					
    	//navigation, slider & controls
    	'play' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),
    	'pause'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue899'),
    	'next'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue879'),
        'prev'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue878'),
        'next_big'  	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue87d'),
        'prev_big'  	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue87c'),
    	'close'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue814'),
    	'reload'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue891'),
    	'mobile_menu'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8a5'),
    					
    	//image hover overlays		
        'ov_external'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue832'),
        'ov_image'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue869'),
        'ov_video'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),
        
    					
    	//misc			
        'search'  		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue803'),
        'info'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue81e'),
    	'clipboard' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8d1'),
    	'scrolltop' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue876'),
    	'scrolldown' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue877'),
    	'bitcoin' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue92a'),
    
    ));
    
    add_theme_support( 'automatic-feed-links' );
    
    ##################################################################
    # Frontend Stuff necessary for the theme:
    ##################################################################
    
    /*
     * Register frontend javascripts:
     */
    if(!function_exists('avia_register_frontend_scripts'))
    {
    	if(!is_admin()){
    		add_action('wp_enqueue_scripts', 'avia_register_frontend_scripts');
    	}
    
    	function avia_register_frontend_scripts()
    	{
    		$template_url = get_template_directory_uri();
    		$child_theme_url = get_stylesheet_directory_uri();
    
    		//register js
    		wp_enqueue_script( 'avia-compat', $template_url.'/js/avia-compat.js', array('jquery'), 2, false ); //needs to be loaded at the top to prevent bugs
    		wp_enqueue_script( 'avia-default', $template_url.'/js/avia.js', array('jquery'), 3, true );
    		wp_enqueue_script( 'avia-shortcodes', $template_url.'/js/shortcodes.js', array('jquery'), 3, true );
    		wp_enqueue_script( 'avia-popup',  $template_url.'/js/aviapopup/jquery.magnific-popup.min.js', array('jquery'), 2, true);
    
    		wp_enqueue_script( 'jquery' );
    		wp_enqueue_script( 'wp-mediaelement' );
    
    		if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }
    
    		//register styles
    		wp_register_style( 'avia-style' ,  $child_theme_url."/style.css", array(), 		'2', 'all' ); //register default style.css file. only include in childthemes. has no purpose in main theme
    		wp_register_style( 'avia-custom',  $template_url."/css/custom.css", array(), 	'2', 'all' );
    																						 
    		wp_enqueue_style( 'avia-grid' ,   $template_url."/css/grid.css", array(), 		'2', 'all' );
    		wp_enqueue_style( 'avia-base' ,   $template_url."/css/base.css", array(), 		'2', 'all' );
    		wp_enqueue_style( 'avia-layout',  $template_url."/css/layout.css", array(), 	'2', 'all' );
    		wp_enqueue_style( 'avia-scs',     $template_url."/css/shortcodes.css", array(), '2', 'all' );
    		wp_enqueue_style( 'avia-popup-css', $template_url."/js/aviapopup/magnific-popup.css", array(), '1', 'screen' );
    		wp_enqueue_style( 'avia-media'  , $template_url."/js/mediaelement/skin-1/mediaelementplayer.css", array(), '1', 'screen' );
    		wp_enqueue_style( 'avia-print' ,  $template_url."/css/print.css", array(), '1', 'print' );
    		
    		
    		if ( is_rtl() ) {
    			wp_enqueue_style(  'avia-rtl',  $template_url."/css/rtl.css", array(), '1', 'all' );
    		}
    		
    
            global $avia;
    		$safe_name = avia_backend_safe_string($avia->base_data['prefix']);
    		$safe_name = apply_filters('avf_dynamic_stylesheet_filename', $safe_name);
    
            if( get_option('avia_stylesheet_exists'.$safe_name) == 'true' )
            {
                $avia_upload_dir = wp_upload_dir();
                if(is_ssl()) $avia_upload_dir['baseurl'] = str_replace("http://", "https://", $avia_upload_dir['baseurl']);
    
                $avia_dyn_stylesheet_url = $avia_upload_dir['baseurl'] . '/dynamic_avia/'.$safe_name.'.css';
    			$version_number = get_option('avia_stylesheet_dynamic_version'.$safe_name);
    			if(empty($version_number)) $version_number = '1';
                
                wp_enqueue_style( 'avia-dynamic', $avia_dyn_stylesheet_url, array(), $version_number, 'all' );
            }
    
    		wp_enqueue_style( 'avia-custom');
    
    		if($child_theme_url !=  $template_url)
    		{
    			wp_enqueue_style( 'avia-style');
    		}
    
    	}
    }
    
    if(!function_exists('avia_remove_default_video_styling'))
    {
    	if(!is_admin()){
    		add_action('wp_footer', 'avia_remove_default_video_styling', 1);
    	}
    
    	function avia_remove_default_video_styling()
    	{
    		//remove default style for videos
    		wp_dequeue_style( 'mediaelement' );
    		// wp_dequeue_script( 'wp-mediaelement' );
    		// wp_dequeue_style( 'wp-mediaelement' );
    	}
    }
    
    /*
     * Activate native wordpress navigation menu and register a menu location
     */
    if(!function_exists('avia_nav_menus'))
    {
    	function avia_nav_menus()
    	{
    		global $avia_config, $wp_customize;
    
    		add_theme_support('nav_menus');
    		
    		foreach($avia_config['nav_menus'] as $key => $value)
    		{
    			//wp-admin\customize.php does not support html code in the menu description - thus we need to strip it
    			$name = (!empty($value['plain']) && !empty($wp_customize)) ? $value['plain'] : $value['html'];
    			register_nav_menu($key, THEMENAME.' '.$name);
    		}
    	}
    
    	$avia_config['nav_menus'] = array(	'avia' => array('html' => __('Main Menu', 'avia_framework')),
    										'avia2' => array(
    													'html' => __('Secondary Menu <br/><small>(Will be displayed if you selected a header layout that supports a submenu <a target="_blank" href="'.admin_url('?page=avia#goto_header').'">here</a>)</small>', 'avia_framework'),
    													'plain'=> __('Secondary Menu - will be displayed if you selected a header layout that supports a submenu', 'avia_framework')),
    										'avia3' => array(
    													'html' => __('Footer Menu <br/><small>(no dropdowns)</small>', 'avia_framework'),
    													'plain'=> __('Footer Menu (no dropdowns)', 'avia_framework'))
    									);
    
    	avia_nav_menus(); //call the function immediatly to activate
    }
    
    /*
     *  load some frontend functions in folder include:
     */
    
    require_once( 'includes/admin/register-portfolio.php' );		// register custom post types for portfolio entries
    require_once( 'includes/admin/register-widget-area.php' );		// register sidebar widgets for the sidebar and footer
    require_once( 'includes/loop-comments.php' );					// necessary to display the comments properly
    require_once( 'includes/helper-template-logic.php' ); 			// holds the template logic so the theme knows which tempaltes to use
    require_once( 'includes/helper-social-media.php' ); 			// holds some helper functions necessary for twitter and facebook buttons
    require_once( 'includes/helper-post-format.php' ); 				// holds actions and filter necessary for post formats
    require_once( 'includes/helper-markup.php' ); 					// holds the markup logic (schema.org and html5)
    
    if(current_theme_supports('avia_conditionals_for_mega_menu'))
    {
    	require_once( 'includes/helper-conditional-megamenu.php' );  // holds the walker for the responsive mega menu
    }
    
    require_once( 'includes/helper-responsive-megamenu.php' ); 		// holds the walker for the responsive mega menu
    
    //adds the plugin initalization scripts that add styles and functions
    
    if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider plugin
    
    require_once( 'config-bbpress/config.php' );					//compatibility with  bbpress forum plugin
    require_once( 'config-templatebuilder/config.php' );			//templatebuilder plugin
    require_once( 'config-gravityforms/config.php' );				//compatibility with gravityforms plugin
    require_once( 'config-woocommerce/config.php' );				//compatibility with woocommerce plugin
    require_once( 'config-wordpress-seo/config.php' );				//compatibility with Yoast WordPress SEO plugin
    
    if(!current_theme_supports('deactivate_tribe_events_calendar'))
    {
    	require_once( 'config-events-calendar/config.php' );		//compatibility with the Events Calendar plugin
    }
    
    if(is_admin())
    {
    	require_once( 'includes/admin/helper-compat-update.php');	// include helper functions for new versions
    }
    
    /*
     *  dynamic styles for front and backend
     */
    if(!function_exists('avia_custom_styles'))
    {
    	function avia_custom_styles()
    	{
    		require_once( 'includes/admin/register-dynamic-styles.php' );	// register the styles for dynamic frontend styling
    		avia_prepare_dynamic_styles();
    	}
    
    	add_action('init', 'avia_custom_styles', 20);
    	add_action('admin_init', 'avia_custom_styles', 20);
    }
    
    /*
     *  activate framework widgets
     */
    if(!function_exists('avia_register_avia_widgets'))
    {
    	function avia_register_avia_widgets()
    	{
    		register_widget( 'avia_newsbox' );
    		register_widget( 'avia_portfoliobox' );
    		register_widget( 'avia_socialcount' );
    		register_widget( 'avia_combo_widget' );
    		register_widget( 'avia_partner_widget' );
    		register_widget( 'avia_google_maps' );
    		register_widget( 'avia_fb_likebox' );
    		register_widget( 'avia_instagram_widget' );
    		
    	}
    
    	avia_register_avia_widgets(); //call the function immediatly to activate
    }
    
    /*
     *  add post format options
     */
    add_theme_support( 'post-formats', array('link', 'quote', 'gallery','video','image','audio' ) );
    
    /*
     *  Remove the default shortcode function, we got new ones that are better ;)
     */
    add_theme_support( 'avia-disable-default-shortcodes', true);
    
    /*
     * compat mode for easier theme switching from one avia framework theme to another
     */
    add_theme_support( 'avia_post_meta_compat');
    
    /*
     * make sure that enfold widgets dont use the old slideshow parameter in widgets, but default post thumbnails
     */
    add_theme_support('force-post-thumbnails-in-widget');
    
    /*
     *  register custom functions that are not related to the framework but necessary for the theme to run
     */
    
    require_once( 'functions-enfold.php');
    
    /*
     * add option to edit elements via css class
     */
    // add_theme_support('avia_template_builder_custom_css');
    

    Best regards,
    Tom

Viewing 30 results - 4,711 through 4,740 (of 7,495 total)