Viewing 30 results - 14,611 through 14,640 (of 16,896 total)
  • Author
    Search Results
  • #399214

    Yes it works to open a form within Magnific Popup but it’s not simple.
    I did it here: http://www.sqli-enterprise.com/solutions/customer-relationship-management/ (click on the big red image ‘workshop gratuit’.
    It’s a Gravity form inside but it could be whatever you like.
    I’ll give you more details how I did this.
    First here the code in my function.php :

    function inline_popup_enabler(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$('.inline_popup').magnificPopup({
        	  type:'inline',
        	  midClick: true,
        	  preloader: false,
        	  focus: '#input_12_13',
        	  callbacks: {
                beforeOpen: function() {
                  if($(window).width() < 700) {
                    this.st.focus = false;
                  } else {
                    this.st.focus = '#input_12_13';
                  }
                }
              }
        	});
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'inline_popup_enabler');

    All the informations are available here :
    http://dimsemenov.com/plugins/magnific-popup/
    http://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-type

    I will give you how I setup my page later.

    #399188

    Hi Ismael,

    Thanks for your reply first!

    I did steps below:

    1. I modified loop-index.php as you sent in https://kriesi.at/support/topic/blog-category-frontpage-view/#post-386022
    2. I copied parent theme’s files as mentioned in https://kriesi.at/support/topic/blog-category-frontpage-view/#post-397204
    3. I added the code you sent me in your last message to functions.php
    4. Cleared all cache and CDN

    And it worked. What if I would like to do same thing for the tag pages as well?

    See you!
    Orhan

    #399092

    Hi Josue,

    http://www.weinwisser.org is showing this:

    Warning: session_start(): open(/var/www/vhosts/weinwisser.org/tmp/sess_e5nhssapbcq660gbr730ddgps7, O_RDWR) failed: No such file or directory (2) in /var/www/vhosts/weinwisser.org/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Warning: Unknown: open(/var/www/vhosts/weinwisser.org/tmp/sess_saapdk0cm5u8vmsqru2ag5c6j0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/vhosts/weinwisser.org/tmp) in Unknown on line 0

    Can you see this?

    Thanx
    Klaus

    #399048

    My English is not so good , but I try it anyway.
    Since WordPress 4.1.1 had to paste the .htaccess following: AddHandler php- fastcgi .php . Otherwise, I could not update . If this line stays there , I get the following error message on the home page:
    Warning: session_start (): open (/ tmp / sess_8f2cfdbe47fc9b07ee2062414b070112 , O_RDWR ) failed: Permission denied (13 ) in /www/htdocs/xxxxxx/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Warning: Unknown: open ( / tmp / sess_8f2cfdbe47fc9b07ee2062414b070112 , O_RDWR ) failed: Permission denied (13 ) in Unknown on line 0

    Warning: Unknown : Failed to write session data ( files) . Please verify the current setting of session.save_path did is correct ( / tmp) in Unknown on line 0th
    My provider is all-incl.com in Germany
    If I take the line from the .htaccess out , then it works

    ———————————————————————–

    Mein Englisch ist nicht so gut, aber ich versuche es trotzdem.
    Seit WordPress 4.1.1 musste in die .htaccess folgendes einfügen: AddHandler php-fastcgi .php . Ansonsten hätte ich nicht updaten können. Wenn diese Zeile dort bleibt, erhalte ich folgende Fehlermeldung auf der Startseite:
    Warning: session_start(): open(/tmp/sess_8f2cfdbe47fc9b07ee2062414b070112, O_RDWR) failed: Permission denied (13) in /www/htdocs/xxxxxx/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Warning: Unknown: open(/tmp/sess_8f2cfdbe47fc9b07ee2062414b070112, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0.
    Mein Provider ist : all-incl.com in Deutschland
    Nehme ich die Zeile aus der htaccess heraus, dann funktioniert es

    turistai
    Participant

    Hi there,
    I tried to modify “functions.php” to hide some categories at widgets area.
    An error has occured. I can’t manage to enter into “functions.php” to correct it.
    Everything is blocked now.
    the error message is:

    Parse error: syntax error, unexpected ‘<‘ in /home/turistai/public_html/wp-content/themes/enfold-child/functions.php on line 7

    What can I do?
    Thanks

    vjward
    Participant

    Hi, I changed the functions.php file (on the Child theme… is that right?) and managed to add the custom css fields to my text blocks, with the aim of changing the background colour on one text block element on my page.

    I added this to the Quick CSS box in ‘general styling’

    .vjw-colouredtextblock { background-color: #ead467; padding: 10px; }

    and added this to the Custom CSS Class of my text block

    vjw-colouredtextblock

    but there’s sill no background colour. Can anyone help?

    Many thanks

    Victoria

    #398936

    In reply to: Post title over image

    Hey Sasolini!

    Thank you for coming back.

    To move the post title you have to modify the core file includes\loop-index.php.

    From line 130 you find

    
              echo '<header class="entry-content-header">';
                    echo $title;
    
                    echo "<span class='post-meta-infos'>";
    
    ..........
    
               echo '</header>';
    
    

    This you have to move before line 89:

    
     //     insert your code here
    
           //echo preview image
            if(strpos($blog_style, 'big') !== false)
            {
                if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
                if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>';
            }
    
            if(!empty($before_content))
                echo '<div class="big-preview '.$blog_style.'">'.$before_content.'</div>';
    

    But you should wrap the moved code in a div like for styling reasons:

    
    <div class="entry-content-wrapper clearfix standard-content my-moved-header">
    
    </div>
    

    For the animation effect you can try to modify js\avia.js from line 571.

    Cheers!
    Günter

    #398906

    In reply to: Seo

    Thank you Josue,

    Actually I already had the debug mode enabled but I was not able to see any error messages… I have disabled the Yoast SEO plugin and now the posts load and display normally. Is there a way to fix this incompatibility issue and use the Yoast SEO plugin (current version 1.7.3.1) with the latest version of Enfold – 3.0.4 and WordPress – 4.1.1?

    NB
    – I have already tried downgrading Yoast SEO plugin to version 1.5.5 as suggested in some older topics (but with Enfold 3.0.4 and WordPress 4.1.1) and it still causes the same problem.
    – I have also tried adding the code to themefunctions.php as suggested here ( https://kriesi.at/support/topic/enfold-and-the-seo-wordpress-version-1-5-5-3/#post-312418 #312418) but it does not fix the problem…
    – Finally, my php allowed memory limit is 512Mb, so this should not be the cause ( https://kriesi.at/support/topic/latest-enfold-theme-not-working-with-seo-plugins/ )
    Theme: Enfold
    Version: 3.0.4
    Installed: enfold
    AviaFramework Version: 2
    AviaBuilder Version: 0.8
    – – – – – – – – – – –
    ChildTheme: Enfold Child
    ChildTheme Version: 1.0
    ChildTheme Installed: enfold

    ML:512-PU:24-PLA:6
    –>

    Many thanks,

    Cerasel

    #398833
    klausddoll
    Participant

    Hi there,

    since WordPress update 4.1.1 I’m reveing the following error message:

    Warning: session_start(): open(/var/www/vhosts/weinwisser.org/tmp/sess_e5nhssapbcq660gbr730ddgps7, O_RDWR) failed: No such file or directory (2) in /var/www/vhosts/weinwisser.org/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Can anybody help?

    Many thanx
    Klaus

    #398680
    This reply has been marked as private.
    #398678

    In reply to: White Screen of Death

    #398649

    In reply to: Translation issue

    Hey!

    There are some missing strings in the German translation so the English ones show instead, you can disable the translation in the Theme Options by editing functions.php (move line 104 to 78).

    Regards,
    Josue

    tremblayly
    Participant

    Hi
    I cannot access any of my products on http://www.lysetremblayjewelry.ca. When testing on my WP Engine host staging area, I deactivated all plugins, then reactivated all one at a time, the only one that will not reactivate is the LayerSlider. I get the following error:

    Fatal error: Cannot redeclare layerslider_load_lang() in /nas/wp/www/staging/lysejewelry/wp-content/plugins/layerslider/layerslider.php on line 76

    While this plugin is deactivated, I can access all of my products – not problem.

    Now before I deactivate the LayerSlider on my live site, without being sure of issues this deactivation may cause, I would like to check with you guys.

    So I need an urgent response before breaking my live site even more!

    Much appreciated.
    Lyse

    #398446

    In reply to: Template

    Parse error: syntax error, unexpected ‘avia_config’ (T_STRING), expecting variable (T_VARIABLE) or ‘$’ in /home/masterplate/public_html/backup/wp-content/themes/enfold/functions.php on line 471

    #398246
    tsyschupack
    Participant

    Love Enfold, everything was working fine yesterday – attempted to login to dashboard this morning and received:

    Warning: require_once(config-events-calendar/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/17/8850517/html/otgwp/wp-content/themes/enfold/functions.php on line 421

    Fatal error: require_once() [function.require]: Failed opening required ‘config-events-calendar/config.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/17/8850517/html/otgwp/wp-content/themes/enfold/functions.php on line 421

    Suggestions? Please? and type slowly, I’m blonde

    #398230

    In reply to: Accordion not closing

    Hi!

    Can you please try adding following code to Functions.php file as well?

    function enqueue_js_files() {
    	wp_enqueue_script( 'script-name', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js', array(), true );
            wp_enqueue_script( 'script-name', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js', array(), true );
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_js_files' );

    Cheers!
    Yigit

    #398216

    Hey!

    Please go to Appearance > Editor and open Functions.php file and check if there is such code on the top of the file – http://pastebin.com/ZpR2wN7s
    and remove it. If you are not comfortable editing the file, please create a temporary admin login and post it here privately so we can check it for you.
    Please consider installing a security plugin such as https://wordpress.org/plugins/better-wp-security/ or this one – https://wordpress.org/plugins/bulletproof-security/

    Cheers!
    Yigit

    #398066

    In reply to: picture sizes

    Hi,

    I’m no expert (by a long shot) so could be giving you completely wrong info but…

    1. Where can I find the picture sizes, which are used in ENFOLD?

    functions.php has the following:

    $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

    2. Which size is the best size for pictures before I upload them to wordpress?

    Depends on the largest image size required and if you want large lightbox detailed images to show

    3. Must the original picture have the same ratio as the destination ratio inwordpress.

    This depends on the crop set above. This link n the WordPress Codex: http://codex.wordpress.org/Function_Reference/add_image_size lists the different types of crop and also explains how to add extra custom image sizes to your theme.

    http://havecamerawilltravel.com/photographer/wordpress-thumbnail-crop shows you how each type of crop is displayed as it doesn’t work exactly as one would think.

    Like I said, I’m no expert so if a Moderator comes along and says I’ve just told you a pile of rubbish then I’m sorry!

    #397868

    Hi Daniel!

    Add this to the bottom of your functions.php file.

    add_action( 'wp_head', 'enfold_customization_custom_scripts' );
    function enfold_customization_custom_scripts(){
    ?>
    
    <script>(function() {
    var _fbq = window._fbq || (window._fbq = []);
    if (!_fbq.loaded) {
    var fbds = document.createElement('script');
    fbds.async = true;
    fbds.src = '//connect.facebook.net/en_US/fbds.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
    }
    _fbq.push(['addPixelId', '1456847771268020']);
    })();
    window._fbq = window._fbq || [];
    window._fbq.push(['track', 'PixelInitialized', {}]);
    </script>
    <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=1456847771268020&ev=PixelInitialized&quot; /></noscript>
    
    <?php
    }

    Regards,
    Elliott

    • This reply was modified 11 years, 2 months ago by Elliott.
    #397806

    Hey Charles!

    Please go to Appearance > Editor and open Functions.php file and check if there is such code on the top of the file – http://pastebin.com/ZpR2wN7s
    and remove it. If you are not comfortable editing the file, please create a temporary admin login and post it here privately so we can check it for you.
    Please consider installing a security plugin

    Cheers!
    Yigit

    #397785
    This reply has been marked as private.
    #397750

    Hey george!

    Yes I think it is listed in our queue so we should see a workaround in future.

    In the meantime you can copy the whole function (lines 1305 – 1407) and paste it in the bottom of your child theme functions.php file and then edit the line again.

    Best regards,
    Elliott

    #397748

    Hey summersalad!

    Try navigating to /wp-content/uploads/avia_fonts and then set that directory to 777 permissions (temporarily) and try uploading it again.

    If it still does not work then try contacting your hosting provider and let them know your having trouble with a PHP script trying to create a directory to see what they say.

    Regards,
    Elliott

    Hi itchybrain!

    Try editing line 127 in /enfold/functions.php.

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    

    And then use this plugin to refresh the images, https://wordpress.org/plugins/regenerate-thumbnails/.

    Cheers!
    Elliott

    mensmaximus
    Participant

    A couple of customers reported issues after updating to Woocommerce 2.3.3 with the payment options displayed twice on the checkout page.

    All customers are using Woocommerce 2.3.3, WooCommerce German Market 2.4.7 and Enfold 3.0.8. I can confirm this is an issues with WooCommerce German Market Edition. After deactivating the plugin the payment options are displayed correct.

    To solve that issue copy the file /wp-content/plugins/woocommerce/templates/checkout/review-order.php to the directory /woocommerce/checkout/ within your enfold child theme. If the directory does not exist simply create it. Ounce the file is copied the display on the checkout returns to normal.

    #397415

    Hi!

    Edit the header.php file. Look for that code then place the addthis share button code below. If you review the thread, you can place the button code directly on template files: https://kriesi.at/support/topic/placing-addthis-social-icons-into-the-header/#post-135671

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
    <a class="addthis_button_tweet"></a>
    <a class="addthis_button_pinterest_pinit"></a>
    <a class="addthis_counter addthis_pill_style"></a>
    </div>
    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51de2d2b7e09a8f5"></script>
    <!-- AddThis Button END -->

    You need to use your own addthis code.

    Best regards,
    Ismael

    This reply has been marked as private.

    Hi,

    Try the following, open /enfold/framework/php/class-style-generator.php and look for line:

    if(!empty($this->google_fontlist)) $this->google_fontlist .= "|";
    

    Replace it by this:

    if(!empty($this->google_fontlist)) $this->google_fontlist .= "%7C";
    

    Regards,
    Josue

    #396980
    This reply has been marked as private.
    #396744

    Hi Rikard,

    The child theme only has a functions.php, its style.css, and the AUX_plus_SVG.css stylesheet (needed for making the MyFonts fonts work). It doesn’t have copies of the other Enfold .php files.

    Should I just copy Enfold’s current header.php (with my change) into the child theme’s main directory?

    A couple questions too, if I do that: Would that ensure that I don’t have to make this change again when the theme updates? And if the theme updates, will the changes that I need be able to sync to my child theme properly too?

    I’m not totally sure if my fix is the right fix because I’ve encountered some instances where text is overflowing its boundaries, where it wasn’t prior to the theme update and its grid changes. I’ve applied a temporary fix for the most glaring example of this (my homepage’s 7 How can we help? buttons), but you may be able to see this in the site’s footer (look for the rotating Tweets feed). This may be a font rendering / stylesheet order issue, but I’m still trying to figure this out.

    Thanks,
    David

Viewing 30 results - 14,611 through 14,640 (of 16,896 total)