Viewing 30 results - 2,461 through 2,490 (of 7,502 total)
  • Author
    Search Results
  • #1036635

    Hey Victoria,
    thanks for your answer. But I don’t found the code to change the post create date. I search for this HTML-Tag:

    <time class="slide-meta-time updated" itemprop="datePublished" datetime="2018-11-11T13:23:56+00:00">11. November 2018</time>

    in the footer-Section from article (class=”slide-entry”)

    I found these HTML-Tag in /enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php.

    I have copied this PHP-File into my Enfold-Child-Theme and change the code but no changes are on the frontpage.
    When I change this file in original enfold-theme-folder it works.
    What am I doing wrong?

    Second question:
    When I use get_post_modified_time() or get_post_modified_date()-Wordpress-function the date in the post-footer is the same in all posts (3. May 2018) but there is not the correct modified-date. The original code with get_the_time()-function places the correct create-date from the post.
    How can I use the correct modified-date?

    Best regards,
    Jörg

    • This reply was modified 7 years, 5 months ago by jaderbass. Reason: Second question added
    #1036631

    In reply to: Search box

    Hey Max,

    Go to Enfold > Main Menu > General (tab), then check Append search icon to main menu.
    Hope this helps.

    Best regards,
    Nikko

    #1036562
    cg
    Participant

    hi there,

    i have set a custom 404-page withhin the enfold-settings in a child theme.
    theme > options > custom error 404 page

    Before the update, when entering a “wrong” url, the content of that page was shown and a HTTP status 404 was send back to the client. The URL in the address field of the browser didn’t change. Everything ok and correct.

    But now, with Enfold 4.5, a not existing url is been redirected with a status ‘302’ to the custom error page url with a status ‘200’ … thats not good … and might cause problems with search bots / the google index.

    Test-URL (test with httpstatus.io): https://tabulor.de/hello/test

    result

    • This topic was modified 7 years, 4 months ago by cg.
    #1036534

    Hi Petra_MUC,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1250px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1036233
    debbi_handtowels2
    Participant

    Hello, just today I purchased a new license and downloaded a fresh copy of the Enfold theme and installed it. for some reason the site goes to a totally white screen when I activate Woocommerce though. to fix it I must rename the woo plugin folder and then ensure it gets deactivated.

    is there any way you can tell what is going wrong here? I am at a loss.

    I did not see a post on this particular issue after searching a good bit, but if there is one already out there, I very much apologize!

    Kind Regards,

    Chad

    Hi,
    I’ve sorted that out – thanks. It was the fact that I rename my theme installations to know which version I have uploaded. Renaming the Enfold directory from Enfold44 to Enfold allowed the child theme to lock on to it :)

    However, I still seem to have the problem of google not indexing my images in portfolio pages.
    I have added the two pieces of code from this link https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832007
    to the Enfold child theme’s functions.php

    To test it, I ran an Indexing request using my Google Search Console on a portfolio page – http://albino-igil.com/blog/portfolio-item/kitchen-addition/
    With images having the title ‘extension’ in the file name, searching for images on google for “albino igil extension” brings up plenty of old images, but none of the new ones. I really need the new images from the website to be indexed by google – the old Brightbox theme seemed to do this flawlessly – any idea why my Enfold install isn’t?
    I use Yoast SEO – but have never paid for the Premium version as I have never needed to.

    #1035800

    I also found this problem on my website, but I don’t know how to solve it. I hope the Enfold team can pay attention to this serious problem.

    In Google Search Console there is notification about mobile usability for my website
    – clickable elements too close together,
    – text to small to read.

    #1035753

    In reply to: Responsive

    Hi Janus,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1280px) {
      nav.main_menu, #menu-item-search, #mobile-advanced .menu-item {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      #advanced_menu_toggle,
       #advanced_menu_hide {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1035156
    TOM
    Participant

    Hi Guys

    I’ve searched a lot in the documentary and the forum here but I didn’t find a solution for my little problem.

    I’m trying to setup a Facebook Ad-Campaign and want to create a custom Event if someone is sending an order via the (standard) contact form.

    I’ve put in the facebook pixel successfully, but I don’t know where to put this:

    <script>
      fbq('track', 'Purchase');
    </script>

    I’ve found this: https://kriesi.at/documentation/enfold/contact-form/#add-on-click-event-to-the-contact-form-submit-button-

    …but where do I put this HTML code, so Facebook knows if someone triggers the order/submit button to automatically optimize the campaign?

    I tried to put it into the ‘Message Sent label’ text, which is displayed when clicking… but this didn’t work either

    thanks in advance

    • This topic was modified 7 years, 5 months ago by TOM.
    #1035017

    Hi,

    Thanks for the update.

    Add this code on the functions.php file to render the search icon inside the mobile menu:

    add_filter( 'wp_nav_menu_items', 'avf_add_search', 9999, 2 );
    function avf_add_search( $items, $args ) {
    	if ($args->theme_location == 'avia')
    	{
    		$search = '
     	<li id="menu-item-search-mobile" class="menu-item"></li>
    ';
    		$items = $search . $items;
    	}
    	return $items;
    }
    
    add_action('wp_footer', 'avf_add_search_script');
    function avf_add_search_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('.av-burger-menu-main').on('click', function() {
    		var page   = window.location.href;
    		var mobile = $('.menu-item-search-mobile');
    		var search = '<form action="'+page+'" method="get" class=""><div><input type="submit" value="?" id="searchsubmit" class="button avia-font-entypo-fontello"><input type="text" id="s" name="s" value="" placeholder="Search"></div></form>';
    
    		setTimeout(function() {
    			if(mobile.find('form').length == 1) return;
    			mobile.html(search);
    		}, 500);		
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    After that, add this css code on the Quick CSS field:

    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items.menu-item-search-mobile {
        padding: 0 30px;
        position: relative !important;
    }
    
    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items.menu-item-search-mobile form {
        position: relative !important;
    }

    Related thread: https://kriesi.at/support/topic/search-field-on-mobiles-has-been-disappeared-after-last-enfolds-update/#post-925174

    Best regards,
    Ismael

    #1034881
    jomo5280
    Participant

    I am using a full screen “search overlay” plugin – which works perfectly with Enfold.
    I do want to be able to add their search icon next to the mobile hamburger menu.
    I have added the class and link in the main menus to show the icon and trigger the search event. How would i add this so it displays to the left of the burger menu? is there a snippet I can add to functions?
    thanks!

    this is the class and link i am using:

    #dakh-search
    <i class="dakh-search-icon-search"></i>
    #1034442
    laurentiudragone
    Participant

    Hi folks,
    As I mentioned in the title, I’m looking for a way to transform a website to a online shop, but without the hassle of woocommerce (it isn’t really a problem, but I’m searching a easy way).
    Is there any posibility I could add a “Add to cart” option to the already products displayed here: http://www.xiao.ro/meniu

    It will be nice if Enfold developed this option in their themes in the future if this isn’t already implemented.
    Thank you for your time,
    Laurentiu

    #1034146

    Hi zykasthenia,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .header_color .avia-tt.avia-search-tooltip {
            background-color: #ccc;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1034144

    Hey KaISBC,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .search-result-image img {
      width: 20%;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1033744
    zykasthenia
    Participant

    Hi Enfold guys !!!
    I have 3 questions. How I can…

    1. Remove ‘Side Bar’ from this page?
    2. Add Image Item?
    3. Remove Date Item info ?

    My page results –>http://www.aldeadistribuidora.com.ar/?s=aderezos

    Many thanks..
    Claudio

    #1033726
    topergarden
    Participant

    Hi there,
    Apologies if this has been answered elsewhere – I couldn’t find a solution through searching the forums.

    I’m trying to use the fullscreen slider to make a photo slideshow, but I want the images to be displayed at 100% screen height, but not 100% width (ie. keep the scale of the images proportional so they don’t stretch to fill the width.

    I’ve tried adding a custom css class and applying the supplied code (in documentation) in the Quick CSS box, but it doesn’t seem to be affecting it (https://kriesi.at/documentation/enfold/fullscreen-slider/#toggle-id-1).

    Many thanks,
    Chris

    #1033543
    Eric
    Participant

    Hi there,

    For my Gravity Forms I want to adjust the width of the fields, because with Enfold the fields are automatically full width no matter the size you choose. But I want to exclude some fields, because it looks kind of weird, but I can’t get it done. Could you help with this?

    In Quick CSS I put the following the adjust the field width:
    #top input[type=”text”], #top input[type=”input”], #top input[type=”email”], #top input[type=”number”], #top input[type=”url”], #top input[type=”tel”], #top input[type=”search”], #top select {
    width: 400px;
    }

    #top textarea {
    width: 550px;
    }

    Now I want to exclude the date field (date of birth) and the address field (from this standard width, because it looks weird (see link to page). I just want them to have the default width.

    #1033518
    zykasthenia
    Participant

    Hi, I can’t change the background color for the Search Tooltip. Always shows in transparent.
    See my tooltip –>https://zykasthenia.com/xxx/enfold-search.jpg

    Can you help me?
    Thanks.

    Claudio

    #1033160

    Hey tankerhq,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1120px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    Hi Mike,

    Thanks, but I’m not finding that code in functions-enfold.php. Did a search on “entries” and “prev” just as snippets of the text in the instruction and nothing is coming up.

    George

    #1032608
    whitepandaltd
    Participant

    Hi there
    I have a enfold website with 15,000 posts and I needed to replace a telephone number on each post. I replaced the number through phpmyadmin using a search and replace sql and the posts on the database are all showing the number change.
    Unfortunately non of the same posts on wordpress dashboard are showing the number change. I have deleted all cache and the number change is still not showing.

    kopperdrake
    Participant

    I have rebuilt my WordPress site using the Enfold theme (moved from the Brightbox theme for PHP7 compatability) and I love it.
    However, I’m noticing that many of my images aren’t being indexed by Yoast, and therefore aren’t showing up in a google image search, or are showing up in weird searches.

    For example, I have one portfolio entry called Pektron Research Facility. If I search for ‘pektron research facility’ then it doesn’t show up in google images. Well, it does, but not from my website.

    If I type ‘pektron derby cgi’, I get many images from my site (five in the top nine) but none of them of the Pektron building.

    As I’m a CGI artist, this is pretty bad. Looking through the threads here I came across this one:

    https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832895

    Is this still applicable? And if so, do I add it (well, both of the code changes) to the default functions.php file?

    Cheers!

    Hey paul24com,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1160px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1032075
    Killick
    Participant

    I’m sure this isn’t an Enfold issue, but perhaps someone here as experienced this. I did search this forum, but could not find anything that helps directly.

    I’m going round an round with no luck. I’ve got a custom post type and some custom fields created with ACF. I would like to be able to show one or two fields from the latest post on my homepage. Sounds easy. I can’t make this work!

    ACF shortcodes do not work on a page unless the post_id is available.

    [acf field=”field_name” post_id=”123″]
    The above works, but I want the newest post whatever post_id that may be.

    [acf field=”field_name”]
    The above does not work on a page. Why? is the page outside the loop??

    I’ve tried building a function to get the latest value from that field and use that to create a shortcode. This too is not working for me.?? I have various examples from found code that is not working.

    I’ve tried Custom Content Shortcode with no luck.

    Is this that difficult? Has anyone done this and have some suggestions?

    Again, I understand this my problem and not something with the theme. I’m desperate!

    #1031861

    In reply to: Main menu hook?

    Solved. Here is the solution for those needing it.

    Enfold specifically targets the ‘avia’ menu and only adds the search icon and burger menu to it. In this first step we’re going to do three things.

    1. Create our custom menus and have them appear in the admin panel
    2. Remove the default search icon that only targets avia and add one that targets our menus also
    2. Remove the default burger icon that only targets avia and add one that targets our menus also

    Create a file called function-gc.php and add the following code:

    // Adds new custom menus inside admin area
    add_action( 'after_setup_theme', 'register_gc_menus' );
    function register_gc_menus() {
        register_nav_menus( array( 'newmenu1' => 'New Menu 1' )); //name of your first menu
        register_nav_menus( array( 'newmenu2' => 'New Menu 2' )); //name of your second menu
        register_nav_menus( array( 'newmenu3' => 'New Menu 3' )); //name of your third menu; feel free to add as many of these as you'd like
    }
    
    /* AJAX SEARCH */
    
    	//first append search item to main menu
    	remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    	remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    	add_filter( 'wp_nav_menu_items', 'gc_append_search_nav', 9997, 2 );
    	add_filter( 'avf_fallback_menu_items', 'gc_append_search_nav', 9997, 2 );
    
    	function gc_append_search_nav ( $items, $args )
    	{
    		if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
    		if(avia_get_option('header_position',  'header_top') != "header_top") return $items;
    
    //edit the line below with your information (newmenu1, newmenu2, etc)
    	    if ((is_object($args) && in_array($args->theme_location, array('avia','newmenu1','newmenu2','newmenu3'))) || (is_string($args) && $args = "fallback_menu"))
    	    {
    	        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 menu-item-avia-special">
    							<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>
    	        		   </li>';
    	    }
    	    return $items;
    }
    
    /* Enables burger menu on all pages */
    //first append search item to main menu
    remove_filter( 'wp_nav_menu_items', 'avia_append_burger_menu', 9998, 2 );
    remove_filter( 'avf_fallback_menu_items', 'avia_append_burger_menu', 9998, 2 );
    add_filter( 'wp_nav_menu_items', 'gc_append_burger_menu', 9998, 2 );
    add_filter( 'avf_fallback_menu_items', 'gc_append_burger_menu', 9998, 2 );
    
    function gc_append_burger_menu ( $items , $args )
    {
    	global $avia_config;
    
    	$location = ( is_object( $args ) && isset( $args->theme_location ) ) ? $args->theme_location : '';
    	$original_location = isset( $avia_config['current_menu_location_output'] ) ? $avia_config['current_menu_location_output'] : '';
    
    	/**
    	 * Allow compatibility with plugins that change menu or third party plugins to manpulate the location
    	 *
    	 * @used_by Enfold config-menu-exchange\config.php			10
    	 * @since 4.1.3
    	 */
    	$location = apply_filters( 'avf_append_burger_menu_location', $location, $original_location, $items , $args );
    
    //edit the line below with your information (newmenu1, newmenu2, etc)
    	if ((is_object($args) && in_array($args->theme_location, array('avia','newmenu1','newmenu2','newmenu3'))) || (is_string($args) && $args = 'fallback_menu'))
    	{
    		$class = avia_get_option('burger_size');
    
    		$items .= '<li class="av-burger-menu-main menu-item-avia-special '.$class.'">
    					<a href="#">
    						<span class="av-hamburger av-hamburger--spin av-js-hamburger">
    						<span class="av-hamburger-box">
    							  <span class="av-hamburger-inner"></span>
    							  <strong>'.__('Menu','avia_framework').'</strong>
    						</span>
    						</span>
    					</a>
    				   </li>';
    	}
    	return $items;
    }

    Now we need enfold to know our new file exists
    inside function.php replace

    require_once( 'functions-enfold.php');
    

    with

    require_once( 'functions-enfold.php');
    require_once( 'functions-gc.php'); // you'll need to redo this step every time you update the theme

    Lastly, we want to have the menus appear on the pages they should appear on. This step will need to be repeated every time you update the theme.

    Inside helper-main-menu.php replace:

    $avia_theme_location = 'avia';
    $avia_menu_class = $avia_theme_location . '-menu';

    With:

        global $post;
        $newmenu1= array(85,9); // numbers represent pages, categories you want to target
        $newmenu2= array(4, 22);
        $newmenu3= array(5, 34);
    
    //if statement for every menu you have with a fallback to the default main menu
        if (in_array($post->post_parent, $newmenu1) || (in_array($post->ID, $newmenu1))){ 
    
            $avia_theme_location = 'newmenu1';
    
        } else if (in_array($post->post_parent, $newmenu2) || (in_array($post->ID, $newmenu2))){
    
            $avia_theme_location = 'newmenu2';
    
        } else if (in_array($post->post_parent, $newmenu3) || (in_array($post->ID, $newmenu3))){
    
            $avia_theme_location = 'newmenu3';
    
        } else {
    
            $avia_theme_location = 'avia'; // Goes to default Enfold Main Menu
    
        }
    
    $avia_menu_class = 'avia-menu';

    Let me know if you have any questions

    • This reply was modified 7 years, 5 months ago by GCSkye.
    #1031679
    CloudChoice
    Participant

    Hi,

    I researched, but I did not find the answer in the forum.

    Is there any limitation by using flaticon multicolor icons in enfold?

    I’m testing a new group of icons, and multicolor are not displayed to choose in the icon selection box.

    Thanks

    #1031618

    Hello,

    You are in troubles!! – This is no problem with Enfold Theme.

    You are running WP GPDR Compliance Plugin? – Then, please update as soon as possible the Plugin! More informations: https://www.wpgdprc.com/wp-gdpr-compliance-1-4-3-security-release/

    Also check your WordPress installation for changes and so on! The best would be, restore an backup from older days, and update this plugin. Otherwise you should contact an professional security researcher to check your whole WordPress installation.

    All the best.

    • This reply was modified 7 years, 5 months ago by hr_automation.
    #1031585
    This reply has been marked as private.
    #1031431

    In reply to: Main menu hook?

    Inside helper-main-menu.php I replaced:

    $avia_theme_location = 'avia';
    $avia_menu_class = $avia_theme_location . '-menu';

    With:

        global $post;
        $newmenu1= array(85,9);
        $newmenu2= array(4, 22);
        $newmenu3= array(5, 34);
    
        if (in_array($post->post_parent, $newmenu1) || (in_array($post->ID, $newmenu1))){
    
            $avia_theme_location = 'newmenu1';
    
        } else if (in_array($post->post_parent, $newmenu2) || (in_array($post->ID, $newmenu2))){
    
            $avia_theme_location = 'newmenu2';
    
        } else if (in_array($post->post_parent, $newmenu3) || (in_array($post->ID, $newmenu3))){
    
            $avia_theme_location = 'newmenu3';
    
        } else {
    
            $avia_theme_location = 'avia'; // Goes to default Enfold Main Menu
    
        }
    
    $avia_menu_class = 'avia-menu';

    This allows my menus to work perfectly but the burger menu does not display unless on a page with the avia menu showing. What is causing the burger menu and search icon to not display for newmenu1, newmenu2, and newmenu3?

    Note: I’ve added the following to function.php to avoid any questions about this:

    // Adds new custom menus inside admin area
    add_action( 'after_setup_theme', 'register_gc_menus' );
    function register_gc_menus() {
        register_nav_menus( array( 'newmenu1' => 'New Menu 1' ));
        register_nav_menus( array( 'newmenu2' => 'New Menu 2' ));
        register_nav_menus( array( 'newmenu3' => 'New Menu 3' ));
    }
    • This reply was modified 7 years, 5 months ago by GCSkye.
    #1031367

    Topic: Slow page load

    in forum Enfold
    Ilya
    Participant

    Hi,

    We’ve uploaded a new website and using Enfold Child theme, the website loads quite slow and navigation between pages is very slow (avg of 7 seconds to load a page). We have used the same server setup with another WP theme and it was not that slow so I am trying to understand why this is happening.

    Website link: http://www.solid-run.com , We are using cloudflare CDN too.

    I understand this is a very broad question but maybe you can help me point to me to the correct direction like a recommended caching plugin? Some other optimizations? Tools to see where the bottleneck is?

    We’ve searched the forums for similar issues but did not manage to isolate the problem, I can provide any info if needed.

    Thank you,
    Ilya

Viewing 30 results - 2,461 through 2,490 (of 7,502 total)