Viewing 30 results - 3,901 through 3,930 (of 10,099 total)
  • Author
    Search Results
  • #804681
    likegluelikecrew
    Participant

    Hi, I’m creating a Shop page for my t shirt company website that links to a online shopping cart company that I partnered with. How I’m currently displaying the products is I used a half page layout element and put a text block header on top, with a gallery media element below it that displays pictures of the shirts, a text block description underneath that, with a Buy Now button at the bottom that links to the online shopping cart.

    My problem is the thumbnail images for my gallery are showing up very blurry. Is this just how it usually is or is there some way I can fix it? Can I make my own 80×80 pixel thumbnails in Photoshop and somehow use them instead?

    #804674

    In reply to: Enfold, image quality

    I’m experiencing the same issue with image quality being noticeably reduced in the thumbnails with pixelation and artifacts. The images will render fine in the WP design interface and the Media Library, but render poorly on the live webpage. Any solutions or suggestions? I’d go SVG but appears you can’t upload that format.

    #804431
    Luisgasser
    Participant

    Hi,
    after updating enfold to vs. 4.0.7 and Woocommerece to vs. 3.0.7 i got this two error messages in my single product site:

    Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /var/home/reschenhof_at/www/destillerie/Robert/wp-content/themes/enfold-child/functions.php on line 9

    Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /var/home/reschenhof_at/www/destillerie/Robert/wp-content/themes/enfold-child/functions.php on line 9

    Thank you for helping!

    #804135

    Hi!

    That has been perfectly clear. Thank you :)

    Magazine element you are using is thumbnail images, which is 80x80px by default. Magazine featured image size is by default 710x375px, which is the size of featured image of the first post that shows up when you choose to display the first post highlighted.

    If you adjust thumbnail image size, they will be affected.

    We would recommend you to install a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and then copy wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine.php file to your child theme – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/ and then open magazine.php file on your child theme and find following line

    
    $image	 		= get_the_post_thumbnail( $entry->ID, $this->atts['image_size'][$style] );
    

    and change it to following

    
    $image	 		= get_the_post_thumbnail( $entry->ID, 'magazine');
    

    After that, changes you apply on magazine image size will be applied on thumbnails of small magazine posts as well :)

    Cheers!
    Yigit

    goldglobe
    Participant

    Hi Enfold team,

    l like your theme very very much. Thank you for your great work. You got my 5 stars reviews. ^_^

    Recently, I tried to build up an e-Commerce website with Enfold + Woocommerce. I set up categories and sub-categories for my shop. I found that when I put a thumbnail image in each category. When I click on the deep product page, the thumbnail image show on the top of the products page. I don’t want to show the image of categories on the shop page.

    Would you please help me for this? How can I remove the thumbnails image in each product shop page? ^_^
    Thank you very much in advance.

    Best Regards,
    Nicole

    • This topic was modified 8 years, 10 months ago by goldglobe.
    #804081

    Hi,
    just one more question. I like the result i had for the magazine element images, so i dont want to do anything that can change it. The only thing i want to ask is what is the normal dimension of thumbnails (cause i dont remember what is was originally); infact when i insert a new media, it give me different option for size, and the thumbnail size is very big. And, if i re-establish it as it was originally, does it change the size of images in the magazine element?

    Sorry if i keep answering but now i solved my original problem but i have plugins that i dont know if i need, and a strange dimension of thumbnail size that i dont know if i can change.

    Ask back if i hasnt been clear, and thank you!

    Thanks Mike. That’s definitely moving in the right direction. I want the thumbnails evenly spaced, but at present they’re aligned to the left of the page. Can you distribute them evenly in their container? Thank you!

    #803894

    Hey!

    Please adjust “Dimensione miniatura” image sizes and then regenerate thumbnails :)

    Regards,
    Yigit

    #803884

    ok thank you for your aswer. Can you please tell me the dimesions of thumbnail before you modify that (or what is the original dimension of thumbnail in enfold). because now i ve 1420 x 750 but i want to take not of the original dimension. Thanks

    #803848

    Hi,

    You can change custom CSS code to following one

    .av-magazine-thumbnail {
        width: 285px;
        height: auto;
    }

    Regarding cut off images, we would recommend you to upload them in proportional sizes or to change image size again using the plugin. In that case, please do not forget to regenerate thumbnails after saving the changes :)

    Best regards,
    Yigit

    #803559

    Hello Mike, yes i did, on my child theme – woocommerce – single-product — product-image.php the versions says 3.0.2 same as
    product-thumbnails.php

    #803448

    Topic: Blog Slider

    in forum Enfold
    michellerunge
    Participant

    Hi! I would like some help to customize a little bit my blog slider, can you help me?

    Post Slider Border and Hover: I would like to have a border on the featured image, each category would have a diffetend border color. I would like to change the Hover color too, the default is in black, one color for each category showing the post title. You can See the layout I imagined here: https://drive.google.com/file/d/0B9Cl0WGu5B3BRXFLeEVtZUdpNE0/view?usp=sharing

    Post Slider Arrows: The default layout shows the arrows on the top of the images, this does not work for me because I need the arrows on left and right sides of the images. You can See the layout I imagined here: https://drive.google.com/file/d/0B9Cl0WGu5B3BRXFLeEVtZUdpNE0/view?usp=sharing

    Can you help me to add a border and change the hover color to blog thumbnail ? And how can I change the arrows to this position and customization?

    On private I am sending the user and password!

    Thanks in advance!

    #803412

    Hello Rikard, woocommerce pluging says: “my theme (Enfold child) has copies not actuallized from some files of woocommerce
    Tu tema (Enfold Child) contiene copias no actualizadas de algunos archivos de plantilla WooCommerce

    The version 3.0.0 of enfold-child/woocommerce/single-product/product-image.php its obsolet, the version its 3.0.2
    The version 3.0.0 of enfold-child/woocommerce/single-product/product-thumbnails.php its obsolet, the version its 3.0.2

    La version 3.0.0 de enfold-child/woocommerce/single-product/product-image.php está obsoleta. La versión del núcleo es la 3.0.2,
    La version 3.0.0 de enfold-child/woocommerce/single-product/product-thumbnails.php está obsoleta. La versión del núcleo es la 3.0.2

    How i can actualize this? where i get the right version from?
    thanks

    #803343
    hectortarifa
    Participant

    Hello Im having this issue, can you let me know how to update them? thanks

    
    ### WordPress Environment ###
    
    Home URL: http://shop.surfcentertarifa.com
    Site URL: http://shop.surfcentertarifa.com
    WC Version: 3.0.7
    Log Directory Writable: ✔
    WP Version: 4.7.5
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: es_ES
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: ❌ 5.4.16 - Recomendamos como mínimo la versión PHP 5.6. Ver: Cómo actualizar tu versión de PHP
    PHP Post Max Size: 1 GB
    PHP Time Limit: 999999
    PHP Max Input Vars: 100000
    cURL Version: 7.29.0
    NSS/3.21 Basic ECC
    
    SUHOSIN Installed: –
    Max Upload Size: 1 GB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Tu servidor no tiene la clase SoapClient habilitada - puede que algunos plugins de puerta de enlace que utilizan SOAP no funcionen como se espera.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.0.7
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Tu tienda no está usando HTTPS. Aprende más sobre HTTPS y los certificados SSL.
    Hide errors from visitors: ✔
    
    ### Active Plugins (10) ###
    
    Instagram Feed: por Smash Balloon – 1.4.9
    Jetpack by WordPress.com: por Automattic – 4.9
    Redsys WooCommerce: por Redsys – 2.8.4
    Remove Query Strings From Static Resources: por Speed Up My Website
    Your WP Expert – 1.4
    
    SEO Friendly Images: por Vladimir Prelovac – 3.0.5
    W3 Total Cache: por Frederick Townes – 0.9.5.4
    WooCommerce Dynamic Gallery LITE: por a3rev Software – 2.3.5
    WooCommerce: por Automattic – 3.0.7
    Yoast SEO: por Equipo Yoast – 4.7.1
    WP Clean Up: por BoLiQuan – 1.2.3
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: downloadable (downloadable)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    virtual (virtual)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Base de la tienda: #506 - /shop/
    Carrito: #507 - /cart/
    Finalizar compra: #601 - /checkout/
    Mi cuenta: #602 - /my-account/
    
    ### Theme ###
    
    Name: Enfold Child
    Version: 1.0.0
    Author URL: http://shop.surfcentertarifa.com
    Child Theme: ✔
    
    Parent Theme Name: Enfold
    Parent Theme Version: 4.0.7
    Parent Theme Author URL: http://kriesi.at
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: La  version 3.0.0 de enfold-child/woocommerce/single-product/product-image.php está obsoleta. La versión del núcleo es la 3.0.2
    La  version 3.0.0 de enfold-child/woocommerce/single-product/product-thumbnails.php está obsoleta. La versión del núcleo es la 3.0.2
    
    Outdated Templates: ❌Aprende cómo actualizar
    
    • This topic was modified 8 years, 10 months ago by hectortarifa.
    #803332

    i also have this code in quick css: `.av-magazine-thumbnail {
    width: 150px;
    min-height: 150px;
    }
    .av-magazine-entry {
    min-height: 25px;
    }
    .av-magazine-content-wrap {
    min-height: 25px;
    }
    .av-magazine .av-magazine-content-wrap .av-magazine-title {
    font-size: 17px;
    }
    `
    i don’t know if i have to remove it or not.

    #803330

    Hi,
    i’ve tried to add this code and it makes me increase the sizes of images but if you look at it you can see that images does not fit the square (of the magazine element) in which they are. So the only idea i have is to remove the squares of the magazine element structure. Is it possible? If not, please help me to re-set thumbnail and magazine sizes as original, and i ll try an other solution to show posts on homepage. i’ve attached 2 links to images to make you understand better.

    Thanks for your help

    #803230
    perfectword
    Participant

    Hi there,
    So, right now I am doing a redesign of an old site, using the enfold theme. I have posts from the old site and posts fresh to the new site. When I add a brand new post, I create a featured image to use and it shows on the post page and the archive page. Beautiful.
    However, all the older posts do not have featured images–they had the images inline in the post content. I would leave them the way they are, but the posts have no thumbnails, both in the Popular posts widget and the search. To get those, it seems I have to add featured images to the posts. But the images in these posts just look ugly as featured images. There’s a checkbox on the Edit Post page that says “Don’t display image on single post”. That works well to hide the featured image on the post page. BUT, the ugly image still shows on the Archive page.
    So, my question is, is there any way to hide the featured image, on the Archive page, for specific posts? I have seen ways to remove allthe featured images, but I like them on the newer posts. It’s only for specific historical posts that I want to hide it.
    Any help would be greatly appreciated.
    P.S., I do know how to find the ID number of a post, if that helps.

    #803209

    Hi,

    Sorry, it should have been “thumbnail” sizes. I have corrected it and regenerated thumbnails. Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .av-magazine-thumbnail {
        width: 285px;
        height: 285px;
    }

    and adjust as needed

    Best regards,
    Yigit

    #803053

    Hallo ich habe den Code nun wieder eingebaut.
    Problem: Bild bleibt bei 358 x 368. (soll 370 x 370)
    Die Lightbox geht nicht auf.
    Das Single Produkt Bild wird im gleichen Fenster geöffnet, der Hintergrund des Bildes ist schwarz.
    Das Bild wird in der Größe 370 x 370 angezeigt.
    Ich habe den Code rausgenommen, da die Seite schon läuft.
    Danke für die Rückmeldung.
    Grüße Diana

    Diese Seite hat das gleiche Problem:

    ————————————————
    global $woocommerce;

    if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {

    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );

    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    return $img;
    }

    function avia_woocommerce_post_thumbnail_description($img, $post_id){
    return $img;
    }

    }

    #802793
    bitojoe
    Participant

    I’m using a masonry grid to display some products, but I would like to change the information displayed with each product. Where can I edit what is displayed?

    For example, rather than displaying price we would like to display product variations.

    When I went to the avia-shortcodes/av-helper-masonry.php file, I notice it’s using some functions such as get_product( $id ), get_price_html(), avia_woocommerce_gallery_first_thumbnail(), etc. Where are these coming from?

    We’d like to create a function or take a pre-existing function like get_variation_id() and have it display with our products. Where would I go to do that?

    • This topic was modified 8 years, 10 months ago by bitojoe.
    #802203

    Hi,

    Please try the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the magazine image size (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Best regards,
    Yigit

    #801794

    Hey phausner,

    Follow the answers for your questions:

    1.
    – Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    – Go to Settings > Media
    – Change the thumbail image size (increase its width / height).
    – Regenerate the thumbnails by clicking the button at the bottom.

    2. This isn`t possible with our theme by default, but you can hire some freenlancer to do this.

    3. I didn`t understand your question, may you explain it again?

    4. They`re appearing in the single post at bottom.

    Best regards,
    John Torvik

    #801630
    michellerunge
    Participant

    Hi!
    I have created a topic last week with some questions, but since I didn`t got answer yet and I have 3 new questions I decided to put it all in 1 topic.

    Before I bought the theme I sent you guys an email, a few months ago, with some customization questions, you sent me a reply saying you can help me with that. That is why I bought the theme =)

    It would be lovely if you are able to help me now, since I have already started biulding my website!

    1.1 – Post Slider Border and Hover: Your PostSlider does not have many options… I would like to have a border on the featured image, each category would have a diffetend border color. I would like to change the Hover color too, the default is in black, one color for each category showing the post title. You can See the layout I imagined here: https://drive.google.com/file/d/0B9Cl0WGu5B3BRXFLeEVtZUdpNE0/view?usp=sharing
    Can you help me to add a border and change the hover color to blog thumbnail ?

    1.2- Post Slider Arrows: The default layout shows the arrows on the top of the images, this does not work for me because I need the arrows on left and right sides of the images. You can See the layout I imagined here: https://drive.google.com/file/d/0B9Cl0WGu5B3BRXFLeEVtZUdpNE0/view?usp=sharing
    How can I change the arrows to this position and customization?

    2- Blog Exerpt: In one moment, using the Post slider I will use it with exerpt. But I would like to have this exerpt in a colorfull background. Like This: https://drive.google.com/file/d/0B9Cl0WGu5B3Bc3p6M1lmOV9zZ2c/view?usp=sharing How can I do that?

    3 – Masonry Portfolio: I am using the masonry gallery to display my portfolio. I just want to change the hover color and size, and to display a small subtitle under the title. Can you help me to do that? The Layout I imagined is this: https://drive.google.com/file/d/0B9Cl0WGu5B3BcGlXSkRSRkNmYnc/view?usp=sharing

    4 – Image hover Circle: I have some images that are not circles but I want a hover on a circle format. It would be the normal circle hover effect you already have, but in a different shape image. I`ve uploaded a image showing my layout: https://drive.google.com/file/d/0B9Cl0WGu5B3BaXF3cjZITDNURGc/view?usp=sharing
    Is it possible to do that?

    5 – Menu: I have a lot of things on my menu, and this is making the items go on top of the logo. Like This: https://drive.google.com/file/d/0B9Cl0WGu5B3BNWlkdEdRdjZIR0E/view?usp=sharing
    I couldn`t find an option to reduce the space beetwen the menu items… Can you tell me how I should do it?

    I am sending you my website informations on private content, so you can check all you want . =)

    Thanks in advance for your help!

    #801629
    viaggiareverde
    Participant

    Hi,
    I need to increase the size of the images in the magazine element. I found other posts in which was told to go inside the function.php file, modify the size, save, and use a plugin such as regenerate thumbnails. So I did it (also with an other plugin verified for my WP version) but nothing changed. Can anyone help me?

    Thanks

    #801434

    Hello i need your help again, ive done this with css code and here is how it show image http://prntscr.com/fdq4qw

    Its because simple-image-sizes . Which option shall i choose for increasing image size on the plugin: thumbnail or widget?
    Thanks

    bsodit
    Participant

    hello,
    enfold is awsome ! thank tou for your job
    i have 2 little problems with woocommerce :

    1 – my images images products are blured

    i try a lot a things for find the good dimensions, but it’s not perfect, it’s still a little blured ( i do regen thumbmail after each setting )
    there are my settings :

    image catalog : 300 x 300
    image product detail : 400 x 400
    thumbnail product : 250 x 250

    what are the good settings to have a good quality ? (original images size are 800 x 800)

    2 – i’ve bought woocommerce color and swatches plugin
    2 sub problem;
    a / when i use images on variation products, i can’t have the lightbox effect popup, i dont’t now why
    b / when i put an image in IMAGE PRODUCT (on the right), image is ok, but my image of variations doesn’t works …..

    please could you help me ? i can’t let you see with an admin access if you need.

    thank you

    olivier

    #801274

    Hi Nikko – I’m having the same problem. I haven’t added in extra code (although I did read that there was a problem with a previous version of enfold on one of the forums). I’m not sure why this is happening? Please can you assist?
    Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home/f0622300/public_html/wp/wp-content/themes/enfold/config-woocommerce/config.php on line 1360

    Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home/f0622300/public_html/wp/wp-content/themes/enfold/config-woocommerce/config.php on line 1360

    #801154

    Hey Luis Miguel,

    Please refer to my post here – https://kriesi.at/support/topic/increasing-size-of-thumbnails-in-recent-post-at-the-sidebars/#post-703036 :)

    Best regards,
    Yigit

    #801102
    MarcoCianetti
    Participant

    Hello,
    I have a problem with woocommerce with a project.
    Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home/color200/shop.color2000snc.it/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
    Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home/color200/shop.color2000snc.it/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
    Can you explain where I was wrong?

    #801087

    Below is my child theme function.php code as it is now – should I just replace the middle text I have in bold – starting with: avia_nav_menus(); and ending with: ‘wp_change_aviajs’, 100 ); – with the code you linked to above? The avia.js file has been overwritten – or should have been, right? Do I need to do anything with that?
    thanks
    Nancy

    <?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 custom css class element to all pages===*/
    add_theme_support(‘avia_template_builder_custom_css’);

    /*==========MAG ELEMENT add excerpt under title all===========*/

    add_filter(‘avf_portfolio_cpt_args’, ‘avf_portfolio_add_custom_fields’, 1);
    function avf_portfolio_add_custom_fields($args) {
    $args[‘supports’] = array(‘title’,’thumbnail’,’excerpt’,’editor’,’comments’, ‘custom-fields’, ‘page-attributes’);
    return $args;
    }

    $default_sidebar = false;
    $parent = get_the_title($post->post_parent);
    $parentlink = get_the_permalink($post->post_parent);
    $sidebar_menu .= “<nav class=’widget widget_nav_menu $display_child_pages’><ul class=’nested_nav’>”;
    $sidebar_menu .= “<h3 class=’widgettitle’>$parent</h3>”;
    $sidebar_menu .= $children;
    $sidebar_menu .= “</nav>”;

    avia_nav_menus(); function avia_nav_menus() { global $avia_config, $wp_customize; $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 here)</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_responsive’ => array( ‘html’ => __(‘Responsive Menu <br /><small>(If set will replace your main menu on mobiles)</small>’)) ); add_theme_support(‘nav_menus’); foreach($avia_config[‘nav_menus’] as $key => $value) { $name = (!empty($value[‘plain’]) && !empty($wp_customize)) ? $value[‘plain’] : $value[‘html’]; register_nav_menu($key, THEMENAME.’ ‘.$name); } } add_action( ‘ava_after_main_menu’, ‘enfold_customization_add_responsive_menu’ ); function enfold_customization_add_responsive_menu() { echo “<nav style = ‘display:none;’ class=’main_menu_responsive’ data-selectname='”.__(‘Select a page’,’avia_framework’).”‘ “.avia_markup_helper(array(‘context’ => ‘nav’, ‘echo’ => false)).”>”; $avia_theme_location = ‘avia_responsive’; $avia_menu_class = $avia_theme_location . ‘-menu’; $args = array( ‘theme_location’ => $avia_theme_location, ‘menu_id’ => $avia_menu_class, ‘menu_class’ => ‘menu av-main-nav’, ‘container_class’ => $avia_menu_class.’ av-main-nav-wrap’.$icon_beside, ‘fallback_cb’ => false, ‘walker’ => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo ‘</nav>’; }

    /*make sure MEGA MENU mobile functions after avia js file changes*/

    function wp_change_aviajs() {
    wp_dequeue_script( ‘avia-default’ );
    wp_enqueue_script( ‘avia-default-child’, get_stylesheet_directory_uri().’/js/avia.js’, array(‘jquery’), 2, true );
    }
    add_action( ‘wp_print_scripts’, ‘wp_change_aviajs’, 100 );

    add_filter(‘widget_text’, ‘do_shortcode’);

    /*==============GOOGLE FONTS ADD=================*/
    function add_oswald_script(){
    ?>
    <link href=’http://fonts.googleapis.com/css?family=Oswald:400,700,300&#8242; rel=’stylesheet’ type=’text/css’>
    <?php
    }
    add_action(‘wp_head’, ‘add_oswald_script’);

    /*FIX MEGA MENU not closing on ipad issue https://kriesi.at/support/topic/closing-mega-menu-on-ipad/*/

    function add_custom_megamenu(){
    ?>
    <script>
    jQuery(window).load(function(){
    if (jQuery(window).width() <= 1024){
    jQuery(“#header”).click(function(){
    jQuery(“.avia_mega_div”).toggle();
    });
    }
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_custom_megamenu’);

    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }

    /*edit Advanced Layout Builder elements*/
    add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.’/shortcodes/’);

    return $paths;
    }

    /*FIX MISSING REVISIONS*/

    add_filter(‘avf_portfolio_cpt_args’,’avia_add_portfolio_revision’, 10, 1);
    function avia_add_portfolio_revision($args)
    {
    $args[‘supports’] = array(‘title’,’thumbnail’,’excerpt’,’editor’,’comments’,’revisions’);
    return $args;
    }

    • This reply was modified 8 years, 10 months ago by Munford.
Viewing 30 results - 3,901 through 3,930 (of 10,099 total)