Viewing 30 results - 14,761 through 14,790 (of 16,896 total)
  • Author
    Search Results
  • #381461

    HI Yigit.
    No need mockup ))
    You built in form is based on Contact-form 7, but with it’s unique styling.
    I want to use a contact form 7, but append to it the same .classes, as the built-in one,
    I need the ability to put rows one-half / one-half wide.
    Anyway:
    Just to look exactly like the enfold form.
    And that’s why:
    I want to have inside the email: a url which form was sent from.
    Or can you give me a patch to child function.php for the built-in form to get this at the email.

    #381382

    Hello and thanks for answer.

    I think I found a good way to do what I want ( and possible other people want also ).
    What I would like to do is, ini my child theme, to create my custom post template using the Layout Builder, but only to create the template and not to give the user the right to use and change it. In this way, if I want to change the layout of all the custom post, I have only to change the template, and not change the setting for every single custom post.

    What i did is:
    0) Activate the layout builder for your custom post ( https://vimeo.com/64996057 )
    1) Make a page using the Layout Builder to generate the shortcode. This will be your template for the custom post.
    2) Copy the shortcode it generates and save it somewhere ( you must have the avia debug ON to see them into the admin page, just put into your functions.php file this:

    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug(){
    	return "debug";
    }

    3) Copy the template-builder.php in your child theme directory.
    4) In this file, at the beginning of the file, get all your data of your custom post from $post:
    – Your content
    – Your custom fields
    5) Now put it into a $content variable which must have all the shortcodes you copied before with your content and custom field inside. I suggest to use heredoc method:

    $content = <<<EOD
    [av_section color='main_color' ……..
    [av_video src=‘$my_video’ format='16-9' width='16' height='9']
    [av_textblock size='' font_color='' …..
    etc…..
    EOD;

    Also better if you do step 4 and 5 in a function like get_your_custom_post_template( $post ); that return $content.
    6) Now go to the line
    $content = apply_filters('avia_builder_precompile', get_post_meta(get_the_ID(), '_aviaLayoutBuilderCleanData', true));
    and make an if statement where you check if is displayed your custom post

    if ( $post->post_type == 'your-custom-post' ){
        $content = get_your_custom_post_template( $post );
        $content = apply_filters( 'avia_builder_precompile', $content );
    } else { 
        //filter the content for content builder elements
         $content = apply_filters('avia_builder_precompile', get_post_meta(get_the_ID(), '_aviaLayoutBuilderCleanData', true)); 
     }

    Everything is working, but there are something still to fix.

    1) How to make default setting fot the Layout ( right sidebar admin panel. Example set the Page Layout, and the Header setting ). I see that these settings are registered in a custom fields, like:
    _aviaLayoutBuilder_active
    sidebar
    header_transparency
    etc….
    But I don’t know where to hook to set these, if during the save or during the get of the page.
    Moreover we can hide from the user the Layout on the sidebar with css.

    2) Avoid the user to activate the Advanced Layout Editor. Infact in case he doesn’t activate it, the template is going to use the single.php ( or single-your_custom_post.php in case ) template.

    3) On the frontend I have a div with nothing inside that make a white space between the menu and the content. It is this one:
    <div class=”main_color container_wrap fullsize”>…</div>
    I think it is due to the fact that this is a post and not a page. Do you know how to avoid it?

    I thinks is all, and thanks do much for support

    #380939

    Hi Yigit,

    this is not the problem. I increased the memory already some weeks ago.
    PHP Version : 5.3.27 / 64Bit OS
    Memory limit : 128 MB
    Memory usage : 62.65 MB

    Another idea?

    Greetings Thomas

    #380909

    In reply to: Layout Blogbeiträge

    This reply has been marked as private.
    #380883
    MarkusLange
    Participant

    I tried to import demo data and got this Message. What to do ?

    Importing didnt work!
    You might want to try reloading the page and then try again
    (The script returned the following message:

    Fatal error: Out of memory (allocated 35913728) (tried to allocate 9910 bytes) in /homepages/20/d101502583/htdocs/app126277527/wp-content/themes/enfold/framework/php/wordpress-importer/parsers.php on line 143
    )

    #380871

    Hi tom77113!

    Can you please try to increase the allocated memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
    You can contact your service provider and they can do it for you.

    Best regards,
    Yigit

    #380621

    Thanks for the suggestions :)

    1) Unfortunately this didn’t work. I tried many different options with plugin settings but none worked so I contacted plugin author and sent him debug info and message:

    “I recently relaunched my site, I noticed the twitter feed wasn’t working before relaunch on the old site, on the testing site of the new website, it was working fine, but then once the new site replaced the old site, the feed stopped working on the new site again for some reason?

    I tried a debug and got this:
    RSTW Debug info enabled
    RSTW Using cached Twitter data
    Warning: preg_replace(): Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 12 in /usr/local/pem/vhosts/109452/webspace/httpdocs/vantasks.ie/wp-content/plugins/really-simple-twitter-feed-widget/really_simple_twitter_widget.php on line 526

    It seems to be fetching the date of the last tweet etc, but not the actual tweet?

    I tried regenerate the keys etc but still no luck.”

    ========He responded by asking: it seems that your live site hosting configuration (php version at least) is different (older and supporting and older release of PCRE) than your test site. Can you tell me the PHP version running on your two sites?

    2) I’ve used contact form 7 on the old site. Is it safe to use this within enfold, or would it be safer to use the enfold contact form for any reason? (updates etc?)

    #380467

    Hey!

    There wouldn’t really be any point in adding the social share to your blog page and archives. They are for users who want to share something they find interesting on your site so having them on pages or posts with actual content would be good. Your blog pages and archives will continually change as you create more posts so it’s only going to confuse people.

    It’s also going to confuse the social networks because they will not know what featured image or article summary to grab from.

    If you still wish to add though then open up /enfold/archive.php and find line 73.

    <!--end content-->
    

    And add this above it.

    <?php echo avia_social_share_links(); ?>
    

    Regards,
    Elliott

    #380453

    Hi Elliott!

    Brilliant! As you suggested I replaced ‘image_url’ with ‘image_link’ on line 576 in the masonry_entries.php file and then created a new case for ‘image_link’ on the helper-markup.php file that returns ‘itemprop’ = ‘significantLink’ and now both properties for images without a link to a page and for images with a link to a page return the correct markup without producing errors.

    Shouldn’t this fix be added as a permanent fix to the upcoming theme’s update since it also solves the errors on the demo pages?

    Thank you very much for your help… You are brilliant!

    Best regards,
    George

    #380181

    In reply to: Linking two sites

    This reply has been marked as private.
    #380139

    Hey!

    In /enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 576 you can see we set the context to “image_url”.

    $markup = ($post_type == 'attachment') ? avia_markup_helper(array('context' => 'image_url','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup'])) : avia_markup_helper(array('context' => 'entry','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup']));
    

    That’s the conditional your looking for. You could change that to “significantURL” and then add a new case in this file, https://kriesi.at/support/topic/masonry-gallery-structured-data-bug/#post-379035.

    Cheers!
    Elliott

    #380066

    Ismael, the thread is: #378704

    But, I have an update…not sure if that should be here or there?

    I had Localhost version of the site, so could massacre at will.

    Removed layerslider, still had problem. Just kept slicing bits of the site off. Still had problem. Decided to start at beginning.

    Installed new WordPress.
    Installed Enfold.
    installed Enfold-Child.
    Made Enfold-Child my theme in Appearance > Theme.
    Installed WooCommerce.
    Imported Demo Data.
    Made single MegaMenu entitled “MegaMenu” and made its Location Main Menu on Enfold.

    Put in “normal” stuff on the newly created menu entitled “MegaMenu”
    Put in Line 1 – marked as Megamenu with checkbox.
    Put in Line 1-2 over from Line 1.
    Put in Line 2 — same level as Line 1
    Put in Line 2-2 over from Line 2.

    Looked like this:
    My Account
    Checkout
    Cart
    Shop
    Sample Page
    Mega Menu Here
    Link 1
    Link 1-2
    Link 2
    Link 2-2

    Worked fine.

    Then, in Quick CSS put in the title_container bit to remove breadcrumbs and space where breadcrumbs sit. Looks like this:
    .title_container {
    display: none!important;
    }

    All the pages BUT WooCommerce have happy MegaMenu.

    BUT…

    On WooCommerce’s SHOP, the MegaMenu is chopped off.

    There is nothing but original stuff in style.css and in functions.php in Enfold.Child.

    Do you have any suggestions on what I could do to solve this idiosycracy on the more complex working site?

    Thanks again for looking into this.

    To see this oddity of “partial megamenu, since you don’t have access to my Localhost, you can go to:
    http://www.eurobeautygroup.com/collection/hydravive-moisturizing_cn/

    • This reply was modified 11 years, 3 months ago by CharlieTh.
    #380044

    Hi!

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

    .secondary-logo * {
    max-width: 70%;
    }
    .secondary-logo {
    float: right;
    position: relative;
    margin-bottom: -44px;
    }

    and edit the code you have added to Functions.php file and make your image links using HTML A tag – http://www.w3schools.com/tags/tag_a.asp

    Regards,
    Yigit

    #379886

    Hey!

    Actually I am not sure if understand the problem. I have created a test page and saved it as a draft:
    http://wedding.sephi.com/wp-admin/post.php?post=7552&action=edit&message=10

    Whenever I add new elements or change existing ones and then hit the preview button the changes display just fine in the preview.
    Would you mind giving me a detailed step by step walkthrough on how to reproduce the issue?

    Best regards,
    Kriesi

    #379865

    Hi MattiaParla!

    You can find the autoresponder subject on includes > contact-form.php. Or use this plugin: https://wordpress.org/plugins/contact-form-7/

    Best regards,
    Andy

    #379753

    In reply to: Load time & various

    Hey mcginty312!

    1. Contact your hosting provider to see if anything happened.

    2. Drag a codeblock element to your page and add this inside.

    <style type = "text/css">
    .content, .sidebar { padding-top: 0px !important; }
    </style>

    3. Navigate to Dashboard > Appearance > Menus and click on the dropdown arrow for your link and remove the description.

    4. Open up /enfold/config-templatebuilder/avia-shortcodes/gallery.php and change line 207 from this.

    $tooltip = $caption ? "data-avia-tooltip-position='bottom' data-avia-tooltip='".$caption."'" : "";
    

    To this.

    $tooltip = $caption ? "data-avia-tooltip-alignment='bottom' data-avia-tooltip-position='bottom' data-avia-tooltip-class='av-tt-pos-below' data-avia-tooltip='".$caption."'" : "";
    

    Best regards,
    Elliott

    Rolf
    Participant

    Hi,
    I’m working on a demo-site for events (Enfold & Events Calendar Pro-Plugin). Works fine so far and shows pretty well in the browser but Google PageSpeed tells me that I have to optimize my featured images again in the Single Events (“Optimize size and compression for better…”.).

    My Single Event Picture: Featured picture full span over the whole article-width (the hight of the picture is not so relevant here).

    Problem: I can’t figure out how I have to modify the pics or the theme to get what PageSpeed is asking for.

    What I have done: Prepared pic in Photoshop, size 726 x 320, export for web (quality 70%, progressive), upload with Optimus to WordPress (and regenerate the thumbs with the plugin “Simple Image Sizes” for 726 x 300 px). I made no changes in PHP- or CSS-files so far.

    I tried different picture dimensions, but always get the same “red exclamation mark” in PageSpeed…
    I really would appreciate, if anyone could give me some advise what to change in Enfold/EventsCalendar or in the handling of the pics themselves.

    ninaS
    Participant

    Hi Guys,
    since i updated wordpress to 4.1 it bugs a lot. I cannnot modify anything and when i do, all kind of errors appear and the site doesn’t update.
    There a some of the errors.

    Warning: file_get_contents(/homepages/10/d377341531/htdocs/wp-content/themes/enfold/404_error.php): failed to open stream: Permission denied in /homepages/10/d377341531/htdocs/wp-includes/class-wp-theme.php on line 949

    Warning: file_get_contents(/homepages/10/d377341531/htdocs/wp-content/themes/enfold/imc.php): failed to open stream: Permission denied in /homepages/10/d377341531/htdocs/wp-includes/class-wp-theme.php on line 949

    Warning: file_get_contents(/homepages/10/d377341531/htdocs/wp-content/themes/enfold/404_error.php): failed to open stream: Permission denied in /homepages/10/d377341531/htdocs/wp-includes/class-wp-theme.php on line 949

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d377341531/htdocs/wp-includes/class-wp-theme.php:949) in /homepages/10/d377341531/htdocs/wp-admin/post.php on line 233

    Before that everything worked fine. Is there any new enfold update that could solve the problems? The wp-config file seems ok, the mysql datebase also. The only troublemaker seems to be the theme itself. Could u please help me out guys this is really annoying….

    Greets
    Damian

    #379195
    This reply has been marked as private.
    #379180

    Hi 1711media!

    This is kind of bordering on custom work. You can see the spot you need to add it on line 674 in /enfold/config-templatebuilder/avia-shortcodes/portfolio.php.

    $output .= "</div>";
    

    I suppose you could try using the do_shortcode function, http://codex.wordpress.org/Function_Reference/do_shortcode, but it’s most likely going to need a lot more work than that so it would be best to hire a freelancer to help you out.

    Best regards,
    Elliott

    #379152
    WernerC
    Participant

    Hi,

    we are trying to install your latest theme version (3.04) in a local VM. The version prior to that installs and works fine.

    The message we get during installation is: Are you sure you want to do this?

    Windows 7
    PHP (IIS) 5.6
    Tried WP 3.9.2 up to 4.1 (IIS and usual versions)

    All components are installed the first time.

    Any idea?

    Thanks
    WernerC

    • This topic was modified 11 years, 3 months ago by WernerC.
    #379018

    Great suggestion Yigit, thanx! However the import didnt work even after reloading the page because of an error, pls look below what it said:

    Importing didnt work!
    You might want to try reloading the page and then try again
    (The script returned the following message:

    Fatal error: Allowed memory size of 50331648 bytes exhausted at /usr/src/apache/php-src/debian/build-tree/php55-dbg/ext/pcre/php_pcre.c:1081 (tried to allocate 277661 bytes) in /nfsmnt/hosting2_1/a/f/afdec5ec-5275-41ae-bd33-ca4a1e2a0d1c/organizemywebinar.com/web/wp-content/themes/enfold/css/dynamic-css.php on line 792
    )

    #378965

    Hi Wilko!

    We can try setting an ID to the widget areas. This will have the widgets be assigned to a specific ID instead of an increasing numeric value for each sidebar. I think this should save their position when you suddenly add or delete additional widget areas (such as the footer columns). But keep in mind that in doing this you will have to reset the widgets again after doing the code changes.

    Try opening up /enfold/framework/php/class-sidebar-generator.php and find line 174.

    $args['name']  = $sidebar;
    

    And add this beneath it.

    $args['id'] = $sidebar;
    

    Next open up /enfold/includes/admin/register-widget-area.php and find line 77.

    'name' => 'Footer - column'.$i,
    

    And add this beneath it.

    'id' => 'Footer - column'.$i,
    

    Let us know if that works for you.

    Cheers!
    Elliott

    #378846
    fisherman
    Participant

    Hi,

    My site has been acting weird, so disabling all plugins, and enabling the error log, I keep on getting this:

    Notice: Undefined offset: 2 in /home/casino/public_html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php on line 433

    If I try to turn a plugin on-off, I also get this:

    Notice: Undefined offset: 2 in /home/casino/public_html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php on line 433
    Warning: Cannot modify header information - headers already sent by (output started at /home/casino/public_html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php:433) in /home/casino/public_html/wp-includes/pluggable.php on line 1178

    Do you know what could be wrong? As I said, all plugins are turned off.

    Thanks,
    Tom

    #378731
    This reply has been marked as private.
    #378705

    Topic: Permission denied (13)

    in forum Enfold
    bertel
    Participant

    Hi I am getting a Permission denied (13)- error on my development-site and I am pretty sure it is related to the location of my /tmp-folder in the root. The Url is http://92.43.176.100/~hotelthinggaard/ and the tempfolder is at http://92.43.176.100/tmp

    I hope you can help me

    The full message:
    Warning: session_start(): open(/tmp/sess_2a03899396f7805cd782598fa2678c31, O_RDWR) failed: Permission denied (13) in /home/hotelthinggaard/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/hotelthinggaard/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php:32) in /home/hotelthinggaard/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    #378207

    No, me refería a usar iframes en general, ósea a tener el visor de archivos instalado fuera de WordPress (en un subdirectorio) y mediante un iframe hacerlo aparecer en una pagina del WordPress:

    <iframe src="http://website.com/visor-de-archivos/">
    

    Para el visor de archivos podrías usar un script PHP como:
    http://encode-explorer.siineiolekala.net/
    http://codecanyon.net/item/lift-file-manager/5177206

    #377908

    Hi bjornwallman!

    Thank you for using Enfold.

    Add this on functions.php:

    function limit_words($string, $word_limit){
    	$words = explode(" ",$string);
    	return implode(" ",array_splice($words,0,$word_limit)) . '...';
    }

    Edit config-template-builder > postslider.php, find this code on line 372:

    $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
    

    Replace it with:

    $blogtitle = limit_words($title,5);
                        $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($blogtitle))."'>".$blogtitle."</a></h3>" : '';
    

    This will limit the title to 5 words. Adjust it on this line:

    $blogtitle = limit_words($title,5);
    

    Regards,
    Ismael

    #377852
    Biggy
    Participant

    Hi,
    diese Info ist für Dude der ja an der Deutsch Übersetzung auch arbeitet.
    Wir arbeiten seit einiger Zeit an der Übersetzung des kompletten Themes inklusive framework.
    Dazu haben wir alle Strings über Poedit aufgerufen und sind mit der Übersetzung fast fertig. Es sind immerhin in der aktuellen Version 2.579 Strings. Als wir nun testen wollten, stellen wir fest, dass die Übersetzungen nur teilweise greifen.
    Beim überprüfen finden wir 3 verschiedene functions mit 2 unterschiedlichen textdomains in folgenden Dateien:

    enfold/config-layerslider/LayerSlider/layerslider.php
    Line 113: load_plugin_textdomain(‘LayerSlider’, false, LS_PLUGIN_SLUG . ‘/locales/’ );
    enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php
    Line 234: load_plugin_textdomain( ‘avia_framework’, false, get_template_directory() . ‘/lang’);
    enfold/functions.php
    Line 246: $lang = apply_filters(‘ava_theme_textdomain_path’, get_template_directory() . ‘/lang’);
    Line 247: load_theme_textdomain(‘avia_framework’, $lang);
    Alles befindet sich im Theme und ich bin mir sicher, dass der LayerSlider der ja eine eigene Sprachdatei hat (locales) und auch eine andere textdomain (LayerSlider) so nicht funktioniert. Aber auch das framework in dem zum Beispiel die Strings für die Theme Optionen in der Datei
    enfold/includes/admin/register-admin-options.php sind, werden nicht erkannt. Ihr kennt Euer framework besser und könnt mir bestimmt sagen an welcher Schraube zu drehen ist.
    Ich habe in dieser Datei auch zwischen Line 1105 und 1192 einige Strings zusätzlich eingefügt um die Vorschau ganz übersetzbar zu machen.

    Gerne lese ich von Euch
    Regards
    Biggy

    #377699

    Hi!

    Look for line 37 in /includes/loop-index.php.

    Cheers!
    Josue

Viewing 30 results - 14,761 through 14,790 (of 16,896 total)